Knowledgebase

Ioncube error while checking the php -v

Posted by *Salvo*, 10-23-2010, 10:15 PM
Hello, I use to read you so much, as in this forum there's almost the answer to any question related to sever management. The question now for me, starts from two rows when I've checked yesterday, the php version installed (5.3.1, on Linux, parallel as OS, on a dedicated server): Here are: What's wrong? Ioncube works, and zend is installed, but there are not the two modules searched from the system: no ZendOptimizer-5.3.so and no ioncube_loader_lin_5.3.so What's the directory that serch the 2 non present modules Alternatives? Thank you so much for your help

Posted by Patrick, 10-23-2010, 11:23 PM
Find the php.ini file: php -i | grep php.ini Edit the php.ini file and remove the lines containing the two invalid shared objects: ioncube_loader_lin_5.3.so ZendOptimizer-5.3.so Confirm that Zend is still installed: php -v Confirm that Ioncube is still installed: php -i | grep ioncube . .

Posted by *Salvo*, 10-23-2010, 11:35 PM
Thank you for your prompt response, unfurtunately this is the result: You may see when I've commented the line with ioncube, while ZendOptimizer-5.3.so isn't on php.ini It doesn't give to me any problem, but I bet something is BTW wrong. Thank you really for your help

Posted by Patrick, 10-23-2010, 11:39 PM
Hrm. I wonder if you have multiple php binaries in place using different php.ini files, assuming you did correctly remove the broken Zend shared object. Type: which php It should say something like /usr/bin/php then try this: /usr/bin/php -i | grep php.ini Is that the same php.ini that you commented out the Zend shared object?

Posted by *Salvo*, 10-23-2010, 11:48 PM
you're so fast...Patrick ;-) Yes, it's the same php.ini. I had the same tonnes of error and at the end this: /etc/php.ini this is, yup.

Posted by Patrick, 10-24-2010, 12:15 AM
Strange. There's no ZendOptimizer-5.3.so or ioncube_loader_lin_5.3.so within that php.ini file? Do you have those files anywhere on your server? find /usr -name ZendOptimizer-5.3.so find /usr -name ioncube_loader_lin_5.3.so Any results?

Posted by care4server, 10-24-2010, 12:54 AM
try removing the ioncube entry from the file /etc/php.d/ioncube.ini

Posted by *Salvo*, 10-24-2010, 11:49 AM
Hello, Patrick. I went to sleep, meanwhile. You're so fast here...it's unusual This is the result: Of course, I've tried to comment the string with the ioncube loader, but ioncube and the all programs on the server using iocube don't work with the commented lines. Other stuff: of course I restart every change, either service httpd, or service iocube. This is the part of php.ini with Ioncube and zend. Why does the system search the ioncube 5.3 into the wrong path, if the path on php.ini is set and it exists?

Posted by *Salvo*, 10-24-2010, 11:52 AM
This is the entry into the path you've hilighted: There's nothing else.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
MSSQL connector in PHP (Views: 593)
Name servers question. (Views: 580)
htaccess rules help (Views: 630)


Language:

Client Login

Email

Password

Remember Me

Search