Page 1 of 1

Adding PHP Extensions: Unvalid Magic Number

Posted: Mon Jul 27, 2015 7:57 am
by thomasmatthes
Hello,

i want to add an PHP extension. I copied the extension "ioncube_loader_lin_5.4.so" into the default extension directory "\usr\local\zendsvr6\lib\php_extensions" and in the php.ini i added the line "extension=<my_extension_name>.so"

When restarting the Zendserver i get a warning in the PHP-errorlog:
Unable to load dynamic library '/usr/local/zendsvr6/lib/php_extensions/ioncube_loader_lin_5.4.so' - Could not load module /usr/local/zendsvr6/lib/php_extensions/ioncube_loader_lin_5.4.so.
The module has an invalid magic number. in Unknown on line 0

any idea whats going wrong here?

Re: Adding PHP Extensions: Unvalid Magic Number

Posted: Mon Jul 27, 2015 8:42 am
by thomasmatthes
please move this topic to Zendserver for IBM i