|
这是按照http://www.php.net/manual/en/install.apache2.php安装的,
编译并安装apache2
./configure --enable-so
make
make install
编译并安装php4
./configure --with-apx2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/www/mysql-standard-4.1.0-alpha-pc-linux-i686 --disable-cgi
make
make install
cp php.ini-dist /usr/local/lib/php.ini
都没有报错, 但是无论在哪儿,我都没有找到libphp4.so,
所以文章中安装文档中提天的
14. Edit your httpd.conf to load the PHP module. The path on the right hand
side of the LoadModule statement must point to the path of the PHP
module on your system. The make install from above may have already
added this for you, but be sure to check.
For PHP 4:
LoadModule php4_module libexec/libphp4.so
For PHP 5:
LoadModule php5_module libexec/libphp5.so
我就没有办法加进去,后面步骤也一样, 所以我的php怎么也没办法加载进去, 不知道是否是php-4.3.4RC1对apache2有另外的设置????????? |
|