PDA

View Full Version : php.ini


wml
05-11-2010, 10:50 PM
If I put error_reporting(E_ALL) in my code, I got like ->

Notice: $var is an undefined variable

But if I put error_display=E_ALL in the php.ini, nothing appear !

I have specified the php.ini location in the servlet

<servlet>
<servlet-name>Quercus Servlet</servlet-name>
<servlet-class>com.caucho.quercus.servlet.QuercusServlet</servlet-class>
<init-param>
<param-name>ini-file</param-name>
<param-value>/WEB-INF/php.ini</param-value>
</init-param>
</servlet>


and the following is working

session.auto_start=on

So what is wrong with my php.ini file!

sblommers
05-12-2010, 08:44 AM
Just a wild guess but maybe you should just use:
ini_set("error_reporting","E_ALL");
;)

Sebastiaan

emil
05-12-2010, 05:32 PM
Hi,

Looks like a bug to me. I've filed it here:

http://bugs.caucho.com/view.php?id=4037

Thanks,
Emil

wml
05-12-2010, 06:16 PM
ini_set("error_reporting",E_ALL);

has no effect !

nam
05-13-2010, 07:17 AM
Fixed for 4.0.7.