vladgh/VladGh.com-LEMP — Issue #17: Should mention about PEAR
Author: jonjamz
Created: 2012-03-09 23:53:26+00:00
State: open

When I attempted to install PEAR mail the usual way (sudo pear install mail) the 'pear' command was not found. I had to use sudo /opt/php5/bin/pear install mail. When I did that, it installed fine, but I got the following messages:

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php5/lib/php/extensions/no-debug-non-zts-20090626/gd.so' - /opt/php5/lib/php/extensions/no-debug-non-zts-20090626/gd.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 '/opt/php5/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so' - /opt/php5/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.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 '/opt/php5/lib/php/extensions/no-debug-non-zts-20090626/mysql.so' - /opt/php5/lib/php/extensions/no-debug-non-zts-20090626/mysql.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 '/opt/php5/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so' - /opt/php5/lib/php/extensions/no-debug-non-zts-20090626/mysqli.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 '/opt/php5/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' - /opt/php5/lib/php/extensions/no-debug-non-zts-20090626/pdo.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 '/opt/php5/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /opt/php5/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

I'm not sure if this is normal...everything seems to be OK. I've never encountered this issue on my own server installs. If you know of a way to fix these messages, please let me know! And I think it would be great to fix the PEAR path issue...