Dear all,
I have installed httpd-2.2.17 on my fedora 13 as following:
./configure --prefix=/usr/local/apache --enable-so
make && make install
php-5.3.6 with --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
make && make install
cp php.ini-production /usr/local/lib/php.ini
add the following into httpd.conf
LoadModule php5_module modules/libphp5.so
<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>
When type "apachectl start" in command line, the browse can display the fedora test page with URL:
http://localhost/, but it can not parse phpinfo() in htdocs directory.
When type "/usr/locale/apache/bin/apachectl start" in command line, error occured as below:
httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf; cannot load /usr/local/apache/htdocs/modules/libphp5.so into server: /usr/local/apache/htdocs/modules/libphp5.so:cannot open shared object file:No such file or directory.
It seemed the libphp5.so hasn't been loaded, right?
Could anyone help me? THANKS.