logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: eAccelerator for php-5.2.9-1 and 5.2.9-2 Page Previous  1, 2
Author
muerte



Joined: 12 Jan 2006
Posts: 37

PostPosted: Sun 05 Apr '09 23:51    Post subject: Reply with quote

Very interesting!

I downloaded the Uniform Server (Mona 4.1), the eaccelerator.dll used inside seems to be the same as the one earlier Chris has (sitebuddy) build.(check CRC)

I extracted the eaccelerator.dll and tried to load it in my setup, but just like before, no surprise it crashed Sad
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Mon 06 Apr '09 0:03    Post subject: Reply with quote

Yes, it failed here too Sad

You had my hopes up!
Back to top
lollog



Joined: 05 Apr 2009
Posts: 2

PostPosted: Mon 06 Apr '09 0:32    Post subject: Reply with quote

Well it seems to work fine in their setup . Here is a screenshot from the bottom of my control.php "http://img2.pict.com/46/04/32/2baed18015049449571e970c99/GiVRg/5291.jpg"
Back to top
muerte



Joined: 12 Jan 2006
Posts: 37

PostPosted: Mon 06 Apr '09 10:58    Post subject: Reply with quote

Perhaps they have another build of php, because not only the eaccelerator.dll won't load in my setup, even the libmysql.dll is different from the official release of php.net Shocked
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Wed 08 Apr '09 21:46    Post subject: Reply with quote

Here we go again, PHP 5.2.9-2 released:

http://www.php.net/

Of course, they say no new source code again, which seems to be the EAC problem. Sad
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Fri 10 Apr '09 1:12    Post subject: Reply with quote

Just to make sure, I tested 5.2.9-2 and it doesn't work either.
Back to top
Pierre



Joined: 23 Dec 2008
Posts: 23

PostPosted: Mon 13 Apr '09 0:00    Post subject: Reply with quote

Smitty wrote:
Just to make sure, I tested 5.2.9-2 and it doesn't work either.


Yes, as I said earlier in this thread. I can't check EAC code myself but I'm sure they are checking the exact version of PHP instead of using the Zend&PHP API version. That's definitively wrong.
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 612
Location: Milford, MA, USA

PostPosted: Mon 13 Apr '09 4:53    Post subject: Reply with quote

Yes - eAccelerator apparently checks the exact version of PHP, and "5.2.9" doesn't match "5.2.9-2".

I built eAccelerator 0.9.5.3 using the PHP 5.2.9 source. It was necessary to change the PHP 5.2.9 source to make the PHP constant PHP_VERSION be "5.2.9-2" instead of "5.2.9". I don't think the PHP folks are telling the truth about 'no source code changes'. They seem to have changed the php_version.h header file.

This worked OK for me. The win32 binary is here if you want to give it a try. I built it with VC6 (to match PHP) rather than with VC9 (which is used to build Apache Lounge binaries).

-tom-
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Mon 13 Apr '09 5:24    Post subject: Reply with quote

Tom,

I just tested your DLL and it works great! Thank you so much for building it for us.

Hopefully we don't have any more of these "no source code changes" Windows builds of PHP.
Back to top
Pierre



Joined: 23 Dec 2008
Posts: 23

PostPosted: Mon 13 Apr '09 14:55    Post subject: Reply with quote

tdonovan wrote:
I don't think the PHP folks are telling the truth about 'no source code changes'. They seem to have changed the php_version.h header file.


Yes, that's the only change and it is necessary to reflect the actual version being used. But there is no API change, no feature change, no behavior change. Even version_compare works as expected.

With the risk to repeat myself, EAC should really use Zend&PHP API version number as well as BUILD_ID (for 5.3+) instead of doing this comparison.

NB: I'm the one making this windows release Smile

Cheers,
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 612
Location: Milford, MA, USA

PostPosted: Mon 13 Apr '09 19:57    Post subject: Reply with quote

Hi Pierre,

re:"I'm the one making this windows release"

It isn't clear what you mean. Are you the one making this release of eAccelerator? of PHP? of something else?

re: "With the risk to repeat myself, EAC should really use Zend&PHP API version number"

Perhaps it would be more helpful to repeat this to the eAccelerator people at http://www.eaccelerator.net or maybe to the PHP people at http://www.php.net . Repeating it here on Apache Lounge isn't likely to cause any changes in eAccelerator or PHP. We just use these tools, and patch what we must to get them running. If you have a specific way that you would like to see this fixed, then logging a bug with either eAccelerator or PHP could be a better way to influence them.

Regards,
-tom-
Back to top
Pierre



Joined: 23 Dec 2008
Posts: 23

PostPosted: Mon 13 Apr '09 20:44    Post subject: Reply with quote

hi Tom.

tdonovan wrote:
Hi Pierre,

re:"I'm the one making this windows release"

It isn't clear what you mean. Are you the one making this release of eAccelerator? of PHP? of something else?


I do the PHP windows releases (or most of them).

tdonovan wrote:

re: "With the risk to repeat myself, EAC should really use Zend&PHP API version number"

Perhaps it would be more helpful to repeat this to the eAccelerator people at http://www.eaccelerator.net or maybe to the PHP people at http://www.php.net . Repeating it here on Apache Lounge isn't likely to cause any changes in eAccelerator or PHP. We just use these tools, and patch what we must to get them running. If you have a specific way that you would like to see this fixed, then logging a bug with either eAccelerator or PHP could be a better way to influence them.

Regards,
-tom-


I can't read and won't read GPL source codes, I do not use EAC either so I won't be able to help too much here, besides some advices Smile

Cheers,
Back to top
ileadu



Joined: 05 Dec 2008
Posts: 19

PostPosted: Sat 18 Apr '09 23:31    Post subject: Reply with quote

i have submited my compiled ea for php 5.2.9-2

http://www.badongo.com/file/14526389

I use it
No problem
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3096
Location: Hilversum, NL, EU

PostPosted: Sun 19 Apr '09 13:31    Post subject: Reply with quote

We had already one from From, see www.apachelounge.com/viewtopic.php?t=2970

Steffen
Back to top
ileadu



Joined: 05 Dec 2008
Posts: 19

PostPosted: Fri 19 Jun '09 9:19    Post subject: Reply with quote

php5.2.10 is released

please help compile it.

3Q
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Fri 19 Jun '09 16:19    Post subject: Reply with quote

It would be great if someone could compile it for the new PHP. Thanks!
Back to top
muerte



Joined: 12 Jan 2006
Posts: 37

PostPosted: Fri 19 Jun '09 22:22    Post subject: Reply with quote

ileadu wrote:

...

3Q


Did you mean 三Q(san Q)? because I think not everyone can understand Japanese-Chinese, so if you want to say thanks, just say "thank you" so people could understand you better, even THX(thanks) makes sense. Laughing

to this topic:

yes we losers cannot compile the eAccelerator ourself, so somebody please help~~

thanks alot! Cool
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3096
Location: Hilversum, NL, EU

PostPosted: Sat 20 Jun '09 19:51    Post subject: Reply with quote

On twitter @ApacheLounge you can follow the status of building and testing.

Steffen
Back to top
muerte



Joined: 12 Jan 2006
Posts: 37

PostPosted: Sat 20 Jun '09 20:35    Post subject: Reply with quote

I saw the status on twitter. Very Happy

Thank you Steffen, thank you Tom!
Back to top


Reply to topic   Topic: eAccelerator for php-5.2.9-1 and 5.2.9-2 View previous topic :: View next topic
Post new topic   Forum Index -> Other Software Page Previous  1, 2