Home  >  Article  >  Backend Development  >  我不知道如何将PHP安装到Apache1.3上?_PHP教程

我不知道如何将PHP安装到Apache1.3上?_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:53:00787browse

实际这是很简单的,小心跟着以下的步骤做:
在http://www.apache.org/dist/取得最新的Apache 1.3套件
解压(ungzip)及解包(untar)到Apache指定的路径,如/usr/local/src/apache-1.3。
编辑PHP,运行./configure --with-apache=//apache-1.3(路径为放置apache-1.3的路径)
输入"make",运行完之后,运行"make install",将需要的文件复制到Apache目录中。
跳到Apache的路径//apache-1.3/src,并编辑Configuration文件。在该文件的结尾处加入 AddModule modules/php3/libphp3.a字符串
运行'./Configure'后再运行'make'。
现在,你就有含PHP的httpd的二进制程序了。
 注意:你也可以运行Apache的./configure配置文件。参考你的Apache套件中的 README.configure文件。还有,看一下PHP套件中的INSTALL文件。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632424.htmlTechArticle实际这是很简单的,小心跟着以下的步骤做: 在http://www.apache.org/dist/取得最新的Apache 1.3套件 解压(ungzip)及解包(untar)到Apache指定的路径,如...
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