php.ini config

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
kennethckk
Forum Newbie
Posts: 2
Joined: Mon Jun 28, 2004 4:03 am

php.ini config

Post by kennethckk »

Hi all,

I've just installed the phpNuke on my Apache/MySQL/php platform that runs on Win XP prof. At this point, everything seems to be okey except sending out mail. It requies 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

did you restart the apache service?
kennethckk
Forum Newbie
Posts: 2
Joined: Mon Jun 28, 2004 4:03 am

Post by kennethckk »

feyd wrote:did you restart the apache service?

Hi Feyd,

Yes, I did. Fyi, I even removed the php.ini out from Windows/Apahe directories. The phpNuke is still working. That explains the php.ini config file seems to be ignored by Win/Apache ( I cant see any changes in values through the use of phpinfo() test script no matter what I made changes with php.ini config file ).

Any idea about 'PHPRC' as I got to know from one of the web site that the initial cofig was loaded from here! ? That site doesnt tell the details of it.

Cheers/Kennethckk
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you may need to look at your system's PATH variable and see if php.ini is being loaded from somewhere other than the windows one. To get the path info, open an command prompt, type "path" and hit enter. Directories are seperated by semicolons. I'd bet that the php.ini isn't absolutely needed, as PHP knows the defaults of all the values to begin with.
Post Reply