Skip to main content

How to get the correct file and not /opt/cpanel/ea-php56/root/usr/bin/php-cgi

Comments

9 comments

  • JacobPerkins
    Hi, Your new server appears to be running EA4. That php-cgi binary is the SCL version of php56, so you can run multiple versions of PHP on the same system. This is normal :) Are you experiencing any issues?
    0
  • tejli
    Hi Jacob. Yes I do face issues because I dont know what file is causing the load so I can fix it. In the old server in most times was showing php files that was making problems and after renaming them the load was normal again but now I see the same message for all. So there is no way to fix it?
    0
  • cPanelMichael
    Hi Jacob. Yes I do face issues because I dont know what file is causing the load so I can fix it. In the old server in most times was showing php files that was making problems and after renaming them the load was normal again but now I see the same message for all. So there is no way to fix it?

    Hello, The functionality you are referring to is enabled by default when using suPHP with the "full_php_process_" option: full_php_process_display When you set this value to true, the mod_suphp module executes PHP scripts in a way that displays both the PHP interpreter and the script's file name in the process list. To hide the script's file name and improve security, set this value to false. This is documented at:
    0
  • tejli
    Hello, The functionality you are referring to is enabled by default when using suPHP with the "full_php_process_" option: full_php_process_display When you set this value to true, the mod_suphp module executes PHP scripts in a way that displays both the PHP interpreter and the script's file name in the process list. To hide the script's file name and improve security, set this value to false. This is documented at:
    0
  • cPanelMichael
    Where can I find and change that full_php_process_display? AM on Cloudlinux 7.x

    Hello, suPHP configuration settings are stored in the following file as of EasyApache 4: /etc/suphp.conf Thank you.
    0
  • tejli
    Hello, suPHP configuration settings are stored in the following file as of EasyApache 4: /etc/suphp.conf Thank you.

    Thank you. It was True and changed to False but still am getting such filenames: /opt/cpanel/ea-php56/root/usr/bin/php-cgi
    0
  • cPanelMichael
    It was True and changed to False but still am getting such filenames: /opt/cpanel/ea-php56/root/usr/bin/php-cgi

    Hello, You'd still see "/opt/cpanel/ea-php56/root/usr/bin/php-cgi" as the process name. It's the path to the PHP file that's hidden. Can you confirm the path to the PHP file itself still appears in the process list after restarting Apache? Thank you.
    0
  • tejli
    Hello, You'd still see "/opt/cpanel/ea-php56/root/usr/bin/php-cgi" as the process name. It's the path to the PHP file that's hidden. Can you confirm the path to the PHP file itself still appears in the process list after restarting Apache? Thank you.

    Yes as I have said before still appairs like this: /opt/cpanel/ea-php56/root/usr/bin/php-cgi. Id like to see the real file here like it was in the old serever ex: username/public_html/file.php
    0
  • cPanelMichael
    Id like to see the real file here like it was in the old serever ex: username/public_html/file.php

    It's only possible when using suPHP as the PHP handler, and when full_php_process_display is set to "True" in the /etc/suphp.conf file. Are you sure suPHP is configured as the PHP handler for PHP version 5.6 on your system? PHP handlers are configured under the "PHP Handlers" tab in "WHM >> MultiPHP Manager". Thank you.
    0

Please sign in to leave a comment.