milrak
(usa Ubuntu)
Enviado em 31/07/2012 - 02:23h
rai3mb escreveu:
Não é problema, é apenas um recurso de mostrar ou não os erros que por padrão vem desabilitado.
Procure no seu arquivo php.ini ( pode esta em /etc/php5/apache2/php.ini) a linha:
#display_errors = On
E retire o comentário '#' da frente da linha e salve o arquivo, lembrando que deve acessar o arquivo com poderes especiais
sudo nano /etc/php5/apache2/php.ini
ou
su # senha do root
nano /etc/php5/apache2/php.ini
Tem alguma coisa relacionado a essas linhas?
; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but
; it could be very dangerous in production environments. Depending on the code
; which is triggering the error, sensitive information could potentially leak
; out of your application such as database usernames and passwords or worse.
; It's recommended that errors be logged on production servers rather than
; having the errors sent to STDOUT.
; Possible Values:
; Off = Do not display any errors
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
; On or stdout = Display errors to STDOUT
; Default Value: On
; Development Value: On
; Production Value: Off
;
http://php.net/display-errors
display_errors = Off
; The display of errors which occur during PHP's startup sequence are handled
; separately from display_errors. PHP's default behavior is to suppress those
; errors from clients. Turning the display of startup errors on can be useful in
; debugging configuration problems. But, it's strongly recommended that you
; leave this setting off on production servers.
; Default Value: Off
; Development Value: On
; Production Value: Off
;
http://php.net/display-startup-errors
display_startup_errors = Off
--
Só foi o que eu achei com o "display_errors"