PHP 5.3
Posted by: Dr4g (---.static.telewest.net)
Date: June 26, 2009 03:55PM

Can the author(s) of Wampserver please introduce a PHP 5.3 version. It's official release date is set to. 30th June 2009.
Thanks.
Paul Dragoonis.

Options: ReplyQuote
Re: PHP 5.3
Posted by: dyrer (---.dsl.hol.gr)
Date: June 29, 2009 03:01PM

I hope soon after 5.3 release will have Wamp with 5.3 support

Options: ReplyQuote
Re: PHP 5.3
Posted by: Bulle Bas (---.solcon.nl)
Date: June 30, 2009 02:23PM

PHP 5.3 is OUT!!!! I am very excited. I hope WAMP will pick up soon!

Options: ReplyQuote
Re: PHP 5.3
Posted by: yfastud (Moderator)
Date: June 30, 2009 03:19PM


Options: ReplyQuote
Re: PHP 5.3
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: June 30, 2009 09:18PM

FYI when downloading php5.3 make sure you go to the new Windows php.net site
[windows.php.net]

The version you need to download is labeled "VC6 x86 Thread Safe" (w/o quotes) and you should download the zip package. Extract the contents of the zip to C:\wamp\bin\php\php5.3.0

WARNING: DO NOT use the VC9 distrobutin this is for IIS only.

Options: ReplyQuote
Re: PHP 5.3
Posted by: Waher (---.16.191.90.dyn.estpak.ee)
Date: June 30, 2009 11:07PM

Could you please give some additional? Placing it in the given directory does not help.

Where do I get the php.ini files, wampserver configuration files and apache php.ini?



Edited 1 time(s). Last edit at 06/30/2009 11:27PM by Waher.

Options: ReplyQuote
Re: PHP 5.3
Posted by: Waher (---.16.191.90.dyn.estpak.ee)
Date: June 30, 2009 11:15PM

Well, I renamed php.ini-production file into php.ini, made a duplicate phpForApache.ini and copied wampserver.conf from earlier release. Is anything else necessary? It showed up in Wampserver, but I'd like to be sure.

I also noticed a vast difference of extensions in 5.2.9-2 and 5.3? Is it because the other extensions aren't compatible with 5.3 or they aren't simply included?

Thanks!



Edited 3 time(s). Last edit at 06/30/2009 11:30PM by Waher.

Options: ReplyQuote
Re: PHP 5.3
Posted by: dyrer (---.dsl.hol.gr)
Date: July 01, 2009 05:03PM

Any update on WAMP with PHP 5.3?

Options: ReplyQuote
Re: PHP 5.3
Posted by: dyrer (---.dsl.hol.gr)
Date: July 01, 2009 06:45PM

and there is an update on phpmyadmin (newest version 3.2.0.1)

Options: ReplyQuote
Re: PHP 5.3
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 01, 2009 07:29PM

dyrer Wrote:
-------------------------------------------------------
> and there is an update on phpmyadmin (newest
> version 3.2.0.1)

Updating phpmyadmin is simple. Just download the newest release (zip archive) and extract the archive to C:/wamp/apps/phpmyadmin<VERSION NUMBER>

Now just update the phpmyadmin.conf in C:/wamp/alias/ to point to the new version. You should then copy over your existing config.inc.php to the new version too. phpMyAdmin is updated.


Waher Wrote:
-------------------------------------------------------
> Well, I renamed php.ini-production file into
> php.ini, made a duplicate phpForApache.ini and
> copied wampserver.conf from earlier release. Is
> anything else necessary? It showed up in
> Wampserver, but I'd like to be sure.

Yes that is what you needed, Sorry I forgot to mention that earlier. However you should of used the php.ini-development file instead.

Another step you need to do is edit your phpForApache.ini and setup the extension_dir directive to point to your php5.3 ext folder. So find the following line

; extension_dir = "./"

Change the ./ to C:/wamp/bin/php/php5.3.0/ext

