This topic is locked
[SOLVED]

Recommended procedure for migration to next version PHP 8/8.1

9/5/2022 4:25:04 PM
PHPRunner General questions
Dalkeith author

Just wondering if there is any advice if I want to take an existing application from PHP 7.4 to PHP 8.x

I presume I need a machine with PHP 8.1 on it build it locally and then publish to a server with the same version..

Is there any guidance on setup of the initial local machine..??

Thanks in advance

Dalkeith author 9/6/2022

Thanks Fhumanes do you have anything which is a bit more on step by step what you did?

rather than

I decided to do it I did it and it was successful..

Dalkeith author 9/6/2022

One important question

I take it you can't have php7.4 and php 8.1 on the same computer unless you do something with VMs??

OK I went off and did a bit more research and found this video

Video of installing php 8.1

Is there a particular version of PHP 8 which you suggest is better??

Admin 9/7/2022

Tons of misinformation here. You have multiple (unlimited ) versions of PHP installed on a single machine and switch between them at your will. Simply install PHP 8.x and test your project. Just make sure that you use the latest version of PHPRunner (10.8 ), if you want to use PHP8.x.

Dalkeith author 9/8/2022

Thank you Xline

One more question

How do I switch between versions of PHP??

Admin 9/8/2022

It all depends on what OS and what web server do you use. For instance, for a typical Windows setup with IIS you can Google something simple as "iis upgrade php". And one of the first results gives all the info you need.

Dalkeith author 9/9/2022

Thank you Xline