Hi All,
This is a bit off topic, but maybe someone can help:
I compiled php511 to /usr/local/php511.
If I compile without --disable-cgi, I get the /usr/local/php511/bin/php
printing content type and HTML formatted error messages. (<b>error in
line</b>: 232 and similar things)
If I compile with --disable-cgi, the built PHP looks OK to run php_qt
programs, it prints nothing more than I "echo" (no HTML formatting, no
HTTP content type), but I am unable to set "error_reporting" to E_ALL.
I tried this in my main.php code:
ini_set("error_reporting", "E_ALL");
Note, that I cannot find any php.ini in the /usr/local/php511 directories.
If I did "if($a == 1)" I got "Warning: uninitialized variable" with the
previous built (which printed HTML formatting). Now I don't get any
warning for $a there! :-(
Any ideas how to make no HTML version WITH full error reporting? :-)
Thanks in advance,
Ferenc
ps: Oh, I wanted to report build errors of the current revision, but I
just realized, that I did not run "phpize". I had runtime errors with
unresolved symbols on module load, so I went back to rev. 197, but I
forgot phpize! So I will try again tomorrow!
|