linux上装php

 今天在linux上装apache2和php5
编译都通过
最后启动apache的时候却出了错:
Syntax error on line 232
of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into
server: /usr/local/apache2/modules/libphp5.so: undefined
symbol: sapi_module

搞了好半天,google了下,似乎也没其他人碰到这个问题。
突然想到make clean一下,重新编译安装php,然后居然就好了。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.