Upgrade php 5.3.1 to 5.3.2

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Upgrade php 5.3.1 to 5.3.2

Postby ArVie » 09. March 2010 13:41

I want to upgrade my MediaWiki to version 1.15.2, but it does not support the (buggy) php version 5.3.1. And that is exactly the version running on my XAMPP installation. ;-)

Is there a (simple) upgrade patch from php version 5.3.1 to version 5.3.2?
ArVie
 
Posts: 2
Joined: 09. March 2010 13:37

Re: Upgrade php 5.3.1 to 5.3.2

Postby Omega » 10. March 2010 09:41

I have the same problem here.

I was planning to start using MediaWiki.
How can it be fixed?

PHP 5.3.1 is not compatible with MediaWiki due to a bug involving reference parameters to __call. Upgrade to PHP 5.3.2 or higher, or downgrade to PHP 5.3.0 to fix this. ABORTING (see http://bugs.php.net/bug.php?id=50394 for details)
Omega
 
Posts: 3
Joined: 10. March 2010 09:07

Re: Upgrade php 5.3.1 to 5.3.2

Postby STB » 10. March 2010 09:50

I also have the same problem if there's a solution that would be great. :)
STB
 
Posts: 1
Joined: 10. March 2010 09:46

Re: Upgrade php 5.3.1 to 5.3.2

Postby addACUMEN » 10. March 2010 15:13

Have you tried downloading 5.3.2 from php.net?

I have previously swapped a later version of PHP for an earlier buggy one simply by replacement with suitable safeguards.

HTH
Thank you for your help

Tony D
addACUMEN
 
Posts: 15
Joined: 02. March 2007 22:26
Location: Wengen, Switzerland

Re: Upgrade php 5.3.1 to 5.3.2

Postby ArVie » 10. March 2010 15:28

Yes, I did.

But, when I replace the PHP folder with the new files, Apache won't start anymore. A lo tof errors pop-up in the kind of php_etcetera.dll not found. Althoug my php/ini is NOT replaced.
ArVie
 
Posts: 2
Joined: 09. March 2010 13:37

Re: Upgrade php 5.3.1 to 5.3.2

Postby addACUMEN » 10. March 2010 15:55

Did you download the binaries from http://windows.php.net/download/?
Thank you for your help

Tony D
addACUMEN
 
Posts: 15
Joined: 02. March 2007 22:26
Location: Wengen, Switzerland

Re: Upgrade php 5.3.1 to 5.3.2

Postby Tyrael » 10. March 2010 17:18

Ok, so this is how I done it:
download http://windows.php.net/downloads/releas ... C6-x86.zip
unpack it to the xampp/php directory
copy(and overwrite) the *.dll from xampp/php to xampp/apache/bin
overwrite xampp/php/dev/lib/php5ts.lib with xampp/php/dev/php5ts.lib
comment out the following extensions from your php.ini:
php_mcrypt.dll // already loaded
php_pdo.dll // already loaded
php_zip.dll // some funny error about pcre_exec missing in php5ts.dll
php_pdo_* not working, but I dont need that atm.
everything else works fine for me, after this steps.

Tyrael
Tyrael
 
Posts: 5
Joined: 23. June 2007 15:51

Re: Upgrade php 5.3.1 to 5.3.2

Postby Omega » 12. March 2010 22:24

Tyrael wrote:Ok, so this is how I done it:
  • download http://windows.php.net/downloads/releas ... C6-x86.zip
  • unpack it to the xampp/php directory
  • copy(and overwrite) the *.dll from xampp/php to xampp/apache/bin
  • overwrite xampp/php/dev/lib/php5ts.lib with xampp/php/dev/php5ts.lib
  • comment out the following extensions from your php.ini:
    • php_mcrypt.dll // already loaded
    • php_pdo.dll // already loaded
    • php_zip.dll // some funny error about pcre_exec missing in php5ts.dll
    • php_pdo_* not working, but I dont need that atm.
everything else works fine for me, after this steps.
Tyrael


it indeed works for my.

thanks.
Omega
 
Posts: 3
Joined: 10. March 2010 09:07

Re: Upgrade php 5.3.1 to 5.3.2

Postby xpd » 15. March 2010 01:56

It seemed to work for me on one machine, but when I tried on another, Apache refuses to start - looking at SCM it says "Starting" but never does :(

Anyone else come across this ?
xpd
 
Posts: 1
Joined: 15. March 2010 01:54

Re: Upgrade php 5.3.1 to 5.3.2

Postby Omega » 16. March 2010 09:21

what dos it say if you start "\xampp\apache_start.bat"?
Omega
 
Posts: 3
Joined: 10. March 2010 09:07

Re: Upgrade php 5.3.1 to 5.3.2

Postby Cone » 24. March 2010 12:26

Tyrael wrote:Ok, so this is how I done it:
download http://windows.php.net/downloads/releas ... C6-x86.zip
unpack it to the xampp/php directory
copy(and overwrite) the *.dll from xampp/php to xampp/apache/bin
overwrite xampp/php/dev/lib/php5ts.lib with xampp/php/dev/php5ts.lib
comment out the following extensions from your php.ini:
php_mcrypt.dll // already loaded
php_pdo.dll // already loaded
php_zip.dll // some funny error about pcre_exec missing in php5ts.dll
php_pdo_* not working, but I dont need that atm.
everything else works fine for me, after this steps.


I followed this steps, but still have Version 5.3.1 shown in phpinfo().
What went wrong?

Edit: On localhost it's php 5.3.2. That's confusing me...............
Cone
 
Posts: 1
Joined: 24. March 2010 12:16

Re: Upgrade php 5.3.1 to 5.3.2

Postby reizerg » 26. March 2010 12:34

Cone wrote:
Tyrael wrote:Ok, so this is how I done it:
download http://windows.php.net/downloads/releas ... C6-x86.zip
unpack it to the xampp/php directory
copy(and overwrite) the *.dll from xampp/php to xampp/apache/bin
overwrite xampp/php/dev/lib/php5ts.lib with xampp/php/dev/php5ts.lib
comment out the following extensions from your php.ini:
php_mcrypt.dll // already loaded
php_pdo.dll // already loaded
php_zip.dll // some funny error about pcre_exec missing in php5ts.dll
php_pdo_* not working, but I dont need that atm.
everything else works fine for me, after this steps.


I followed this steps, but still have Version 5.3.1 shown in phpinfo().
What went wrong?

Edit: On localhost it's php 5.3.2. That's confusing me...............

I have the same problem! I followed these steps as well, but the Version of PHP is 5.3.1 instead of 5.3.2.

One step I could not do: "overwrite xampp/php/dev/lib/php5ts.lib with xampp/php/dev/php5ts.lib"
I did not find any php5ts.lib in "xampp/php/dev/php5ts.lib" folder.
My configuration:
# Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
# MySQL client version: 5.1.41
reizerg
 
Posts: 1
Joined: 26. March 2010 12:27

Re: Upgrade php 5.3.1 to 5.3.2

Postby b_w_johan » 30. March 2010 20:08

Followed all steps as tyreal explained.
Doesn't work :'( the control panel shows:

busy...
service started
busy...
service started

but the button doesn't come up green like the mysql one does, and it did before i updated.

if i try to start manually i get this:

D:\xampp>xampp_cli.exe start apache
Starting "apache"...
"apache" is not started.

it freezes a minute on Starting "apache" ... then shows it doesn't start.

if i do WHILE this thingy starts apache the same but restart it shows the following:

D:\xampp>xampp_cli.exe restart apache
Restarting "apache"...
Can't find process "D:\xampp\apache\bin\httpd.exe".


Any solution to the fact that httpd.exe doesn't start?

-- update --

tried to start httpd manually as well, error on line 126 (or something)
LoadModule ssl_module modules/mod_ssl.so << this line can't remember the number and don't wanna count the lines in the file ;)

after that i tried to restart it, now 2 errors; 1 on line 460
Include "conf/extra/httpd-xampp.conf"

and some other i can't remember ... So any suggestions how its possible httpd.exe doesn't work anymore after updating php ?

--update 2 --



after carefully re-reading the post, i noticed i took c9? and youre talking about C6

Is it that what causes the problem? i've put everything back as it used to be, hoping someone here can help me out. Thanks in advance,
b_w_johan
 
Posts: 2
Joined: 30. March 2010 20:03

Re: Upgrade php 5.3.1 to 5.3.2

Postby b_w_johan » 31. March 2010 18:08

So did anyone find a fix, or should i retry with the C6 version of php 5.3.2 ?
b_w_johan
 
Posts: 2
Joined: 30. March 2010 20:03

Re: Upgrade php 5.3.1 to 5.3.2

Postby rk » 07. April 2010 01:18

Yes, it works using VC6.

If Tyrael's instructions still don't work, also copy php5apache2_2.dll and php5apache2_2_filter.dll from /xampp/php/ to /xampp/apache/modules/
rk
 
Posts: 2
Joined: 08. July 2008 18:54

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests