
5th June 2005, 18:58
|
|
Junior Member
|
|
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Apache2-SSL-PHP5-Howto (+ Zend Optimizer And IonCube Loader)
I've a little problem with the Apache2-SSL-PHP5-Howto (+ Zend Optimizer And IonCube Loader) ( http://www.howtoforge.com/linux_apac..._ioncubeloader). I'm trying to configure PHP to use the Zend Optimizer and the IonCube Loader, but they aren't shown on my phpinfo(); page.  This is what's in my php.ini:
Code:
[PHP]
zend_extension=/usr/local/lib/Zend/ZendOptimizer.so
zend_optimizer.optimization_level=15
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so
Kevin
|

7th June 2005, 12:43
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I think you've mixed up the order of the lines in your php.ini. In Falko's tutorial it says
Code:
[PHP]
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so
zend_extension=/usr/local/lib/Zend/ZendOptimizer.so
zend_optimizer.optimization_level=15
so IonCube gets loaded before the ZendOptimizer. This might be important, so try this.
Preetam
|

13th June 2005, 12:25
|
|
Junior Member
|
|
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
I think you've mixed up the order of the lines in your php.ini.
|
You're right. It's working now!
|

23rd October 2005, 10:36
|
|
Junior Member
|
|
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i have another problem. IonCube is working fine, but when i add two lines to get Zend working apache2 woudn't start ... the log told me that ...
Failed Loading /usr/local/lib/Zend/ZendOptimizer.so: /usr/local/lib/Zend/ZendOptimizer.so: undefined symbol: core_globals_id
any sugestions?
|

23rd October 2005, 14:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by karlson
i have another problem. IonCube is working fine, but when i add two lines to get Zend working apache2 woudn't start ... the log told me that ...
Failed Loading /usr/local/lib/Zend/ZendOptimizer.so: /usr/local/lib/Zend/ZendOptimizer.so: undefined symbol: core_globals_id
any sugestions?
|
Do you have the lines for IonCube and ZendOptimizer in order (IonCube before Zend) in your php.ini?
Did you install the right ZendOptimizer version (for Linux, for your processor architecture (e.g. i386), and for your PHP version)?
|

17th January 2006, 14:40
|
|
Junior Member
|
|
Join Date: Jan 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
vhosts
What is the best and easiest way to create vhosts in this setup?
Is it also possible to use a mysql backend for the vhosts setup?
Thanks in advance for reply-ing.
Kind regards,
Rogier.
|

17th January 2006, 18:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by rogierbanis
What is the best and easiest way to create vhosts in this setup?
|
The easiest way would be to use a control panel such as ISPConfig, cPanle, Plesk, ...
If you don't like this, have a look at the end of your main Apache configuration file. There should be examples on how to set up a vhost.
Quote:
|
Originally Posted by rogierbanis
Is it also possible to use a mysql backend for the vhosts setup?
|
Unfortunately, Apache doesn't support this.  I myself would love to see this feature...
|

23rd January 2006, 12:56
|
|
Junior Member
|
|
Join Date: Jan 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That's true only the disadvantage of a control panel, we work several years already with cpanel, is that it also inmediately configures dns/mail etc.
This is not what i want.
We have several bladeservers for several services. They are all controlled by an MySQL backend. We have written our own frontend for use administration etc.
Best way would be that the apache server could also interact with this backend for the vhosts. Unfortunately this is, like you also state, impossible.
So now best thing for us to do is setup the webserver and manually add the vhosts.
Thanks for your reaction.
Rogier
Just found this: http://ckdake.com/projects/hosting/tools/
At least it's a start
Last edited by rogierbanis; 23rd January 2006 at 13:00.
|

23rd January 2006, 13:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by rogierbanis
That's true only the disadvantage of a control panel, we work several years already with cpanel, is that it also inmediately configures dns/mail etc.
This is not what i want.
We have several bladeservers for several services. They are all controlled by an MySQL backend. We have written our own frontend for use administration etc.
Best way would be that the apache server could also interact with this backend for the vhosts. Unfortunately this is, like you also state, impossible.
So now best thing for us to do is setup the webserver and manually add the vhosts.
Thanks for your reaction.
Rogier
Just found this: http://ckdake.com/projects/hosting/tools/
At least it's a start 
|
Yes, but thats the same way like the controlpanels ISPConfig, plesk, Confixx, etc are doing it
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:58.
|
Recent comments
17 hours 25 min ago
22 hours 41 min ago
22 hours 52 min ago
23 hours 34 sec ago
1 day 2 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago