如何修改php源代码并重新编译呢?

问题描述:

您好,我的研究,我修改的c代码,使php(而不是用php写的代码,但实际上使php)。我想要一些编译它,并使其与apache工作..我如何做到这一点?

Hi for my research, i modify the c code that makes the php ( not the code that is written with php but that which actually makes php ). I want some way of compiling it and making it work with apache.. How do i do that?

朋友:

http://www.php.net/manual/en/install.unix.apache2.php

./configure --with-apxs2=/usr/local/apache2/bin/apxs --other-options
make
make install