Save the file and restart Apache service.

Waher Wrote:
-------------------------------------------------------
> I also noticed a vast difference of extensions in
> 5.2.9-2 and 5.3? Is it because the other
> extensions aren't compatible with 5.3 or they
> aren't simply included?
>
> Thanks!

When downloading PHP from php.net it comes with the most common extensions, more can be downloaded from pecl.php.net . You should only use/download extra extension if you actually need them.

NOTE: Before using php5.3 you should read up on the changes that have been made by reading the migration guide > php.net/migration53

Options: ReplyQuote
Re: PHP 5.3
Posted by: Waher (---.16.191.90.dyn.estpak.ee)
Date: July 01, 2009 11:07PM

Thank you for the detailed reply, I got it working now without problems smiling smiley

Options: ReplyQuote
Re: PHP 5.3
Posted by: MattRogowski (---.range217-42.btcentralplus.com)
Date: July 07, 2009 03:46PM

I did what was said here, downloaded 5.3.0, copied the relevant .ini files etc, changed what needed to be changed, and 5.3.0 shows in the list oh PHP versions, but Apache doesn't start sad smiley

Options: ReplyQuote
Re: PHP 5.3
Posted by: Bulle Bas (---.solcon.nl)
Date: July 07, 2009 08:02PM

@ MattRogowski
Look at the Apache error log for information.

Options: ReplyQuote
Re: PHP 5.3
Posted by: bfarber (---.lyncva.east.verizon.net)
Date: July 07, 2009 10:24PM

I'm seeing the same thing as MattRogowski.

I downloaded "VC6 x86 Thread Safe" zip package and unzipped it locally.
I copied the files to c:/wamp/bin/php/php5.3.0/
I copied over wampserver.conf and phpForApache.ini from the php5.2.9-2 directory I had.
Edited extensions dir in phpForApache.ini
Renamed php.ini-development to php.ini and set extensions dir in it.

Exited WAMP and relaunched. Whenever I try to use the 5.3.0 installation, Apache crashes. Apache error log shows

[Tue Jul 07 16:03:12 2009] [warn] pid file C:/wamp/bin/apache/apache2.2.8/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

I noticed in the appcompat.txt file that would have been sent that php5isapi.dll was still php5.2.9.9 instead of php5.3.0 like php5ts.dll was. In the PHP 5.3.0 download there is no php5isapi.dll however.

My php 5.3.0 dlls seem to get copied over to C:\wamp\bin\apache\apache2.2.8\bin but with the php 5.2.9.9 php5isapi.dll file. Not sure if it's relevant or not (I only code in PHP winking smiley ).

Options: ReplyQuote
Re: PHP 5.3
Posted by: MattRogowski (---.range217-42.btcentralplus.com)
Date: July 08, 2009 12:44AM

This is what's in my error log:

[Tue Jul 07 23:42:45 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Jul 07 23:42:45 2009] [notice] Child 4228: Exit event signaled. Child process is ending.
[Tue Jul 07 23:42:46 2009] [notice] Child 4228: Released the start mutex
[Tue Jul 07 23:42:47 2009] [notice] Child 4228: All worker threads have exited.
[Tue Jul 07 23:42:47 2009] [notice] Child 4228: Child process is exiting
[Tue Jul 07 23:42:47 2009] [notice] Parent: Child process exited successfully.

Not really sure what to make of that, isn't too clear on what's actually going wrong.

Options: ReplyQuote
Re: PHP 5.3
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 08, 2009 07:39PM

bfarber Wrote:
-------------------------------------------------------
I copied over wampserver.conf and phpForApache.ini from the php5.2.9-2 directory I had.

Do not use the phpForApache.ini from your existing PHP version. Instead you shold rename the file called php.ini-development.ini in you PHP5.3 folder to just php.ini and then setup the extension_dir directive.

You should then rename this file again to phpForApache.ini

