How to Set Multiple PHP Versions in XAMPP

How to Set Multiple PHP Versions in XAMPP

Neutron Dev

1 год назад

40,355 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Soheil Salah
Soheil Salah - 19.10.2023 22:08

I tried your method and it's working perfectly I now have 3 versions of php 7.4, 8.0 and 8.1. Thank you dude you are a life saver

Ответить
vamshikrishna patel
vamshikrishna patel - 19.10.2023 10:27

after this my apachi is not working

Ответить
vamshikrishna patel
vamshikrishna patel - 19.10.2023 08:57

sir i have 2 projects to set up one am already working with having php 7.4 another i has to setup 8.1 does both version can handle in a single xampp ?

Ответить
Surendra Ojha
Surendra Ojha - 11.10.2023 08:19

when I changed my php version then I am getting this error
11:01:07 AM [Apache] Error: Apache shutdown unexpectedly.
11:01:07 AM [Apache] This may be due to a blocked port, missing dependencies,
11:01:07 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:01:07 AM [Apache] Press the Logs button to view error logs and check
11:01:07 AM [Apache] the Windows Event Viewer for more clues
11:01:07 AM [Apache] If you need more help, copy and post this
11:01:07 AM [Apache] entire log window on the forums

Ответить
Hugo Good News
Hugo Good News - 29.09.2023 14:57

I have two projects in different php version , how can I do to shift the php version depending that project I´ll work ?

Ответить
tokemusical
tokemusical - 10.09.2023 06:06

After doing this my .htaccess file does not work. The file was working in the old PHP with 'php_value include_path "C:/path/..."'. Now it does not work anymore. I tried setting "AllowOverride All" in the .conf file but nothing happened. How to solve?

Ответить
tokemusical
tokemusical - 07.09.2023 05:54

Nice! How can I do if want to work in some projects running the old PHP version? Should I delete the environment variables settled in the path??

Ответить
M Azfa Asykarulloh
M Azfa Asykarulloh - 11.08.2023 09:21

This is helpful, thank you

Ответить
JN
JN - 03.08.2023 06:45

how to switch the PHP version that I want to use?

Ответить
Thin Yadanar Su
Thin Yadanar Su - 13.07.2023 10:39

Is also the same that I would like to use laravel projects with different php versions? Can you answer me 🤩?

Ответить
Álvaro José Flores
Álvaro José Flores - 07.06.2023 21:46

Thank you! For sharing your resources and knowledge. Be healthy and successful! 👍🏻💪🏻

Ответить
Sheik Abdullah
Sheik Abdullah - 02.05.2023 15:14

how to switch versions ?

Ответить
MAHDI NOUIRA
MAHDI NOUIRA - 10.04.2023 17:34

how can i do that in mac

Ответить
bs
bs - 27.02.2023 01:36

What with 7.4 version? xD Tried with similar steps, but not working xd

Ответить
ismail KT
ismail KT - 18.02.2023 07:29

great

Ответить
Akshay Dhuri
Akshay Dhuri - 01.02.2023 16:25

this also work in Linux ? which php file we have to download for it in linux?

Ответить
Nahom Binyam
Nahom Binyam - 28.01.2023 13:31

Thanks very much. Im very grateful 👏👏

Ответить
Dalwinderjit Singh
Dalwinderjit Singh - 12.01.2023 12:32

Great Job, thank you very much

Ответить
Ondrasek
Ondrasek - 11.01.2023 18:03

thanks!

Ответить
Wai Pin Ng
Wai Pin Ng - 05.01.2023 09:27

works well, thank you so much!!

Ответить