For Programmers: Free Programming Magazines  


Home > Archive > PHP Eaccelerator > April 2006 > Apache 2.2, PHP 5.1.2 question, 2nd attempt









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Apache 2.2, PHP 5.1.2 question, 2nd attempt
Ed Baer

2006-04-19, 7:11 pm

Guys / Girls,
I'm not sure if this is the correct way to get help, please forgive me
if it is not.
First let me state that I am not using any of the new features from PHP
5.1.2 in the code mentioned below. Most or all of the code is written
against PHP 4.3.x, so if that is the issue with 5.1x, I should not be
hitting it.
I am attempting to use eaccelerator-0.9.5-beta2 and PHP 5.1.2 on CentOS
4.3 with apache 2.2, if this is lunacy, please tell me what is the
newest apache and PHP that would be supported for code compiled on
eaccelerator-0.9.2a, PHP 5.0.3 and apache 1.3.3.
The version of eaccelerator I used is: eaccelerator-0.9.5-beta2, since
it looked like it was supposed to work with PHP 5.1.x. Again, this is
just my interpretation of what was said on the website.
I got all of this compiled and installed, but when I attempt to run
programs that were previously compiled using eaccelerator under PHP
5.0.3, I keep getting the message "PHP Fatal error: eAccelerator Loader
can't load code".
I scratched around in the loader.c file and put a bunch of debug
messages in there and found that it appears to be failing each time it
gets an opcode or function to decode.
Questions:
Can the newest eaccelerator run programs previously compiled under PHP
5.0.3 while it is currently running under 5.1.2?
If not, is there going to be backward compatibility in the near future?
Issues:
We have tens of thousands of lines of code in hundreds of programs
compiled under PHP 5.0.3 and eaccelerator that we would like to not have
to re-compile.
Any info you could give me would be greatly appreciated, I have spent my
entire Saturday trying to get this to work and I am beginning to get the
feeling it was for naught.
Thanks
ewb

==================================
Edward W. Baer
Always24x7.com
ed.baer@always24x7.com
==================================


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com