Skip to content

Instantly share code, notes, and snippets.

@lukearmstrong
Created July 3, 2012 13:54
Show Gist options
  • Save lukearmstrong/3039824 to your computer and use it in GitHub Desktop.
Save lukearmstrong/3039824 to your computer and use it in GitHub Desktop.
Multiple versions of PHP make me a sad panda
~ $ php.54 installer.php dev
phpDocumentor installer for manual installations
> Downloading development application from Github
> Extracting application
> Preparing dependencies
Composer (http://www.getcomposer.org) is not installed, downloading temporary version for installation
> Downloading Composer installer to /tmp
> Installing composer to /tmp
Error: Unable to install composer itself; Composer returned: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/curl.so' - /usr/lib64/php/modules/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/fileinfo.so' - /usr/lib64/php/modules/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/phar.so' - /usr/lib64/php/modules/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pspell.so' - /usr/lib64/php/modules/pspell.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/wddx.so' - /usr/lib64/php/modules/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /tmp/installer on line 311
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /tmp/installer on line 311
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The suhosin.executor.include.whitelist setting is incorrect.
Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):
suhosin.executor.include.whitelist = phar
The phar extension is missing.
Install it or recompile php without --disable-phar
Your PHP (5.2.17) is too old, you must upgrade to PHP 5.3.2 or higher.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment