Quick php.ini question...

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
cjsa
-


Joined: 27 Jun 2004
Posts: 12
Location: Halifax, NS

PostPosted: Wed Jun 30, 2004 6:12 pm    Post subject: Quick php.ini question... Reply with quote

Does anyone know why the Abyss server reads the php.ini file in the c:\program files\php folder & not the one in the c:\windows folder?

My mail form kept giving me the error:

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in D:\serverfolder

It worked great on the Apache server but when I installed Abyss it gave that error. After 3 days, today I finally figured I'd edit the c:\program files\php\php.ini file and wala it works like a charm.
_________________
Thanks in advance,
cjsa
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Wed Jun 30, 2004 7:56 pm    Post subject: Reply with quote

If you delete the php.ini file in the C:\PHP directory, it will most likely read from the one in the Windows Directory.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
cjsa
-


Joined: 27 Jun 2004
Posts: 12
Location: Halifax, NS

PostPosted: Wed Jun 30, 2004 11:31 pm    Post subject: Reply with quote

Nope, I renamed the php.ini file to php.bak then when I tried to access a php page it would error saying that the page could not be found.
_________________
Thanks in advance,
cjsa
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Thu Jul 01, 2004 12:00 am    Post subject: Reply with quote

Then all I can guess is reinstall PHP. Then again, it doesn't look like it is causing much of a problem for you anyway.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
cjsa
-


Joined: 27 Jun 2004
Posts: 12
Location: Halifax, NS

PostPosted: Thu Jul 01, 2004 1:18 am    Post subject: Reply with quote

Yes it's running great now. Thought I'd see if anyone knew why it was looking there. And it might help someonelse scanning this scetion.

Thanks for you input.
_________________
Thanks in advance,
cjsa
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Jul 01, 2004 2:05 pm    Post subject: Reply with quote

cjsa,

Abyss doesn't read php.ini file. This file is read by PHP itself so all depends on the PHP release you're using and how it was configured (at configuration time.)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group