Author |
|
Smitty
Joined: 03 Jan 2008 Posts: 197
|
Posted: Tue 30 Jun '09 14:35 Post subject: PHP 5.3.0 Released |
|
|
PHP 5.3.0 is now out. Can you guys build eaccelerator for it? Thanks! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 30 Jun '09 16:59 Post subject: |
|
|
For me 5.3 is not that stable as 5.2. Some extensions crash if they are call or do not load into apache while startup.
With PHP over fcgid there was no problem, but as module. |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Wed 01 Jul '09 14:13 Post subject: |
|
|
I cant find the PECL for php 5.3.0 |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Wed 01 Jul '09 15:57 Post subject: |
|
|
re: "PHP 5.3.0 is now out. Can you guys build eaccelerator for it?"
PHP 5.3 changed so that eAccelerator is no longer compatible with it. The Zend-engine version changed from v2.2.0 to v2.3.0 for PHP 5.3, and some of the internal PHP data structures that eAccelerator uses are changed or missing in the new version.
You might want to ask on the eAccelerator mailing lists if they plan to release a new version of eAccelerator which is compatible with PHP 5.3. Unfortunately, the eAccelerator developers' mailing list does not seem active lately - so I don't know how responsive they will be.
-tom- |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 01 Jul '09 16:22 Post subject: |
|
|
bentogoa wrote: | I cant find the PECL for php 5.3.0 |
The pecl4win.php.net server is out of order since some time. It is not sure when there are downloads again. |
|
Back to top |
|
Smitty
Joined: 03 Jan 2008 Posts: 197
|
Posted: Wed 01 Jul '09 18:10 Post subject: |
|
|
Ouch, thanks for the info Tom. eAccelerator hasn't had a new release for over a year now.
I wonder if it is a good time to switch over to APC? |
|
Back to top |
|
Brian White
Joined: 24 Aug 2008 Posts: 21
|
Posted: Wed 01 Jul '09 19:09 Post subject: |
|
|
I have a fairly recent version of APC (that works with Apache 2.2.x from Apache lounge) if anyone is interested. It's been very stable; however, when I benchmarked it several years ago, it isn't quite as fast as eAccelerator. (But, unlike eAccelerator, it works with all of my PHP code.)
So far, I have been unsuccessful getting PHP 5.3 to work with APC. It has been VERY unstable when running as an Apache module even without APC. I'm sure the problem is due to incompatible extensions; however, pecl4win.php.net has been offline for over six months so it's probably going to be a trial and error process to find out what works and what doesn't.
Also, neither the VC6 or VC9 version like the ApacheLounge build of Apache. I haven't done a lot of investigation yet; everything is just so buggy it's frustrating. |
|
Back to top |
|
Smitty
Joined: 03 Jan 2008 Posts: 197
|
Posted: Wed 01 Jul '09 20:14 Post subject: |
|
|
Thanks for the info Brian. It looks like PHP 5.3.0 isn't very stable yet. |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Thu 02 Jul '09 6:44 Post subject: |
|
|
James Blond wrote: | For me 5.3 is not that stable as 5.2. Some extensions crash if they are call or do not load into apache while startup.
With PHP over fcgid there was no problem, but as module. |
Have u tried running with only the extensions shipped with 5.3.0 or
have u used extensions from PECL 5.2.6 ? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 02 Jul '09 9:38 Post subject: |
|
|
I tried once all extension also included the old PECL from 5.2.6 did not work. For some reason also some 5.3.0 extensions crashed. Today I give it another try with a fresh installation and no extension at all.
For me I found out that E_STRICT setting for error reporting produces crashing. in 5.2.9 it was ok, but since 5.2.9-1 I had some trouble with that. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 02 Jul '09 10:43 Post subject: |
|
|
I gave it another shot. the VS6 and VS6 build (both threadsafe).
Also without extensions, it crashed apache with every php page. I wonder yesterday I was able to run simple scripts.
Maybe it is my system or apache.
Can anyone verify that? |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Thu 02 Jul '09 12:24 Post subject: |
|
|
it looks like the mysql extension shipped with php 5.3.0 is the caused for crash.
I tried runing without it -- It worked find.
than i loaded only one extension php_mysql.dll
Pages which have no mysql code works find, pages having mysql code crashes.
UPDATE:
I went deeper into the problem, it look like if mysql_close is called without link identifier php_mysql.dll crashes.
A bug report has been submited http://bugs.php.net/bug.php?id=48772 |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Fri 03 Jul '09 9:47 Post subject: |
|
|
James Blond wrote: | I gave it another shot. the VS6 and VS6 build (both threadsafe).
Also without extensions, it crashed apache with every php page. I wonder yesterday I was able to run simple scripts.
Maybe it is my system or apache.
Can anyone verify that? |
if u are using apache from Apache Lounge thats the cause, none of the php 5.3.0 downloaded from php.net works with apache from Apache Lounge. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 03 Jul '09 11:58 Post subject: |
|
|
I tried apache from apache.org with PHP 5.3 and it crashed instantly. Maybe my dev box has an issue. I try that at home this evening or at the weekend on a fresh XP installation. |
|
Back to top |
|
Thog
Joined: 12 Feb 2007 Posts: 75 Location: Montreal
|
Posted: Fri 03 Jul '09 21:40 Post subject: Flaw |
|
|
I can't get PHP 5.3.0 to work either... Wasted about 3 hours trying... Even a fresh install crashed when pages loaded.
On another note, I also have problems with PHP 5.2.10 crashing very often... I'm using PHP 5.2.9 which works fine... One of the older DEV's of PHP 5.2.10-DEV works fine also...
It's strange that they don't have some kind of script which runs every command in every possible way to see if it works alright and the answer or result is what it should be... It seems to be something which would help them for the future. |
|
Back to top |
|
zx9
Joined: 18 Mar 2009 Posts: 33 Location: uruguay
|
Posted: Sat 04 Jul '09 11:23 Post subject: For me run OK |
|
|
I have Apache 2.2.11a from ApacheLounge + MySql 5.1.35 + php 5.3
For me run like a charm. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 06 Jul '09 9:46 Post subject: |
|
|
Which OS do you run? Do you realy use PHP 5.3 as module in apache? Which extensions do you load in php.ini? |
|
Back to top |
|
zx9
Joined: 18 Mar 2009 Posts: 33 Location: uruguay
|
Posted: Tue 07 Jul '09 23:51 Post subject: |
|
|
@James Blond
win xp Pro 32 SP3; yesterday i upgrade MySql 5.1.36
apache\bin\php5apache2_2.dll
php\ext\
php_curl.dll
php_gd2.dll
php_mbstring.dll
php_mysql.dll
php_mysqli.dll
php_openssl.dll |
|
Back to top |
|
Foddex
Joined: 08 Jul 2009 Posts: 1
|
Posted: Wed 08 Jul '09 9:01 Post subject: |
|
|
I've been using PHP 5.3.0 (downloaded from php.net) succesfully. I run Windows XP SP3 (I've been outsourced to a Microsoft loving customer ).
However, I haven't been able to locate a APC windows build for 5.3 yet. And my old php_apc.dll for 5.2.5 doesn't work (I knew it probably wouldn't, but I tried it anyway, cause I really need APC ).
Anyone aware of a APC build for 5.3 for Windows? |
|
Back to top |
|
hydn79
Joined: 28 Apr 2007 Posts: 19
|
Posted: Fri 17 Jul '09 6:27 Post subject: |
|
|
anyone found EA build yet? |
|
Back to top |
|