문제

How do I change the Debug build to On in lamp stack environment?

phpinfo screen shot

도움이 되었습니까?

해결책

As i said in the comments you need to enable display_errors instead of Debug build.

Goto your php.ini

From terminal:

sudo gedit /etc/php5/apache2/php.ini

Search for the option display_errors (not the already commented option, means jump to second search result)

Change from Off to On

display_errors = On

Also enable these options as well as you may need in future

display_startup_errors = On
log_errors = On
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top