Forum Moderators: coopster

Message Too Old, No Replies

php.ini not recognized by Win/Apache

Failed to change parameters in php.ini config file

         

kennethckk

10:32 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

coopster

9:58 am on Jun 29, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If PHP is working, I'm guessing your
php.ini
file is being located and processed (on your particular installation, it should be located in the
C:\WINDOWS
directory). Are you sure you aren't setting one or more of the directives incorrectly? Particularly your SMTP server info? A related thread discusses PHP4: Configuring one's system to use the mail() function [webmasterworld.com]