Problem with environment variables

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

greg
New php-forum User
New php-forum User
Posts: 11
Joined: Wed Nov 13, 2002 6:56 am

Problem with environment variables

Postby greg » Wed Nov 13, 2002 7:04 am

I installed PHP 4.2.3 on a Win2000k server with IIS 5.0. The installation did not complete saying that I needed to finish configuring PHP manually because of a missing OCX. I followed the install.txt in the PHP directory.

PHP scripts seem to work mostly. I can assign variables, read from files, etc.

But, when I try to use an envronment variable, REQUEST_METHOD, I get an undefined variable error.

I can run phpinfo() and REQUEST_METHOD is listed and has a value. I compared the phpinfo() otput to output from a webhost that my script works on and found nothing that would seem to cause the problem.

Any clues?

greg
New php-forum User
New php-forum User
Posts: 11
Joined: Wed Nov 13, 2002 6:56 am

Never mind!

Postby greg » Wed Nov 13, 2002 9:15 am

Sorry, :oops:

I found the answer in another part of this forum.


Amazing now that I know what the answer is, I can find it everywhere. But when I was searching all over the net, I couldn't find it because I didn't realize what the problem truely was.

User avatar
imroue
New php-forum User
New php-forum User
Posts: 62
Joined: Fri Oct 11, 2002 6:53 am
Contact:

Re: Never mind!

Postby imroue » Tue Nov 19, 2002 7:10 pm

greg wrote:Sorry, :oops:

I found the answer in another part of this forum.


Amazing now that I know what the answer is, I can find it everywhere. But when I was searching all over the net, I couldn't find it because I didn't realize what the problem truely was.


Could you share the answer?
:D :D


Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 2 guests