PHP 5.3 Windows APC 配置使所有 php 文件崩溃
我已经使用 php 5.3 在 Windows 上安装了 apc,
它可以正常工作,无需使用任何配置设置。一旦我将任何 apc 设置放入配置文件中,所有 php 文件都会停止工作。
例如 apc.shm 等
apache 日志中没有完整内容
编辑:
我正在运行 64 位 Windows 7 盒子。
PHP 扩展:
;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_exif.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
;extension=php_phar.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll
extension=php_apc.dll
I have installed apc on windows using php 5.3
It works fine without using any config settings. As soon as i put any apc settigns in the config file all php files stop working.
For example apc.shm etc etc
There are no entires in the apache logs
EDIT:
I am running a 64 bit, windows 7 box.
PHP extensions:
;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_exif.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
;extension=php_phar.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll
extension=php_apc.dll
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可以通过提供更多的系统配置详细信息(例如 32/64 位以及 PHP 是否作为 fast-cgi 运行)来提供帮助。
编辑:抱歉,我完全错过了主题标题中的 Windows。仍然站着多一点信息将有助于找到原因。
PS:您是否加载了更多可能发生冲突的扩展?
--
您可以考虑检查 PHP.ini,因为它看起来最有可能是问题的原因,请参阅:
http://www.devcomments.com/q425690/Installing-PHP-APC-on-Windows-Apache
http://www.rawseo.com/news/2009/06/09/how-to-install -替代-php-cache/
It would help by providing a little more system configuration details such as 32/64 bit and if PHP is running as fast-cgi or not.
Edit: Sorry I totally missed Windows in the topic title. Still stands a little more information would help finding the cause.
PS: Are you loading more extensions which can conflict?
--
You might consider checking the PHP.ini as it looks most like the cause of your problems, see:
http://www.devcomments.com/q425690/Installing-PHP-APC-on-Windows-Apache
http://www.rawseo.com/news/2009/06/09/how-to-install-alternative-php-cache/