Forum Moderators: phranque

Message Too Old, No Replies

php.ini config file cant be updated

Failed to chamge parameters in php.ini config file

         

kennethckk

9:33 am on Jun 28, 2004 (gmt 0)

10+ Year Member



Hi all,

I've just installed the phpNuke on my Apache2/MySQL/php platform that runs on Win XP prof. At this point, everything seems to be okey except sending out mail. It requires the change of parameter for php.ini config file. Unfortunately, I couldnt make any changes with this php.ini as I believe php still using the default one(precompiled config), I guess!

I already put both php.ini & php4ts.dll under c:/Windows directory. I even tried to put this php.ini under Apache root directory but this doesnt help at all. To my best understanding, these two places will be searched by php during start up to see if any changes in the config file.

Could someone help to advise why the php.ini cant be recognized by php under Windows directory? If not this place, which dirctory should I place to?

Thanks in advance.

Rgds/Kennethckk

gergoe

9:56 am on Jun 28, 2004 (gmt 0)

10+ Year Member



It should be in the c:\windows or the c:\winnt directory, depending on the value of the SystemRoot environmental value (type set in the command prompt window, and you'll see which one is used)
By the way, I suggest you to check the PHP Forum [webmasterworld.com], the folks over there might give you some more hints.

lemat

7:00 am on Jun 29, 2004 (gmt 0)

10+ Year Member



the current location of php.ini can be determined by running phpinfo() in php script.