Apache 2.4 Php5.4 Zend 加载器

Posted

技术标签:

【中文标题】Apache 2.4 Php5.4 Zend 加载器【英文标题】:Apache 2.4 Php5.4 Zend Loader 【发布时间】:2014-02-05 00:32:35 【问题描述】:

我一直在运行一个使用 Apache 2.2、php5.2 和 mysql 的开发站点,其中部分使用了 ZendGuard 混淆的软件(版本未知)。实际的在线托管视线正在停止 PHP5.2 强制升级到 PHP5.4。我最终卸载了 Apache 和 PHP。我可以运行 Apache 2.4;但是,如果我理解正确的话,ZendGuard 需要 PHP5.4 的非线程安全版本。我不知道如何在我的 Windows 电脑上安装 PHP5.4 nts 以使用 Apache2.4。

【问题讨论】:

【参考方案1】:

Here's the link to the non thread safe windows pre-compiled version of PHP

对于 Windows 上的 Apache,建议使用 VC11 Apache Lounge 构建:here

您需要在 Apache 的 httpd.conf 中添加以下行:

LoadModule php5_module "c:/php/php5apache2_2.dll" #or wherever you put it
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php" #your path

我对 ZendGuard 不太熟悉,但是一旦你为 php 配置了 Apache 服务器,我相信这只是一个简单的配置。

【讨论】:

以上是关于Apache 2.4 Php5.4 Zend 加载器的主要内容,如果未能解决你的问题,请参考以下文章

《Zend studio 12 + UPUPW+PHP5.4开发平台配置过程》

phpcms站点部署

PHP 5.4.31 + Zend Guard 配置问题

Apache 不会加载 Zend Guard Loader

php5apache2_2.dll被appaceh httpd.conf加载出错 The requested operation has failed

PHP build notes - WARNING: This bison version is not supported for regeneration of the Zend/PHP pars