出于我的研究,我修改了生成php的c代码(不是用php编写的代码,而是实际生成php的代码)。我想要一些编译它的方法,并使它与apache一起工作。我该怎么做?
发布于 2010-06-23 07:56:12
手册是你的朋友:
http://www.php.net/manual/en/install.unix.apache2.php
./configure --with-apxs2=/usr/local/apache2/bin/apxs --other-options
make
make install发布于 2010-06-23 07:54:24
抓取PHP源代码的tarball文件,并将其解压。
确保你可以编译它。请参阅tarball中的安装文件。基本过程是典型的:
./configure --with-some-options...
make
make install如果您曾经在linux上通过源代码编译过软件,那么您可能对此很熟悉。
对源代码进行任何您想要的更改。
使用相同的步骤再次编译。
https://stackoverflow.com/questions/3097991
复制相似问题