You might want to look for error (if any) in make and make install during php installation. php module should be complied and placed oin apache modules folder.
Thanks,
Atul
On 5/6/08, Mark Sargent <coolboarderguy@gmail.com> wrote:
Hi All,
I have just tried installing apache and php and get the following
error when starting apache,
/usr/local/apache2/bin/apachectl starthttpd: Syntax error on line 54
of /usr/local/apache2/conf/httpd.conf: Cannot load
/usr/local/apache2/modules/libphp5.so into server:
/usr/local/apache2/modules/libphp5.so: cannot open shared object file:
No such file or directory
I was following this page,
http://au2.php.net/manual/en/install.unix.apache2.php
and doubled checked my commands,
Apache:
./configure --enable-so
make
make install
but this is what is in the modules directory,
ls /usr/local/apache2/modules/
httpd.exp
PHP:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql/
make
make install
Can anyone steer me in the right direction? I am using Ubuntu but
wanted to do a source install.
Cheers
Mark Sargent
--
"Tell me and I'll forget, show me and I may not remember, involve me,
and I'll understand."
Native American Proverb
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org