Page 1 of 1

PhP and Apache 3

Posted: Sat Dec 14, 2002 12:39 am
by ncengineer
I am new to PHP. I have written a few simple PHP scripts. My server executes PHP code, but does not return variable values. The server is running Apache 3. I know the script is OK. What does my server need?

PHP and Apache 3

Posted: Sat Dec 14, 2002 7:43 am
by ncengineer
I should have said Apache 2 and PHP 4.2.3 instead of Apache 3

Posted: Sat Dec 14, 2002 9:03 am
by Johnm
Well, let's see some of your code and tell us if the registered_globals is on or off in your php.ini file.

John M

Posted: Sat Dec 14, 2002 2:32 pm
by ncengineer
You hit it. The php.ini file was configured properly, but was in the wrong directory. Once it woas moved to /cgi-bin, it worked fine....Thanks a bunch.

Posted: Sun Dec 15, 2002 8:11 am
by Johnm
The location of the php.ini was my next question.
Glad that things worked out for ya.


John M