Hi for my research, I am modifying the c code that php does (and not the code written with php, but the one that php actually does). I want to somehow compile it and make it work with apache. How to do it?
The manual is your friend:
http://www.php.net/manual/en/install.unix.apache2.php
./configure --with-apxs2=/usr/local/apache2/bin/apxs --other-options make make install
Take the archive from the PHP source and release it.
Make sure you can compile it. See the INSTALL file from tarball. The basic process is typical:
./configure --with-some-options... make make install
, , , - Linux.
, .