0

I installed a php extension ioncube, and restart the httpd, then I got this error "httpd dead but subsys locked". I googled for the solution, and found out I need to comment out the line Zend_extension = /usr/lib64/php/modules/ZendGuardLoader.so in php.ini, Then I could start httpd with ioncube_loader enabled. But the problem is I need to keep ZendGuardLoader.so as well, since we have a php application that is using it.

How can I enable both ZendGuardLoader.so and ioncube_loader_lin_5.3.so at the same time without getting httpd dead but subsys locked error?

we are using centos 6.4, php 5.4

Zhenyu
  • 253
  • 1
  • 3
  • 10
  • 1
    OK. I finally got it to work. I write solutions here, hope it will help other people. zend_extension=/path/to/ioncube_loader.5.3.so must be added right efter the line [php] in php.ini file, and infront of zend_extension=/path/to/ZendGuardLoader.so. that's it. – Zhenyu Jun 05 '14 at 18:33
  • Great , I did not know that ! – Alex H Jun 06 '14 at 07:12

2 Answers2

0

You can actually have both enabled but you have to enable versions that are compatible with each other as each of them encrypt the content . It's an trial and error process unfortunately as far as I know .

Alex H
  • 1,814
  • 11
  • 18
  • can you explain a little more about the right versions? i'm using ionloader 5.3 and ZendGuardloader 5.3, which gives me the error subsys locked. which versions do you suggest me to use? thanks. – Zhenyu Jun 05 '14 at 18:16
0

One problem here is that the user had Zend and ionCube Loader components for PHP 5.3 yet they were using PHP 5.4, though they later claim they had it working with the 5.3 Loaders meaning that they had PHP 5.3 and not PHP 5.4. Also seems that a Chinese site serverquestions.com leaches items from here now (http://serversquestions.com/sq/questions/view/166433)

Nick
  • 101
  • 1