PHP 5.3x

Discussion in 'Troubleshooting' started by booforum, Mar 28, 2011.

  1. booforum

    booforum Member

    Joined:
    May 20, 2005
    Messages:
    186
    Are there issues with aMember and PHP 5.3X.
    I upgraded to PHP 5.3x and now I'm getting errors like the below:

    Deprecated: Function set_magic_quotes_runtime() is deprecated in [SITE]/config.inc.php on line 27

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at [SITE]/config.inc.php:27) in [SITE]/common.inc.php on line 1827

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [SITE]//config.inc.php:27) in /home/fansoftm/public_html/store/common.inc.php on line 1827
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You need to change error_reporting setting in php.ini
    use this value:
    Code:
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
    
  3. adrianogaleno

    adrianogaleno Member

    Joined:
    Jun 26, 2007
    Messages:
    34
    Hello, I don't have access to php.ini (our site is on a cloud environment). What settings do I have to change in the .htaccess to accomplish the same thing as you have suggested above?

    Thanks,
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    try this:
    php_value error_reporting none

Share This Page