Hi everyone, wasn't sure if i should put it in php section or not... but since it's effecting apache. I'll post up here. When i put aa_ioncube.ini into /etc/php.d and do service httpd restart i get OK both times. Try to load php info file in my web browser... doesn't load. so do service httpd restart again. Stopping httpd: [FAILED] Starting httpd: [ OK ] I keep getting that until i remove aa_ioncube.ini from my /etc/php.d folder - Then apache works fine, any suggestions?
Check your error logs for Apache. What does the output of this give you as well: php -v Code (markup): Chris
Error log: [Tue Feb 01 16:25:10 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations Failed loading /usr/local/ioncube/ioncube_loader_lin_4.3.so: /usr/local/ioncube/ioncube_loader_lin_4.3.so: undefined symbol: zend_hash_add_or_update [Tue Feb 01 16:25:11 2011] [notice] caught SIGTERM, shutting down Failed loading /usr/local/ioncube/ioncube_loader_lin_4.3.so: /usr/local/ioncube/ioncube_loader_lin_4.3.so: undefined symbol: zend_hash_add_or_update [Tue Feb 01 16:25:12 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Feb 01 16:25:12 2011] [notice] Digest: generating secret for digest authentication ... [Tue Feb 01 16:25:12 2011] [notice] Digest: done [Tue Feb 01 16:25:12 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations PHP -v gives me: # php -v Failed loading /usr/local/ioncube/ioncube_loader_lin_4.3.so: /usr/local/ioncube/ioncube_loader_lin_4.3.so: undefined symbol: zend_hash_add_or_update PHP 5.2.10 (cli) (built: Nov 13 2009 11:24:03) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
You are using the wrong loader. You are asking it to use the 4.3 loader, when your php version is 5.2.10. You must use the ioncube_loader_lin_5.2.so file. Chris