Found a problem/fix with php.ini?

From: Date: Wed, 08 Jan 2003 01:02:28 +0000
Subject: Found a problem/fix with php.ini?
Groups: php.windows 
Request: Send a blank email to php-windows+get-17717@lists.php.net to get a copy of this message
I got all the smtp_email stuff, trying to get my mail() function working. Well I got a test file, somone told me how to test it from a DOS box (thanks!), ran it and it reported a parsing error in php.ini on line 65. Now, I used the php.ini.recommended file when I setup/installed my PHP 4.3.0. In that file on line 65 is this line: error_reporting = E_ALL [Code Cleanliness, Security(?)] It's at the top, kind of a bunch of comments explaining stuff. When I looked at it the only thing I saw different between it and the others was the (?) in the little comment. I don't know squat about PHP, but I think that was causing all of my problems, PHP would read down to that point and then stop. I changed it to: error_reporting = E_ALL ; [Code Cleanliness, Security(?)] Wrapped the comment to the next line and commented the comment out. Wa-la, now my email works...without even using the SMTP stuff...it works also however. My error_log gets written to disk now...all my problems caused from this. Just glad it's fixed and hope it helps someone else solve their problems. ================================ Rad Craig

« previous php.windows (#17717) next »