Skip to main content

Upgraded to PHP 7.x Error on Website

Comments

8 comments

  • cPanelMichael
    Hello @Harlequin, Can you browse to WHM >> MultiPHP Manager and confirm if you are using PHP-FPM on these domains? If so, the PHP errors are stored in the following location: /home/username/logs/domain_com.php.error.log Additionally, if you have root access, check the global PHP-FPM error log for the specific PHP versions at: /opt/cpanel/ea-phpXX/root/usr/var/log/php-fpm/error.log Thank you.
    0
  • Harlequin
    Hi @cPanelMichael I checked /home/username/logs/domain_com.php.error.log and found nothing I also looked for /opt/cpanel/ea-phpXX/root/usr/var/log/php-fpm/error.log (for both PHP 7.1 & 7.2) and there was no log folder. Bit stuck now. Any suggestions...?
    0
  • cPanelMichael
    Hello @Harlequin, The access level in your forums profile shows as Reseller Owner. Can you confirm if you have root access to the affected system, or if you are limited to reseller access? Thank you.
    0
  • Harlequin
    Hi I have full root access, it's a dedicated server.
    0
  • cPanelMichael
    I also looked for /opt/cpanel/ea-phpXX/root/usr/var/log/php-fpm/error.log (for both PHP 7.1 & 7.2) and there was no log folder.

    Hello, Are you able to confirm that PHP-FPM is utilized for any accounts using those PHP versions? If not, then it's normal to not see those log files. If you're not using PHP-FPM for the affected account, can you check to see if an error_log file exists in the document root of the website, or if any errors appear in /usr/local/apache/logs/error_log when reproducing the issue? Thank you.
    0
  • Harlequin
    Hi @cPanelMichael I repeated the steps just to make sure and set the account to use PHP 7.2 and turned on PHP-FPM but no erros in the log files, they simply weren't there. I then went to the log file you suggested in your last post and again nothing relating to that domain. The website itself is running on Joomla so I did make sure it was up to date prior to doing this. Here are the last few entries from the apache error log around the time I did this: [Wed Sep 05 06:10:56.178751 2018] [mpm_worker:notice] [pid 29397:tid 139946314725344] AH00297: SIGUSR1 received. Doing graceful restart [Wed Sep 05 06:10:56.450601 2018] [mpm_worker:notice] [pid 29397:tid 139946314725344] AH00292: Apache/2.4.34 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations [Wed Sep 05 06:10:56.450619 2018] [core:notice] [pid 29397:tid 139946314725344] AH00094: Command line: '/usr/sbin/httpd' Hi Michael As stated in the OP the error simply says "Error". That's what's driving me nuts, no special code, nothing in the source code o fthe page just "error".
    0
  • dalem
    can you turn on error reporting in your script so it will display in a log or directly on the page Not that this is your direct issue but the last few times I have seen "the no error in the log error". It was the wrong Ioncube loaders being used Telling your script to display the errors should show you where to look
    0
  • cPanelMichael
    Hello @Harlequin, If turning on error reporting in the PHP code itself doesn't help, feel free to open a
    0

Please sign in to leave a comment.