Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd April 2012, 04:53
Tastiger Tastiger is offline
Junior Member
 
Join Date: Feb 2011
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Thumbs down ioncube - ISPConfig 3 Ubuntu 11.10 X64

after updating my server from X32 to X64 I have noticed that once I install ioncube it will show up as active on the main domain (server1.XXXX) - however it does not show up as active on any sites created via ISPConfig.

Therefore what I have done is copied /etc/php5/apache2/php.ini and pasted it into the Custom php.ini settings of the sites created via ISPConfig (see attached image.)

Question is have I done this correctly or is there a simpler method to get my php.ini to replicate onto any sites created via ISPConfig?

Reply With Quote
Sponsored Links
  #2  
Old 22nd April 2012, 12:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

How did you activate ioncube for the main domain?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd April 2012, 12:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

The correct way to install ioncube is to create file ioncube.ini in the directory /etc/php5/conf.d/which contains the load command for the zend extension. Then restrt apache and ioncube is active in all sites.

What you did above is not recommended and not nescessary. If you want to use the php.ini field for a site, then add there only the values that differ from the main php.ini and do not add a full copy of the php.ini as you did.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
andcha (9th October 2013)
  #4  
Old 22nd April 2012, 23:04
Tastiger Tastiger is offline
Junior Member
 
Join Date: Feb 2011
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Default

Thanks guys for pointing me in the right direction.

I had originally set up ioncube by adding

PHP Code:
[ionCube]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so 
to \etc\php5\apache2\php.ini - perhaps now I should edit the file again and take out the reference?

Last edited by Tastiger; 23rd April 2012 at 00:05.
Reply With Quote
  #5  
Old 23rd April 2012, 10:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
 
Default

Quote:
to \etc\php5\apache2\php.ini - perhaps now I should edit the file again and take out the reference?
You can leave it as it is now as you modified already all websites manually. But I recommend that you edit the websites again and remove the duplicate content in the php.ini fields. If a website does not require any custom php.ini settings, then the php.ini field should be empty. If a site needs custom settings, then only the custom settings should be in that field and not the whole php.ini.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
Cant send email new install ispconfig 3 on ubuntu 11.10 kvess Server Operation 39 7th April 2012 01:20
All files gone after changing quota to 0 spynode General 17 19th January 2012 14:41
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Problem on restart bind9 satimis Server Operation 6 30th October 2007 02:01


All times are GMT +2. The time now is 05:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.