Skip to main content

PHP Internal not working properly?

Comments

6 comments

  • cPanelMichael
    Hello :) Please post the output from: /usr/local/cpanel/cpanel -V ls -la /usr/local/cpanel/3rdparty/bin/php
    Thank you.
    0
  • sahostking
    root@lin01 [~]# /usr/local/cpanel/cpanel -V 11.44.1 (build 18) root@lin01 [~]# ls -la /usr/local/cpanel/3rdparty/bin/php -rwxr-xr-x 3 root root 20382927 Sep 26 2012 /usr/local/cpanel/3rdparty/bin/php* root@lin01 [~]#
    0
  • cPanelMichael
    That file should be a symbolic link by default. EX: [~]# ls -la /usr/local/cpanel/3rdparty/bin/php lrwxrwxrwx 1 root root 41 May 19 11:52 /usr/local/cpanel/3rdparty/bin/php -> /usr/local/cpanel/3rdparty/php/54/bin/php*
    Does "/usr/local/cpanel/3rdparty/php/54/bin/php" exist on your system? Please also see: PHP Binary - cPanel Documentation Thank you.
    0
  • sahostking
    Yip root@lin01 [~]# /usr/local/cpanel/3rdparty/php/54/bin/php -v PHP 5.4.23 (cli) (built: Mar 31 2014 15:38:57) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with the ionCube PHP Loader v4.5.2, Copyright (c) 2002-2014, by ionCube Ltd.
    0
  • sahostking
    ok I deleted those 2 files of php and php-cgi as they were giving me 5.2.17 instead of 5.4 and made them both symbolic links pointing to : /usr/local/cpanel/3rdparty/php/54/bin/php /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Hope this is correct :)
    0
  • cPanelMichael
    Feel free to let us know if you encounter any additional issues after making that change. Thank you.
    0

Please sign in to leave a comment.