Re: php.ini set up problem
Paul Herber wrote:
> On Sun, 09 Mar 2008 02:38:08 GMT, mike <spammesillt@junkmail.com>
> wrote:
>
>
>>Hi,
>>
>>I am very new to PHP I am having php.ini problems. I am working in XP
>>with IIS and have php installed as an ISAPI. I am trying to change
>>values in my php environment like 'upload_tmp_dir',
>>'upload_max_filesize'. I have scanned my computer and the only php.ini
>>file on the machine is in C:\Program Files\PHP. If I change entries in
>>that php.ini file and run phpinfo() it appears that the values are not
>>getting updated. This is still true after I start and stop the IIS server.
>>
>>Also the phpinfo() reports my path to the php.ini file is c:\windows,
>>but there is no php.ini file in that directory. If I copy the php.ini
>>file to c:\windows and restart the server, then php breaks.
>
>
> What do you mean by 'php breaks'? What does/doesn't it do?
> The fact that putting the php.ini file in c:/windows affects operation
> certainly proves that that is the correct place for it. Put a standard
> php.ini file here then sort out problems from there.
>
>
>
Thanks
I put the standard file that came with the install there. So it should
not have been corrupted but who knows. So I agree it looks like it was
going through its list of places to find the php.ini file and found
somthing in the windows directory. I seem to have gotten PHP to now read
the php.ini file (atleast partially) in the windows directory by doing a
php uninstall and a reinstall of php. This time I put it in a C:\PHP
directory as opposed to the installer default c:\Program Files
directory. Seems like other people have it working in Program Files.
When it was not workin I would get a short message in my browser that
said somethin like it could not make the reference call, no error
number. Sorry, I can not remember the exact message.
Thanks
Mike
|