OK. I FINALLY figured this thing out thanks to Justin.
The PHPINIDIR= state needs to be in the HTTPD.CONF file, after you load the modules for PHP.
The PHPINIDIR= statement doesn't belong in the php.ini file.
NOW, phpinfo() reads the correct settings for me system
Thanks to all who...
Justin,
I went through that once before. After looking at a php.ini file in the C:\PHP directory, I see that is the same. Just for insurance, I copied the php.ini in the c:\WINNT and the c:\PHP directories.
Also, just to add to the mix, I ran the following:
C:\>php -v
PHP: Error parsing...
Justin,
Here is the PHPINIDIR:
PHPIniDir "C:/php"
httpd.conf:
LoadFile "c:/php/php4ts.dll"
LoadModule php4_module "c:/php/php4apache2.dll"
AddType application/x-httpd-php .php
The above DLL's are in the C:\php directory.
Thanks!
Mike
Justin,
Thanks for the suggestions. I failed to add in the portions of my PHP.INI file that I changed. Here is a view of my PHP.INI file:
[mail function]
; For Win32 only.
SMTP = 192.168.xxx.xxx
;(removed to protect the innocent)
smtp_port = 25
; For Win32 only.
sendmail_from =...
The only setting I know of is in the c:\winnt\php.ini file. Is there another?
Yes, I have tried to start/restart apache after making the changes.
Thanks!!
Mike
Hello,
I'm still learning PHP, and have run into a but of a problem.
I have setup Apache 2.x and PHP 4.x on a Windows 2000 server. I have an application that sends email to users after they have filled out a form.
The problem that I am seeing is that is errors when it tries to send mail...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.