Page 1 of 1

Php.ini

Posted: Mon Sep 30, 2002 11:49 am
by Black-Artist
hiya people,

I have what seems a strange problem, I am using phpdev from Firepages as its easy to setup etc.

For some reason I cannot edit the php.ini which is in a folder called:

C:\WINXT thats where the instructions tell me it should be, I need to change the location of : session.save_path so I change it to c:/WINXT/sessions (I use Win Xp) but when I use phpinfo to view my php setup its still pointing to /tmp, but the php.ini file has taken my changes, I searched my computer for another php.ini file in the hope that another one was being read, but alas no, there is only one php.ini on my computer.

any help appreciated, btw the php.ini file isn't in readonly mode.

cheers

BA

Posted: Mon Sep 30, 2002 12:14 pm
by Johnm
Look at this section of phpinfo to locate the correct path to the php.ini file to ensure that you are editing the correct one:
Configuration File (php.ini) Path

Direwolf

Posted: Mon Sep 30, 2002 12:18 pm
by Black-Artist
phpinfo is tell me the path is c:\WINXT, which is the one I am editing. :(

I have restarted apache/mysql/ arghhhh

Posted: Mon Sep 30, 2002 12:39 pm
by twigletmac
The php.ini should be in your main windows folder, on NT 4 and 2000 this is C:\winnt, on 9.x and XP (at least on my system) it's in the C:\windows folder. You say that you are putting it in C:\winxt - is this your main windows folder, ie. where Windows stores all its bits? I appreciate you may have changed the folder's name from the default but I just wanted to check.

Mac

Posted: Mon Sep 30, 2002 12:52 pm
by Black-Artist
well I am using phpdev from firepages which is already setup, all I do is download the zip file, extract it to C:\ and its all preconfigured for my use on my local machine, the instructions for phpdev say php.ini should be in a folder called WINXT on an XP OS (winnt for anything other the XP), so everything appears in the correct place, just not working. :)

Posted: Mon Sep 30, 2002 1:02 pm
by Black-Artist
rightyooo I moved php.ini to c:\windows and hey presto its being read :), thanks very much, I was following the instructions properly, its just the instructions where wrong :)