【问题标题】:Adding PHP 5.6.12 to Ispconfig 3 (with Apache) on Debian 7在 Debian 7 上将 PHP 5.6.12 添加到 Ispconfig 3(使用 Apache)
【发布时间】:2015-09-02 17:20:16
【问题描述】:

我有 Ispconfig 3 的标准设置:

https://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3

服务器是最新的。一切正常。

我正在尝试按照本指南添加 PHP 5.6.12:

https://www.howtoforge.com/how-to-build-php-5.6-fpm-fastcgi-with-zend-opcache-and-apcu-for-ispconfig-3-on-debian-7-wheezy

在开始 fpm 之前一切正常:

/etc/init.d/php-5.6.12-fpm start

Starting php-fpm [02-Sep-2015 18:16:07] ERROR: [/opt/php-5.6.12/etc/php-fpm.conf:540] value is NULL for a ZEND_INI_PARSER_ENTRY
[02-Sep-2015 18:16:07] ERROR: failed to load configuration file '/opt/php-5.6.12/etc/php-fpm.conf'
[02-Sep-2015 18:16:07] ERROR: FPM initialization failed
failed

问题是在 /opt/php-5.6.12/etc/php-fpm.conf 的末尾插入此行:

包括/opt/php-5.6.12/etc/pool.d/*.conf

如果我评论这一行,fpm 会启动,但 ISPconfig 中的新 PHP 版本不起作用。

我找到了这个解决方案:

serverfault.com/questions/547394/is-there-a-limit-setting-a-php-admin-value-in-php-fpm

并使用了这个修复:

github.com/DaveRandom/php-src/commit/9ad8e89d4f080626a92fc8817ab156c09b6b266a 并用它再次编译。结果一样。

有什么线索吗?请帮忙。

【问题讨论】:

标签: php apache debian ispconfig


【解决方案1】:

我今天也遇到了同样的问题,你需要一个=,紧跟在include之后

【讨论】:

  • 感谢您的回复。我们终于从 dotdeb 存储库升级了主要的 PHP 版本。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-24
  • 1970-01-01
  • 1970-01-01
  • 2019-09-15
  • 1970-01-01
  • 2019-05-14
相关资源
最近更新 更多