php는 php.ini로 지정된 확장을로드하지 않습니다.PHP는 php.ini에 지정된 확장을로드하지 않지만 dl()로로드합니다.
php -v
은 오류나 경고를주지 않습니다.
php -i | grep extension_dir
은 extension_dir이 확장 파일이있는 위치로 설정되었지만 확장자로 표시되지 않음을 보여줍니다. php -m
그러나 php -r 'dl("apc.so"); phpinfo();' | grep apc
을 실행하면 모듈이 dl()
기능과 함께 normaly로드됩니다.
소스에서 PHP 5.3.5를 설치했습니다.
로 설정'--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
인쇄 :
Linux ip-*-*-*-* 2.6.34.7-56.40.amzn1.x86_64 #1 SMP Fri Oct 22 18:48:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
PHP는 nginx 0.9.5에서 php-fpm
까지 실행됩니다.
은'다시 시작 nginx' 스크립트는 신뢰할 수 없습니다. 서버를 종료하고 다시 시작하십시오. – mario