When enabling PHP extensions, enable them one by one for PHP5.3 from the WAMP tray menu. Do not use PHP extensions from past PHP versions, these are not compatible.

Options: ReplyQuote
Re: PHP 5.3
Posted by: dblock247 (---.dyn.optonline.net)
Date: July 09, 2009 11:42PM

bfarber Wrote:
-------------------------------------------------------
> I'm seeing the same thing as MattRogowski.
>
> I downloaded "VC6 x86 Thread Safe" zip package and
> unzipped it locally.
> I copied the files to c:/wamp/bin/php/php5.3.0/
> I copied over wampserver.conf and phpForApache.ini
> from the php5.2.9-2 directory I had.
> Edited extensions dir in phpForApache.ini
> Renamed php.ini-development to php.ini and set
> extensions dir in it.
>
> Exited WAMP and relaunched. Whenever I try to use
> the 5.3.0 installation, Apache crashes. Apache
> error log shows
>
> pid file
> C:/wamp/bin/apache/apache2.2.8/logs/httpd.pid
> overwritten -- Unclean shutdown of previous Apache
> run?
> PHP Warning: Directive 'magic_quotes_gpc' is
> deprecated in PHP 5.3 and greater in Unknown on
> line 0
>
> I noticed in the appcompat.txt file that would
> have been sent that php5isapi.dll was still
> php5.2.9.9 instead of php5.3.0 like php5ts.dll
> was. In the PHP 5.3.0 download there is no
> php5isapi.dll however.
>
> My php 5.3.0 dlls seem to get copied over to
> C:\wamp\bin\apache\apache2.2.8\bin but with the
> php 5.2.9.9 php5isapi.dll file. Not sure if it's
> relevant or not (I only code in PHP winking smiley ).


I had the same problem i reinstalled wamp fresh and tried again and it worked fine. but i do have this one problem. after i copied all the nessisary files over. i load a page and my error message is this

Call to undefined function mysql_connect()

but if i switch back to php 5.2.9-2 i dont get that error everything works just fine. any idea whats going wrong?

Options: ReplyQuote
Re: PHP 5.3
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 09, 2009 11:47PM

You need to renable the mysql extension for PHP5.3

Options: ReplyQuote
Re: PHP 5.3
Posted by: Hylsan (---.hassleholm.se)
Date: July 10, 2009 11:33AM

Id tried all above but I dont get php3 to show at 'localhost'.

In wampmanager.ini I find this under phpversion:
[phpVersion]
;WAMPPHPVERSIONSTART
Type: item; Caption: "-5.3.0"; Action: multi; Actions:switchPhp-5.3.0
Type: item; Caption: "5.2.9-2"; Action: multi; Actions:switchPhp5.2.9-2; Glyph: 13
Type: separator;
Type: item; Caption: "Get more..."; Action: run; FileName: "C:\WINDOWS\explorer.exe"; Parameters: "[www.wampserver.com];;
[switchPhp-5.3.0]
Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors waituntilterminated
Action: run; FileName: "c:/wamp/bin/php/php5.2.9-2/php-win.exe";Parameters: "switchPhpVersion.php -5.3.0";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated
Action: run; FileName: "c:/wamp/bin/php/php5.2.9-2/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated
Action: run; FileName: "net"; Parameters: "start wampapache"; ShowCmd: hidden; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
[switchPhp5.2.9-2]
Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors waituntilterminated
Action: run; FileName: "c:/wamp/bin/php/php5.2.9-2/php-win.exe";Parameters: "switchPhpVersion.php 5.2.9-2";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated
Action: run; FileName: "c:/wamp/bin/php/php5.2.9-2/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated
Action: run; FileName: "net"; Parameters: "start wampapache"; ShowCmd: hidden; Flags: waituntilterminated
Action: resetservices
Action: readconfig;

Anyone know whats wrong?
Thanks in advance!

/Hylsan

Options: ReplyQuote


Sorry, only registered users may post in this forum.