I plan to install a PHP accelerator/optimiser as for example, zend optimiser or ioncube accelerator.
I think zend should be more efficiant, as I think the ioncube project is dead (or going dead)
What would be your preference ?
For zend, there is a version for “linux glibc2.1” and one for “glibc2.3 AMD 64bits”. On my box I have a glibc2.3.2 version but it is a intel P4 with HT not an AMD
What version do you think I should use ?
Is there any known pbm using zend optimiser or ioncube accelerator on an interworx-cp box ?
The way the accelerators work is by being installed in the php.ini - so it shouldn’t affect interworx UNLESS you edit the InterWorx php.ini file. There is a common misconception about the Zend optimisers.
Zend optimisers don’t optimise - UNLESS - you’re using a script that has been encoded with Zend engine. Since it costs to do this, you see this in applications like VBulletin, Modernbill, WHM Autopilot.
IONCube accelerator is a good one, however not really an effient one. I use TurckMMCache. Very fast. Very effieicent. Page execution times drop to 1/5th to 1/10 just by installing it. The creator of this project has stopped working on it, however, I there doesn’t seem to be any issues - Major ones - in using this with PHP 4.3.x series. DO NOT USE THIS WITH PHP5.
Also - if you’ve tweaked out the /tmp with some kind of speed and safety measures, you need someone who knows about this install it for you. As there are some jobs that have to be croned. Otherwise you would end up with a full /tmp folder. Apache starts sending empty pages then
You can install Zend optimisers as well as MMCache. However, you need to make sure that mmcache settings are infront of the Zend ones. IonCube And MMCache won’t work together.
Yes if I remember well I have to first install mmcache, then install zend optimiser, and configure the php.ini file to tell it using mmcache as a zend module ?
I’ve setup the shm_ttl and shm_prune_period. Do you have an experience with these settings ? (for me, I prefere do this to be sure mmcache, cache not only the first most use script but all scripts that are used)
I actually need to use two digit version of it. Because if the number of files is too great, you’ll get Argument too big error. UGG!! One of my pent us frustations. I run multiple servers with archived text files. To chmod / own files, we’ve got to go through them all by using many commands in a while loop. I really had hoped there be more dynamic memory allocation support added for this.
I do it every week. Daily is a option, but I tend to avoid that on the hosting servers. Too much chance of having daily problems with the system.
PS :
When was the last time you had a look at the mmcache settings info ? It seems like you’re using one of very very old set of instructions on the mmcache site.
PS :
When was the last time you had a look at the mmcache settings info ? It seems like you’re using one of very very old set of instructions on the mmcache site.
lol, why ?
today…
I know that the default config is with
mmcache.shm_ttl=“0”
mmcache.shm_prune_period=“0”
but I do some tests with
mmcache.shm_ttl=“600”
mmcache.shm_prune_period=“300”
and I also know that you don’t have to specify
mmcache.content=“shm_and_disk”
mmcache.keys=“shm_and_disk”
mmcache.sessions=“shm_and_disk”
as it is by default, but I really prefere explicitly give these parameters, as I am not the only one that admin these boxes.