Home  >  Article  >  php教程  >  windows Server 2003 下安装Apache+Php+Mysql+Zend Optimizer

windows Server 2003 下安装Apache+Php+Mysql+Zend Optimizer

WBOY
WBOYOriginal
2016-06-06 19:40:511463browse

Apache下载 php下载 在列表中选择自己需要的版本,nts代表非线程安全,VC9代表需要Visual C运行库, 对VC运行库,可以直接在Google里输入VC9运行库,从微软官方下载相应的运行库包,如这里是non thread safe、32位系统和VC9,就下 载Microsoft Visual C 2008

Apache下载
php下载
在列表中选择自己需要的版本,nts代表非线程安全,VC9代表需要Visual C++运行库,
对VC运行库,可以直接在Google里输入VC9运行库,从微软官方下载相应的运行库包,如这里是non thread safe、32位系统和VC9,就下
载Microsoft Visual C++ 2008 Redistributable Package (x86)。

VC9下载

Mysql下载

相应软件下载完后,配置apache、php、mysql,这里直接参考lys3062的blog。

zend optimizer下载
现在的zend optimizer已变更成zend guard loader
选择对应的PHP运行时环境版本的zend guard loader,这里选择runtime for php5.4。
配置zend guard loader
1.把zend guard loader压缩包里的ZendLoader.dll复制到php解压目录下的ext文件夹
2.配置php.ini文件
在末尾加上如下内容
[zend guard](注:方括号内的名字您可以自己取)
zend_extension=C:\web\PHP\ext\ZendLoader.dll(注:这里填写您当前php安装目录的路径)
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
3.重启apache web服务器
如果在phpinfo中看到如下内容(不同的版本可能会有所不同)
This program makes use of the Zend Scripting Language Engine:Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies
【注】这里的phpinfo是您在web服务器下写的php程序,如index.php
phpinfo();
?>

关于zend optimizer的安装配置您也可以查看相关文档!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn