Can't get PHP, MySQL, and Apache to work together!!!?

Breaker78

Senior member
Oct 9, 1999
293
0
0
This is on a linux 7.2

It had Apache and PHP 4.06.

I installed MySql, hoping I could make this work. Nada. So I re-installed PHP to version 4.2.1, and Apache, but it still doesn't work.

PHP is loaded as a module, but it looks like the module is still version 4.0.6. I tried recompiling PHP, but I can't seem to get this to work.

Any hints?
 

jcrowe

Banned
Jun 19, 2001
191
0
0
Check your apache config file to see if it allows for use of php module.

jcrowe
 

Breaker78

Senior member
Oct 9, 1999
293
0
0
Hey,

I finally got this thing working. Its been a pain in my side for the last 3 days, but in a nutshell, this is what I had to do:

reconfigure apache with the so directive

then configure php using the --with-apxs= instead of --with-apache=

do a make clean on php to get rid of errors

edit my httpd.conf file to load the correct module

change my php.ini to point to the right socket connection

I'm normally in windows admin, linux is a major pain! :)