PHP Internal not working properly?
Hi all,
Any ideas on this? Ran easy apache with 2.4 and php 5.4. How to fix this?
[/usr/local/cpanel/3rdparty/bin]# /usr/local/cpanel/3rdparty/bin/php -v
Failed loading /usr/local/cpanel/3rdparty/php/54/ioncube/ioncube_loader_lin_5.4.so: /usr/local/cpanel/3rdparty/php/54/ioncube/ioncube_loader_lin_5.4.so: undefined symbol: zend_new_interned_string
PHP 5.2.17 (cgi) (built: Sep 26 2012 09:16:20)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
-
Hello :) Please post the output from: /usr/local/cpanel/cpanel -V ls -la /usr/local/cpanel/3rdparty/bin/php
Thank you.0 -
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 -
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 -
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 -
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 -
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.
Comments
6 comments