Forum Moderators: bakedjake

Message Too Old, No Replies

Apache using the wrong PHP

Getting the LAMP stack installed

         

timster

2:58 pm on Dec 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry for this newbie question -- I've been declared the Linux expert at my organization after being spotted with the RedHat book on my desk. I mostly do Mac OS X Unix.

After installing Linux on a new machine, the default PHP (4.3.4) wouldn't talk to MySQL. So I installed the latest PHP (from source). That PHP (4.3.9) talks to MySQL fine, but Apache is still using the older PHP.

(When I load a PHP page that talks to MySQL from a web browser, it fails. When I load it in a terminal, it succeeds.)

The Apache is version 2, and I'm unfamiliar with that, too.

Any help is appreciated -- I just need a working LAMP stack.

timster

9:08 pm on Dec 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Never mind on this -- I gave up and am doing a full reinstall of Linux.