PHP Warning: PHP Startup: unable to load dynamic library


解决办法:


# vi /usr/local/php/etc/php.ini  

extension_dir="/usr/lib/php/modules"        (原为extension_dir="./" )

:wq