Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Latest commit

 

History

History
90 lines (77 loc) · 1.02 KB

php.markdown

File metadata and controls

90 lines (77 loc) · 1.02 KB
layout title icon tagline
default
PHP
php01
Building PHP Projects

The virtual machine is pre-installed with PHP 5.4 (Zend Engine) and includes the following extensions:

  • bcmath
  • bz2
  • calendar
  • Core
  • curl
  • ctype
  • date
  • dba
  • dom
  • ereg
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • hash
  • iconv
  • intl
  • json
  • libxml
  • mbstring
  • mcrypt
  • mhash
  • mysql
  • openssl
  • pcntl
  • pcre
  • pgsql
  • Phar
  • posix
  • readline
  • Reflection
  • session
  • shmop
  • SimpleXML
  • soap
  • sockets
  • SPL
  • sqlite
  • standard
  • sysvmsg
  • sysvsem
  • sysvshm
  • tidy
  • tokenizer
  • wddx
  • xml
  • xmlreader
  • xmlwriter
  • zip
  • zlib

Dependencies

Example using pear:

sudo pear channel-discover pear.amazonwebservices.com
sudo pear install aws/sdk

Example using composer:

composer install

TODO: pyrus is not yet installed. If you would like support for pyrus / pear2 please let us know.

Unit Test

By default, your PHP project is configured to execute tests with PHP Unit:

phpunit --coverage-text .