This page assumes that the reader has a working PHP setup (either installed using some distribution’s package manager or manually) and lists the dependencies required to use Plop. In case you compiled PHP yourself, you may need to recompile it to include additional extensions (see the list of required PHP dependencies in the section entitled Getting started for more information).
Plop is known to work with most PHP versions. Plop should run correctly on both Windows (XP or later) and Linux (most distros). The code is tested using an automated process on Windows Vista (64 bits), Windows 7 (64 bits), Windows 8.1 (64 bits), Debian Stable (64 bits) and CentOS 6 (64 bits), as reflected by our Continuous Integration server.
To use Plop in your project, you need PHP 5.3.3 or later, compiled with the following extensions:
If you want to use Plop from a PHP ARchive (phar), the following additional extensions are required:
You can check whether your PHP installation satisfies all the prerequisites listed above by running the following commands, which will display information about the PHP version and list all currently enabled extensions:
me@home:~$ php -v # Check PHP version PHP 5.4.33 (cli) (built: Sep 25 2014 23:41:02) (DEBUG) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies me@home:~$ php -m # Check available extensions [PHP Modules] bcmath bz2 calendar Core ctype date dom ereg gd gettext gmp iconv intl json libxml mbstring mysql mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer xdebug xml xmlreader xmlwriter xsl zip zlib
You may also consult the output of phpinfo() for the same purpose.