Wierd problem installing.

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Stacks
Forum Newbie
Posts: 24
Joined: Thu Jun 05, 2008 7:52 pm

Wierd problem installing.

Post by Stacks »

Hi everyone,

I have a question maybe someone can help me out with. My PHP installation does work but there's one thing left bugging me. I installed the newest PHP to C:\php and put C:\php in my system path variable. I did everything the installation file said for installing it on IIS. I also created the system variable PHPRC to point to my php.ini file. When I load up my test page with phpinfo() what i see was strange.

Under "Configuration file (php.ini)" path it's value is C:\WINDOWS.

Does anyone know why it says this? I only have 1 php.ini file on my whole system and it's in C:\php.

Thanks.
User avatar
vargadanis
Forum Contributor
Posts: 158
Joined: Sun Jun 01, 2008 3:48 am
Contact:

Re: Wierd problem installing.

Post by vargadanis »

http://php.net/configuration

It will give you a list of pathes where the php.ini file is being searched by default. Just a remark: for dev and local testing, I would just use XAMPP. A lot easier to set up and has Apache not IIS with it. IIS is.... let's not talk about it
Post Reply