PhP and Apache 3

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
ncengineer
Forum Newbie
Posts: 3
Joined: Sat Dec 14, 2002 12:39 am
Location: North Carolina
Contact:

PhP and Apache 3

Post 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?
ncengineer
Forum Newbie
Posts: 3
Joined: Sat Dec 14, 2002 12:39 am
Location: North Carolina
Contact:

PHP and Apache 3

Post by ncengineer »

I should have said Apache 2 and PHP 4.2.3 instead of Apache 3
User avatar
Johnm
Forum Contributor
Posts: 344
Joined: Mon May 13, 2002 12:05 pm
Location: Michigan, USA
Contact:

Post 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
ncengineer
Forum Newbie
Posts: 3
Joined: Sat Dec 14, 2002 12:39 am
Location: North Carolina
Contact:

Post 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.
User avatar
Johnm
Forum Contributor
Posts: 344
Joined: Mon May 13, 2002 12:05 pm
Location: Michigan, USA
Contact:

Post by Johnm »

The location of the php.ini was my next question.
Glad that things worked out for ya.


John M
Post Reply