Page 1 of 1

Please help changes to PHP.ini

Posted: Tue Sep 19, 2006 8:03 am
by rtaylorhdc
Hi Guys,

My first post here sorry its one thats asking for help.

I am trying to make changes to my php.ini file, I am the administrator for the server and have full access to the file.

The changes I am trying to make are

Upload_Max_Filesize = 20M and some other changes.

I am running Win 2K Server, IIS5, PHP 5.1.6, and MySQL 5

My problem is I have made the changes and restarted the service for IIS I have even rebooted the server, when I run php info to see the changes they are still set to the defaults.

This is happening to any change I make in the php.ini

Should I be using a special file editor for php files or am I doing something wrong ?

Fingers crossed you will be able to help, and thanks in advance.

Rich

Posted: Tue Sep 19, 2006 8:16 am
by feyd
I would guess you aren't actually modifying the correct php.ini. When you run phpinfo() it lists where PHP loaded the ini from. Is this the ini you are editing?

Posted: Tue Sep 19, 2006 8:56 am
by rtaylorhdc
Thank you.

The location was set to c:\winnt

I have changed my php.ini in this location rebooted and this has resolved the problem.

Such a simple thing that caused so much headache.

Rich