Php does not load extensions specified in php.ini
php -v does not give any errors or warnings
php -i | grep extension_dir shows that the extension_dir file indicates where the extension files are, but they do not appear in the list of extensions in php -m
However, the launch php -r 'dl("apc.so"); phpinfo();' | grep apcshows that the modules load normally using the function dl().
I installed php-5.3.5 from the source. Configured with
'--enable-fastcgi'
'--enable-fpm'
'--enable-mbstring'
'--enable-pdo'
'--enable-inline-optimization'
'--enable-sockets'
'--enable-zip'
'--enable-mbregex'
'--enable-xml'
'--enable-sysvsem'
'--enable-sysvshm'
'--enable-pcntl'
'--enable-ftp'
'--enable-soap'
'--enable-shmop'
'--disable-rpath'
'--disable-debug'
'--with-mcrypt'
'--with-zlib'
'--with-curl'
'--with-bz2'
'--with-mysql'
'--with-gettext'
'--with-gd'
'--with-pdo-mysql'
'--with-pcre-regex'
'--with-mhash'
'--with-pic'
'--with-zlib-dir'
'--with-ttf'
'--with-openssl'
'--with-png-dir'
'--with-libdir=lib64'
'--without-pdo-sqlite'
'--without-sqlite'
uname -a Fingerprints:
Linux ip-*-*-*-* 2.6.34.7-56.40.amzn1.x86_64
Php runs on nginx 0.9.5 via php-fpm
source
share