PHP Error Log setting isn’t sticking

Home Forums BulletProof Security Pro PHP Error Log setting isn’t sticking

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #38761
    BHA
    Participant

    I keep getting the following banner alert

    PHP Error Log Path Does Not Match
    The PHP Error Log Location Set To: folder path does not match the Error Log Path Seen by Server: folder path.
    Click Here to go to the PHP Error Log page and click the Htaccess Protected Secure PHP Error Log Read Me button for troubleshooting steps.

    I’ve double checked wp-config and the “@ini_set(‘error_log’,” is set to the absolute path to “wp-content/bps-backup/logs/bps_php_error.log”.

    The php.ini in my WP root has “error_log = /homedir/public_html/boydhanaleiako/wp-content/bps-backup/logs/bps_php_error.log”

    I’ve clicked the “Set Error Log Location”, “Test Error Log”, and “Reset Last Modified time in DB” button several times.

    The BPS PHP info error_log value states the same absolute path in the php.ini and wp-config.

    #38763
    AITpro Admin
    Keymaster

    What do you see for this check/value:  “Error Log Path Seen by Server” on the PHP Error Log page?

    #38769
    BHA
    Participant

    The ABS file path that I set as mentioned before.

    #38774
    AITpro Admin
    Keymaster

    Ok send me a WordPress Administrator login to your website so I can figure out the problem.  Send your website login information to info at ait-pro dot com.

    #38784
    BHA
    Participant

    Done.

    #38785
    AITpro Admin
    Keymaster

    I received your login information and am logged into your site and working on the problems.

    #38790
    AITpro Admin
    Keymaster

    I’ve noticed in the last year that BlueHost has some missing help page info so I’m going to document them here for future reference.

    #1. The BlueHost php/php.ini handler help page has not been updated in a long time with current help info. So the solution is if you have chosen PHP 7.2 in cPanel then you need to use this php/php.ini handler htaccess code: AddHandler application/x-httpd-ea-php72 .php

    #2. You need to use this default php error log path: error_log for the BPS Pro “PHP Error Log Location Set To” path.

    #38791
    AITpro Admin
    Keymaster

    Additionally, this option setting below needs to set/changed in BPS Pro S-Monitor settings to compensate for this error message > “PHP Error Log Path Does Not Match”.

    PHP Error Log: Check Folder Path Location Alert > change this option setting to > Turn Off Displayed Alerts.

    For some reason BlueHost seems to strip out wp-admin htaccess file Query String Exploits code so probably the best solution would be to disable the wp-admin htaccess file by doing the steps below:

    1. Go to the BPS Setup Wizard page > Setup Wizard Options tab page.
    2. Change this option setting > Enable|Disable wp-admin BulletProof Mode > to wp-admin BulletProof Mode Disabled.
    3. Click the Enable|Disable button.

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