|
From: Bart V. <bar...@zo...> - 2006-04-16 09:20:28
|
Ed Baer wrote: > Guys / Girls, > =20 > I'm not sure if this is the correct way to get help, please forgive me = if it is not. > =20 > 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 a= gainst PHP 4.3.x, so if that is the issue with 5.1x I should not be hitti= ng it. > =20 > 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 newes= t Apache and PHP that would be supported for code compiled on eaccelerato= r-0.9.2a, PHP 5.0.3 and Apache 1.3.3. > =20 > 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 ju= st my interpretation of what was said on the website. > =20 > I got all of this compiled and installed, but when I attempt to run pro= grams that were previously compiled using eaccelerator under PHP 5.0.3, I= keep getting the message "PHP Fatal error: eAccelerator Loader can't lo= ad code". > =20 > I scratched around in the loader.c file and put a bunch of debug messag= es in there and found that it appears to be failing each time it gets an = opcode or function to decode. > =20 > Questions: > =20 > Can the newest eaccelerator run programs previously compiled under PHP = 5.0.3 while it is currently running under 5.1.2? > =20 > If not, is there going to be backward compatibility in the near future?= > =20 > Issues: > =20 > We have tens of thousands of lines of code in hundreds of programs comp= iled under PHP 5.0.3 and eaccelerator that we would like to not have to r= e-compile. > =20 > Any info you could give me would be greatly appreciated, I have spent m= y entire Saturday trying to get this to work and I am beginning to get t= he feeling it was for naught. > =20 > Thanks > =20 > ewb > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Edward W. Baer > ed...@al... > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hello, I didn't put it in the beta2 release notes but it was in the beta1 release notes and in the notes for 0.9.4. The encoder only works like it should would php 4, all other version are pretty much broken. Encoded scripts only work with the same PHP branch and even then sometimes it breaks. Between the encoder version you used and the current beta2 version there have been some changes in the internal encoding format. gr, Bart --=20 Bart Vanbrabant <bar...@zo...> PGP fingerprint: 093C BB84 17F6 3AA6 6D5E FC4F 84E1 FED1 E426 64D1 |