PHP Byte Code Compiler in Moodle 1.2+

PHP Byte Code Compiler in Moodle 1.2+

by John Dell -
Number of replies: 3
Hi All,

I'm wondering what other folks are doing in this regard?  Zend Optimizer?  Turck MM Cache? APC? Others?

When I recently upgraded from 1.1 to 1.2.1, Turck MM Cache choked on variable function names used in filter.php called in weblib.php.

I just configured/installed APC 2.0.3, and everything seems to be working fine.

Anybody have any problems with APC?  Or other considerations?

Thanks,
John
Average of ratings: -
In reply to John Dell

Re: PHP Byte Code Compiler in Moodle 1.2+

by John Dell -
Am I the only person using an accelerator with PHP or is this a really boring topic?

I'm curious to hear what other folks are using on their PHP setups - or are you paying for hosting where you don't have a choice?

Thanks,
John
In reply to John Dell

Re: PHP Byte Code Compiler in Moodle 1.2+

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Well, I think it's been discussed a lot already in the Server forum (I've just moved this discussion there). I still use IonCube on my servers and it's extremely reliable. I suspect the problems that Turck has will be worked-around when we use classes instead of plain functions.
In reply to Martin Dougiamas

Re: PHP Byte Code Compiler in Moodle 1.2+

by John Dell -
Ahh, sorry about posting in the wrong forum! Thanks Martin. The reasons I'm inquiring about this is I think the PHP accelerator story is very interesting.

I too had been a content user of IonCube PHPA, but when it had been nearly a year since their last release, I got interested in Turck and the active development (and support for PHP5 early releases). I wanted to use the latest releases of PHP which Turck did thorough testing on. Unfortunately, the author of Turck (Dimitri Stogov) was recently hired by Zend and left the project in a lurch (as he was the sole contributor). Several adventurous souls are trying to pick up development of Turck on SourceForge, but it remains to be seen if they can manage such complex code.

More interesting is the fact that the author of PHPA (Nick Linridge) is now on the developer list for Turck MM Cache on Sourceforge although it doesn't appear that he is doing any coding on Turck. In some of the forums, it has been suggested that PHPA may be abandoned in favor of Turck. It is also possible that he may simply use Turck and release it under the PHPA banner since Turck has support of PHP5.

So, anyway, what all this has left me is with the conclusion that at this point in time, APC is the only free accelerator that is _currently maintained and developed_ which is why I running APC now.

Does anyone else have any insight as to the future of PHPA? Also, is anyone running this successfully with PHP 4.3.6?

Thanks and sorry for the long post!
John