|
我完全按照了论坛帖子+README安装,但出现了一个问题:说明文件有一段如下:
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
像是说在httpd.conf中加一句
LoadModule php5_module libexec/libphp5.so(我用php5,apache1.33,apache应该没问题了),
但/usr/local/apache/libexec下并没libphp5.so,因此报错,我想问的是,这句话一定要加吗?因为如果我不加,用apache测试时对
<?php echo "hello"; ?>的显示不是hello,而是显示<?php echo "hello"; ?>
安装时应该没有其他疏漏了,但无法生成libphp5.so,烦恼了几天,望高手指点,感激不尽! |
|