WARNING! BPS has detected that Safe Mode is set to On in your php.ini file.

Home Forums BulletProof Security Free WARNING! BPS has detected that Safe Mode is set to On in your php.ini file.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1522
    DC_JOSE
    Member

    WARNING! BPS has detected that Safe Mode is set to On in your php.ini file.If you see errors that BPS was unable to automatically create the backup folders this is probably the reason why.To remove this message permanently click here. Hello I get this error. But looking at my host safe_mode is disabled http://img844.imageshack.us/img844/5442/capturacx.jpg I have activated Security Modes

    #1526
    AITpro Admin
    Keymaster

    The BPS Safe Mode check to see if safe_mode is On or Off uses the ini_get function – ini_get(‘safe_mode’) – http://php.net/manual/en/function.ini-get.php

    I am not sure where you are looking to find the safe_mode Off status in your screenshot, but it is not accurate. Create a phpinfo file and upload it to your website to get your actual PHP Configuration information and status if you want to double check this.
    http://php.net/manual/en/function.phpinfo.php

    Or maybe your Host has disabled the PHP ini_get function.  Check to see if any functions are disabled in the disable_functions directive.

    #1532
    DC_JOSE
    Member

    ok thanks, in phpinfo goes on http://img545.imageshack.us/img545/3847/capturaco.jpg
    I’ll have to talk to my host

    One more question

    PHP Display Errors: On
    PHP MySQL Allow Persistent Connections: On
    PHP Magic Quotes GPC: On

    Should this also worry? Thank´s!

    #1571
    AITpro Admin
    Keymaster

    php display errors should be Off
    mysql allow persistent connections should be Off
    Magic Quotes GPC should be Off

    #1607
    DC_JOSE
    Member

    I’ve solved it by creating a php.ini file in wordpress
    Is this correct?
    http://img829.imageshack.us/img829/8105/offql.jpg

    #1617
    AITpro Admin
    Keymaster

    Yep everything looks good.  Well done.  Green == Good.

    #5955
    Scoobydooo9r
    Participant

    I’m having the same problem with my site on GreenGeeks hosting.  I just called in for one of my addon domains, and whatever they did worked fine.  Now I am trying to get BPS working on my primary domain, and they can’t seem to get it to work… Their solution is to add this code (SetEnv PHPRC /home/myaccount/public_html/php.ini) to the .htaccess file in my public_html folder.  I wanted to ask and see if this is a good solution or if it will cause problems or less security somehow.

    #5957
    AITpro Admin
    Keymaster

    Every Host/Server is completely different in regards to php/php.ini handlers.  There is no one size fits all and there are 1,000’s of different possible combinations/factors for all of the 1,000+ different web hosts.

    Whatever handler they used for the addon domain should also be used for your primary domain – SetEnv PHPRC is the php/php.ini handler.

    Check your root .htaccess file on the addon domain and use the same handler from that site.  You also need to actually have a php.ini file in that path/location/folder – /home/myaccount/public_html/php.ini.

    Also if your PHP version is 5.3.x or above you may run into a lot of problems, such as the php.ini file will be ignored and will default to some generic php.ini file on the Server and lots of other fun problems.

    Just to give you the general idea…

    http://www.ait-pro.com/aitpro-blog/4349/misc-projects/wordpress-tips-tricks-fixes/php5-3-x-php5-4-x-user-ini-file-does-not-work-known-php5-3-x-user-ini-fastcgi-wordpress-zend-issue/

    #5978
    Scoobydooo9r
    Participant

    I think that I got everything under control now.  I used the custom code in BPS to set that handler and it seems to be working normally now.   BTW I have the php.ini file in the public_html folder too.  Thanks for your quick response.

    #7023
    Jim Brickman
    Participant

    Thanks for that warning well i been an IT in Finland country and never been experience some issue like that.In part of Helsinki i seen a lot of issue about rauhansopimus.fi or cloud service and i notice that those issue are really a problem that make me feel interesting.Well thanks for that warning for sure it will be helpful for me.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.