Adding PHP Extensions: Unvalid Magic Number

General discussion on Zend Studio for IBM System i

Adding PHP Extensions: Unvalid Magic Number

Postby thomasmatthes on Mon Jul 27, 2015 7:57 am

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?
thomasmatthes
 
Posts: 18
Joined: Thu May 26, 2011 12:29 pm

Re: Adding PHP Extensions: Unvalid Magic Number

Postby thomasmatthes on Mon Jul 27, 2015 8:42 am

please move this topic to Zendserver for IBM i
thomasmatthes
 
Posts: 18
Joined: Thu May 26, 2011 12:29 pm


Return to Zend Studio for IBM i

Who is online

Users browsing this forum: No registered users and 2 guests