Portal Home > Knowledgebase > Articles Database > [ask] error install ioncube


[ask] error install ioncube




Posted by VIc_oakLe, 04-24-2009, 07:13 AM
hi, i use VPS: ram 1GB, centos 5.3 x86_64 whm/cpanel i have problem install ioncube, i install with rebuild apache to 2.2 and use php 5.2.9 after finish rebuild: Option Value Default PHP Version (.php files) PHP 5 Handler None PHP 4 Handler None Suexec On Php Version is cant select, and i check with root by ssh: root@server [~]# php -v The ionCube PHP Loader is disabled because of startup problems. Segmentation fault root@server [~]# how to fix??? Thanks.

Posted by LoganNZ, 04-24-2009, 07:15 AM
During the build of apache, what errors occured?

Posted by VIc_oakLe, 04-24-2009, 07:22 AM
at proccess rebuild apache not error. this is new vps, but have 100+ account website in the vps, but moving for other vps.

Posted by Martin-D, 04-24-2009, 07:24 AM
try another rebuild with IonCube selected in /scripts/easyapache Be sure to watch for errors or fails near the end.

Posted by VIc_oakLe, 04-24-2009, 07:57 AM
no error: ---------------------------------------------------------------------- Libraries have been installed in: /home/cpeasyapache/src/eaccelerator-0.9.5.3/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ find . -name \*.gcno -o -name \*.gcda | xargs rm -f find . -name \*.lo -o -name \*.o | xargs rm -f find . -name \*.la -o -name \*.a | xargs rm -f find . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf rm -f libphp.la modules/* libs/* EAccelerator extension activated -- End step 'Install EAccelerator' -- -- End opt 'EAccelerator for PHP' -- -- Begin opt 'IonCube Loader for PHP' -- -- Begin step 'Install IonCube loader' -- Determining PHP version Installing IonCube Loader binaries Activating IonCube Loader extension in /usr/local/lib/php.ini IonCube Loader extension activated -- End step 'Install IonCube loader' -- -- End opt 'IonCube Loader for PHP' -- !! Resetting Apache configuration to default. !! Updating Apache configuration Updating Apache configuration Distilled successfully !! Executing '/scripts/initsslhttpd' !! !! Restarting 'httpd' ... !! !! 'httpd' restart complete. !! -- Begin post apache restart tests -- -- Begin test 'Basic HTTPD Process Check' -- !! Test passed ok !! -- End test 'Basic HTTPD Process Check' -- -- Begin test 'Pre-test ACL limits check' -- !! Begin debug information' !! !! Ouput from 'getfacl /usr/bin/perl': open3: exec of getfacl /usr/bin/perl failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 !! !! Ouput from 'ls -l /usr/bin/perl': lrwxrwxrwx 1 root root 17 Apr 23 09:13 /usr/bin/perl -> ../local/bin/perl !! !! Ouput from 'lsattr /usr/bin/perl': ------------- /usr/bin/perl !! !! End debug information' !! !! Test passed ok !! -- End test 'Pre-test ACL limits check' -- -- Begin test 'Pre-test htaccess check' -- !! Test passed ok !! -- End test 'Pre-test htaccess check' -- -- Begin test 'Basic HTTP Request for static content' -- !! Test passed ok !! -- End test 'Basic HTTP Request for static content' -- -- Begin test 'Basic SSL Request for static content' -- !! No SSL VirtualHost found skipping SSL test !! !! Test skipped ok !! -- End test 'Basic SSL Request for static content' -- -- Begin test 'Multi SSL hits segfaults apache' -- !! No SSL VirtualHost found skipping SSL test !! !! Test skipped ok !! -- End test 'Multi SSL hits segfaults apache' -- -- Begin test 'Basic CGI-SYS Request .cgi' -- !! Test passed ok !! -- End test 'Basic CGI-SYS Request .cgi' -- !! Post check of 'httpd' process Ok !! -- End post apache restart tests -- !! Executing '/scripts/initfpsuexec' !! !! Executing '/scripts/initsslhttpd' !! !! You can change how PHP is configured. As root, simply execute: /usr/local/cpanel/bin/rebuild_phpconf --help for more information. !! !! Build Complete! !! !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1240572982' !! root@server [~]#

Posted by wintersun, 10-25-2009, 12:31 PM
I have the same problem. Easyapache runs without any error. php -v The ionCube PHP Loader is disabled because of startup problems. Segmentation fault Any ideas?

Posted by eth00, 10-25-2009, 12:44 PM
scripts/phpextensionmgr install IonCubeLoader If that also fails but does not give any useful error you could try stracing it to see where the error is.

Posted by wintersun, 10-25-2009, 12:49 PM
sh-3.00# /scripts/phpextensionmgr install IonCubeLoader Installing IonCubeLoader Determining PHP version Installing IonCube Loader binaries Activating IonCube Loader extension in /usr/local/lib/php.ini IonCube Loader extension activated Determining PHP version Installing IonCube Loader binaries Activating IonCube Loader extension in /usr/local/php4/lib/php.ini IonCube Loader extension activated sh-3.00# php -v The ionCube PHP Loader is disabled because of startup problems. Segmentation fault sh-3.00# No luck Ok, php4 and php5 was there on this server initially. Now I recompiled easyapache with the latest version of php5 only. But it says "Activating IonCube Loader extension in /usr/local/php4/lib/php.ini". Why is php4 still there? Am I missing something here?

Posted by wintersun, 10-25-2009, 01:49 PM
sh-3.00# head /usr/local/lib/php.ini [PHP] ;extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613" ;zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so" ;zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so" post_max_size = 200M Ok, commenting out those lines seem to have fixed the problem. For some reason there were two instances of extensions in the php.ini file.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
FFLVtool2 error (Views: 520)
PHP exploit (Views: 479)