Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configuring php5 on apache2

Status
Not open for further replies.

keak

Programmer
Sep 12, 2005
247
0
0
CA
I followed the instructions outlined at and I am not sure what I am doing wrong. I was wondering if any of the people here had similar experiences.

I am using
PHP 5.0.5 (cli) (built: Oct 7 2005 16:30:51)
Apache/2.0.40
Readhat Linux 9


I issued the make command with "--with-apxs2=/usr/local/apache2/bin/apxs " (it gave errors with --with-mysql)
and after "make install", the libphp5.so was created in /usr/local/apache2/modules (but not in /etc/httpd/modules)

I had to manually this module to /etc/httpd/modules, and
after editing the httpd.conf file with
"LoadModule php5_module modules/libphp5.so", I restarted my server and got the following error message:

Starting httpd: httpd: module "/usr/share/php-5.0.5/sapi/apache2handler/mod_php5.c" is not compatible with this version of Apache.
Please contact the vendor for the correct version.
[FAILED]

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top