Discussion:
[PHP-INSTALL] why php ini not loading?
ahmed nabel
2008-06-19 16:02:12 UTC
Permalink
Hi

A phpinfo() gives this:

Configuration File (php.ini) Path /private/etc

Loaded Configuration File (none)

Why the php.ini is not loading?

The file is there already.

This is php 5.2.5 on Apache 2.2.8 and Mac OS X 10.5.2
_________________________________________________________________

All new Live Search at Live.com

http://clk.atdmt.com/UKM/go/msnnkmgl0010000006ukm/direct/01/
kranthi
2008-06-19 16:32:25 UTC
Permalink
<http://mail.google.com/>ensure that u have

PHPIniDir "path/to/php.ini"

in your apache configuration file(httpd.conf)

for further reference consult
this<http://www.askapache.com/php/custom-phpini-tips-and-tricks.html>article
in
askapache.com
Bass Bizri
2008-06-20 02:11:10 UTC
Permalink
Hi All,

I'm using PHP version 4 on Windows server 2003.
The rest of the code is working fine but once piece of the code sends an
email to an email address any time the code is being activated or run.
But the sending email function is not working and coming out with the
following error message:

Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini
or use ini_set() in G:\Inetpub\TESTPHPSITE\InportUser.php on line 1086


Any help greatly appreciated.

Regards,
Bass
kranthi
2008-06-20 03:49:40 UTC
Permalink
hi,

as the error says there is a problem in the php configuration
ensure that an smtp server is running on *localhost:25*
and moreover php does not support authentication. use
pear<http://pear.php.net/package/Mail>insted
the lines after *[mail function]* in php.ini correspond to mail function
settings

Continue reading on narkive:
Loading...