store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Sep 01, 2014 9:48 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: ioncube loading twice
Unread postPosted: Thu Dec 01, 2011 9:19 pm 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so OK
/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so OK

It looks like this is loading twice.
Where would the calls be?

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
 Post subject: Re: ioncube loading twice
Unread postPosted: Fri Dec 02, 2011 5:13 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I'd check /etc/php.ini and /etc/php.d/*.ini:

Code:
grep ^extension= /etc/php.ini /etc/php.d/*.ini

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: ioncube loading twice
Unread postPosted: Fri Dec 02, 2011 5:32 am 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
The command above does not reveal anything.
I think because of the word "extension."
There is an ioncube.ini in /etc/php.d
But it must be being called from 2 places.

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
 Post subject: Re: ioncube loading twice
Unread postPosted: Fri Dec 02, 2011 6:14 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
webfeatus wrote:
The command above does not reveal anything.
I think because of the word "extension."


ionCube Loader is loaded by an extension line, so why do you think so?

webfeatus wrote:
There is an ioncube.ini in /etc/php.d
But it must be being called from 2 places.


What is in your /etc/php.d/ioncube.ini?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: ioncube loading twice
Unread postPosted: Fri Dec 02, 2011 6:36 am 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
Code:
cat 'ioncube.ini' | less

zend_extension=/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so
(END)
[root@webfeat php.d]# grep ^extension= /etc/php.ini /etc/php.d/*.ini
/etc/php.d/curl.ini:extension=curl.so
/etc/php.d/dbase.ini:extension=dbase.so
/etc/php.d/dom.ini:extension=dom.so
/etc/php.d/gd.ini:extension=gd.so
/etc/php.d/imap.ini:extension=imap.so
/etc/php.d/json.ini:extension=json.so
/etc/php.d/mbstring.ini:extension=mbstring.so
/etc/php.d/mcrypt.ini:extension=mcrypt.so
/etc/php.d/mysqli.ini:extension=mysqli.so
/etc/php.d/mysql.ini:extension=mysql.so
/etc/php.d/pdo.ini:extension=pdo.so
/etc/php.d/pdo_mysql.ini:extension=pdo_mysql.so
/etc/php.d/pdo_sqlite.ini:extension=pdo_sqlite.so
/etc/php.d/wddx.ini:extension=wddx.so
/etc/php.d/xmlreader.ini:extension=xmlreader.so
/etc/php.d/xmlwriter.ini:extension=xmlwriter.so
/etc/php.d/xsl.ini:extension=xsl.so
/etc/php.d/zip.ini:extension=zip.so
[root@webfeat php.d]#

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
 Post subject: Re: ioncube loading twice
Unread postPosted: Fri Dec 02, 2011 6:46 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Ah right, ionCube Loader is loaded using zend_extension instead of extension.

So what does the following say?

Code:
grep ^zend_extension /etc/php.ini /etc/php.d/*.ini

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: ioncube loading twice
Unread postPosted: Fri Dec 02, 2011 6:53 am 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
grep ^zend_extension /etc/php.ini /etc/php.d/*.ini
/etc/php.d/ioncube.ini:zend_extension=/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so
/etc/php.d/zend.ini:zend_extension=/usr/lib/php/zend/ZendOptimizer-5.2.so

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group