[Solved]PHP upgrade results in warning
Posted: Tue May 21, 2013 7:18 am
Am upgrading all my sites to 1.11.6. (Using cPanel/Softaculous). Only problem is the warning I am getting:
Testing error_reporting to ensure E_DEPRECATED is disabled
E_DEPRECATED is enabled
Not sure how to disable E_DEPRECATED. I don't seem to have a php.ini file which I have read about - is it similar to the .htaccess file? First part of which is here:
AddHandler application/x-httpd-php53 .php
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# (this is important, so uncomment if your host permit)
#Options -Indexes
#ServerSignature Off
#Options +FollowSymLinks
# To prevend E_STRICT problems with PHP 5.3+ you can uncomment the following lines
# Note: These settings should only be enabled for production sites!
#php_flag display_startup_errors 0
#php_flag display_errors 0
#php_flag html_errors 0
#php_value docref_root 0
#php_value docref_ext 0
I have been changing the php version from 5.2 to 5.3 before doing each upgrade. Is this the way to go?
Thanks
Testing error_reporting to ensure E_DEPRECATED is disabled
E_DEPRECATED is enabled
Not sure how to disable E_DEPRECATED. I don't seem to have a php.ini file which I have read about - is it similar to the .htaccess file? First part of which is here:
AddHandler application/x-httpd-php53 .php
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# (this is important, so uncomment if your host permit)
#Options -Indexes
#ServerSignature Off
#Options +FollowSymLinks
# To prevend E_STRICT problems with PHP 5.3+ you can uncomment the following lines
# Note: These settings should only be enabled for production sites!
#php_flag display_startup_errors 0
#php_flag display_errors 0
#php_flag html_errors 0
#php_value docref_root 0
#php_value docref_ext 0
I have been changing the php version from 5.2 to 5.3 before doing each upgrade. Is this the way to go?
Thanks