PDA

View Full Version : Dying here ... PHP/Apache source install


TurboFC3S
Wed 12th Dec '01, 7:12pm
I've read all the online PHP/Apache with mysql support docs I can find, including the one here - http://www.vbulletin.com/forum/showthread.php?s=&threadid=3292

But I can't seem to get anything working - I think I'm cursed. I have RedHat 7.2 and installed PHP 4.0.6, Apache 1.3.20, and MySQL (installed latest from downloaded rpm). Everything works, but the php rpm package that came with my distro has mysql support turned off? Stupid huh.

So I downloaded the PHP 4.1 source, did all the configure commands, did the make and make install, and everything worked. But it didn't install? I still have PHP 4.0.6 installed, php -v says so. So I uninstalled PHP 4.0.6 and did the make install ... now nothing at all is installed? So why isn't PHP 4.1 installing?

And when I try to do my make on Apache 1.3.22, I get an error saying that a bunch of php and zend .h files are missing? I presume it's looking for them in the src dir underneath where I untared Apache. So I found all of them in the php/src dir where I untarred, and move them to the Apache dir, but it still doesn't work.

Basically, I'm stumped ... I'm pulling my hair out!

eva2000
Wed 12th Dec '01, 9:26pm
when you installed PHP did you restart apache afterwards ?

TurboFC3S
Thu 13th Dec '01, 12:15am
Originally posted by eva2000
when you installed PHP did you restart apache afterwards ?

Yea, I got it working after messing with it long enough ...

Never got PHP 4.1 to install though, did it with 4.0.6

TurboFC3S
Thu 13th Dec '01, 6:44am
Acutally, I just found out one of my buddies is a RHCE - RedHat Certified Engineer. He's going to help me make sure the server is tight as a drum and purring like a kitten :D

By Monday I should be well schooled in the many facets of building a fast and secure Linux box.

I'll try and share what I learn with everybody else here.