how to move to php 5.6.x with XAMPP 7.0.5

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

how to move to php 5.6.x with XAMPP 7.0.5

Postby cagnaluia » 06. May 2016 08:11

Hello,

I know, XAMPP 7.0.5 comes with PHP7.x support.

I'm using it with Wordpress , but today I've figured out that osTicket doesn't support PHP7.x..

So I have no choice to downgrade to 5.6.x PHP version.
But I wouldn't to reinstall a different version of XAMPP because I'm worry about wordpress installation and mysql data stored.

Is there another way?
What do you suggest?


thx
cagnaluia
 
Posts: 2
Joined: 06. May 2016 08:04
XAMPP version: 7.0.5
Operating System: windows

Re: how to move to php 5.6.x with XAMPP 7.0.5

Postby Altrea » 06. May 2016 10:57

Hi,

cagnaluia wrote:But I wouldn't to reinstall a different version of XAMPP because I'm worry about wordpress installation and mysql data stored.

There are two possibilities:
1. install a second XAMPP version side by side to the first one (there are some disadvantages if you want to run them both simultaniously)
2. add a second PHP version with CGI or FCGI (but that would be much more complicated than reinstall to migrate to a lower PHP version)

Dumping and restoring a webapplication including it's database is a base knowledge task so maybe you should try to learn this earlier than later.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: how to move to php 5.6.x with XAMPP 7.0.5

Postby cagnaluia » 10. May 2016 13:29

thx, ok.

I'll try to install mySQL and copy the data from mysql@xampp to the new standalone mysql.
I'll uninstall xampp 7 and reinstall xampp 5.x with only apache
cagnaluia
 
Posts: 2
Joined: 06. May 2016 08:04
XAMPP version: 7.0.5
Operating System: windows

Re: how to move to php 5.6.x with XAMPP 7.0.5

Postby Altrea » 10. May 2016 15:15

I don't understand why you want to do that. Why a standalone MySQL installation?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: how to move to php 5.6.x with XAMPP 7.0.5

Postby gsmith » 10. May 2016 17:59

Just my 2 cents.
mod_fcgid is a good way to go, you can run any number of PHP versions with a single xampp instalation. The various php versions can be configured per virtualhost, directory, per file or file extension.

Remember that php 5.6 is VC11 (2012) so you would need to install the VC11 redistributable also.
gsmith
 
Posts: 194
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 70 guests