ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader

Problem with apache 2.0.53 / PHP 5.0.4 / Solaris 9

Author Message
mbaya



Joined: 12 Dec 2005
Posts: 1
Location: Ellsworth, ME

PostPosted: Mon Dec 12, 2005 10:20 pm    Post subject: Problem with apache 2.0.53 / PHP 5.0.4 / Solaris 9 Reply with quote

I've followed the instructions for installing IonCube Loader (and Zend Optimizer) and neither show up via a php_info() query via the webserver. All it shows is
Quote:
"Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies"


However from command line they do show up:

Code:
/svaha/php/bin/php --version
PHP 5.0.4 (cli) (built: Nov 22 2005 22:22:40)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
    with the ionCube PHP Loader v3.0.7, Copyright (c) 2002-2005, by ionCube Ltd., and
    with Zend Extension Manager v1.0.8, Copyright (c) 2003-2005, by Zend Technologies
    with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend Technologies


From apache errors.log I see the following for Ioncube:
Code:
Failed loading /usr/local/lib/ioncube/ioncube_loader_sun_5.0.so:  ld.so.1: httpd: fatal: relocation error: file /usr/local/lib/ioncube/ioncube_loader_sun_5.0.so: symbol execute: referenced symbol not found


I also get a similar error for Zend Optimizer:
Code:
Failed loading /usr/local/Zend/lib/ZendExtensionManager.so:  ld.so.1: httpd: fatal: relocation error: file /usr/local/Zend/lib/ZendExtensionManager.so: symbol module_registry: referenced symbol not found


For the record we're running:

Sun Solaris 9: SunOS netrabot 5.9 Generic_118558-14 sun4u

Apache 2.0.53: Server Version: Apache/2.0.53 (Unix) DAV/2 PHP/5.0.4 mod_ssl/2.0.53 OpenSSL/0.9.7g SVN/1.2.3

PHP 5.0.4 compiled with the following options:
Code:
'./configure' '--prefix=/installs/php-5.0.4' '--with-openssl=/usr/local/ssl' '--with-imap=/installs/imap-2002e' '--with-imap-openssl=/usr/local/ssl' '--with-curl=/usr/local/lib' '--with-mysql=/installs/mysql' '--with-gd=/usr/local' '--with-png-dir=/usr/sfw' '--with-jpeg-dir=/usr/sfw' '--with-tiff-dir=/usr/sfw' '--with-zlib-dir=/usr' '--with-bz2=/usr/lib' '--with-freetype-dir=/usr/local' '--with-curlwrappers' '--with-dom=/usr/lib' '--with-regex=system' '--with-xml' '--with-libxml-dir=/usr/local' '--with-db4=/usr/local/BerkeleyDB.4.2' '--with-pic' '--with-pspell' '--with-exif' '--with-iconv' '--with-expat-dir=/usr/local' '--with-xmlrpc' '--with-xsl' '--disable-debug' '--enable-ftp' '--enable-pcntl' '--enable-soap' '--enable-sockets' '--enable-discard-path' '--enable-inline-optimization' '--enable-gd-native-ttf' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-exif' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-shmop' '--enable-sigchild' '--enable-yp' '--enable-safe-mode' '--enable-track-vars' '--enable-versioning' '--enable-wddx' '--enable-memory-limit' '--enable-magic-quotes' '--with-apxs2=/installs/apache2/bin/apxs'


My php.ini file has the following set in it at the beginning:
Code:
[PHP]
zend_extension=/usr/local/lib/ioncube/ioncube_loader_sun_5.0.so

at the end of this file it has:
Code:

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10
zend_optimizer.version=2.5.10a

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


Any suggestions?
Back to top
View user's profile Send private message Visit poster's website AIM Address
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Tue Dec 13, 2005 11:39 am    Post subject: Reply with quote

This could be because of --enable-versioning on the PHP build. As you've noticed, neither Zend Optmiser nor the Loader can be installed due to linking issues with the dynamic linker. This is because global symbols are not being exported from PHP/Apache, and external dependencies cannot be resolved during link time. Try rebuilding PHP without --enable-versioning.
_________________
Community Admin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum