Re: [PHP] Help needed with php.ini

2011-06-06 Thread Joe Francis
I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or
other CGIServer, and another is for CLI.

Can you confirm that you edited  a right config file?

On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote:

 On 05-06-2011, at 10:31, Adam Tong adam.to...@gmail.com wrote:

  Hi,
 
  I can't set correctly the error display and reporting properties. I
  don't know what i'm doing wrong.
 
  Here is the section that i modified in php.ini:
  -
  display_errors = On
  ;   Default Value: On
  ;   Development Value: On
  ;   Production Value: Off
 
  display_startup_errors = On
  ;   Default Value: Off
  ;   Development Value: On
  ;   Production Value: Off
 
  error_reporting = E_ALL | E_STRICT
  ;   Default Value: E_ALL  ~E_NOTICE
  ;   Development Value: E_ALL | E_STRICT
  ;   Production Value: E_ALL  ~E_DEPRECATED
  
 
  And here is the output of phpinfo():
  -
  display_errorsOffOff
  display_startup_errorsOffOff
  doc_rootno valueno value
  docref_extno valueno value
  docref_rootno valueno value
  enable_dlOffOff
  error_append_stringno valueno value
  error_logno valueno value
  error_prepend_stringno valueno value
  error_reporting22527 22527
  -
 
  I'm using a default installation (using yum) of php on Fedora14. This
  is my development environment, and want to see all the errors on
  standard output.
 
  Thank you
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 


 Have you modified the example values instead of the ones mid-way php.ini?
 If so, scroll down to check. The latest settings should override the
 previous one.

 Have you restarted apache with service httpd restart or /etc/init.d/httpd
 restart? (or apachectl restart)

 In your php script or htaccess file, do you override those values?

 Sent from my iPhone 5 Beta [Confidential use only]
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
Powered By Francis™.
Welcome to my website: http://www.francistm.com
Rewrite to francis...@gmail.com please.


Re: [PHP] Help needed with php.ini

2011-06-05 Thread Richard Quadling
 

 And here is the output of phpinfo():
 -

In the same phpinfo() output, what is the path/location of the php.ini
file you are using?

Loaded Configuration File   D:\PHP\INI\php-cgi-fcgi.ini

for example.


-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Help needed with php.ini

2011-06-05 Thread Camilo Sperberg
On 05-06-2011, at 10:31, Adam Tong adam.to...@gmail.com wrote:

 Hi,
 
 I can't set correctly the error display and reporting properties. I
 don't know what i'm doing wrong.
 
 Here is the section that i modified in php.ini:
 -
 display_errors = On
 ;   Default Value: On
 ;   Development Value: On
 ;   Production Value: Off
 
 display_startup_errors = On
 ;   Default Value: Off
 ;   Development Value: On
 ;   Production Value: Off
 
 error_reporting = E_ALL | E_STRICT
 ;   Default Value: E_ALL  ~E_NOTICE
 ;   Development Value: E_ALL | E_STRICT
 ;   Production Value: E_ALL  ~E_DEPRECATED
 
 
 And here is the output of phpinfo():
 -
 display_errorsOffOff
 display_startup_errorsOffOff
 doc_rootno valueno value
 docref_extno valueno value
 docref_rootno valueno value
 enable_dlOffOff
 error_append_stringno valueno value
 error_logno valueno value
 error_prepend_stringno valueno value
 error_reporting2252722527
 -
 
 I'm using a default installation (using yum) of php on Fedora14. This
 is my development environment, and want to see all the errors on
 standard output.
 
 Thank you
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


Have you modified the example values instead of the ones mid-way php.ini? If 
so, scroll down to check. The latest settings should override the previous one.

Have you restarted apache with service httpd restart or /etc/init.d/httpd 
restart? (or apachectl restart)

In your php script or htaccess file, do you override those values?

Sent from my iPhone 5 Beta [Confidential use only]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php