Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19276
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: PHP8 and PHP7 in Windows |
| Date | 2023-01-22 21:01 +0100 |
| Message-ID | <k35j05Fdl9sU5@mid.individual.net> (permalink) |
| References | <tqdo81$3hc6b$1@portraits.wsisiz.edu.pl> <k31tuvFr21sU1@mid.individual.net> <tqism8$1bjqi$1@portraits.wsisiz.edu.pl> |
Jivanmukta, 2023-01-22 09:38: > W dniu 21.01.2023 o 11:43, Arno Welzel pisze: >> Jivanmukta, 2023-01-20 09:52: >> >>> I installed in Windows 10 XAMPP with PHP 8.2.0 inside C:\xampp\php. >>> phpinfo shows C:\xampp\php\php.ini. >>> Then I installed PHP 7.4 inside C:\xampp\php74 with >>> mod_fcgid-2.3.10-win64-VS17 and I performed configuration tasks from >>> https://codebriefly.com/how-to-handle-multiple-php-versions-with-apache-server-on-windows. >>> What to do to see in phpinfo C:\xampp\php74\php.ini, (I still see 8.2.0 >>> and C:\xampp\php\php.ini)? >> >> What do you mean with "see"? If you want to have PHP 7.4 active for >> Apache you need to tell Apache which version to use. Usually this means >> disabling PHP 8.2 and enabling PHP 7.4. I don't know how "Windows 10 >> XAMPP" handles this but in Linux this is done by removing the symlink to >> php8.2-fpm.conf and enabling php7.4-fpm.conf with the following commands >> (as root or using sudo): >> >> a2disconf php8.2-fpm >> a2enconf php7.4-fpm >> >> Maybe there is a similar configuration file for "Windows 10 XAMPP" as well. >> > I know how to do it in Linux. I need a solution for Windows. (I have 2 > systems). Well - in Windows there must also be a handler for PHP configured in Apache. Search for it and change it. I don't know where XAMPP puts everything and I don't want to install it just to search for you. -- Arno Welzel https://arnowelzel.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar
PHP8 and PHP7 in Windows Jivanmukta <jivanmukta@poczta.onet.pl> - 2023-01-20 09:52 +0100
Re: PHP8 and PHP7 in Windows Arno Welzel <usenet@arnowelzel.de> - 2023-01-21 11:43 +0100
Re: PHP8 and PHP7 in Windows Arno Welzel <usenet@arnowelzel.de> - 2023-01-21 11:57 +0100
Re: PHP8 and PHP7 in Windows Jivanmukta <jivanmukta@poczta.onet.pl> - 2023-01-22 09:38 +0100
Re: PHP8 and PHP7 in Windows Arno Welzel <usenet@arnowelzel.de> - 2023-01-22 21:01 +0100
Re: PHP8 and PHP7 in Windows "J.O. Aho" <user@example.net> - 2023-01-22 21:32 +0100
Re: PHP8 and PHP7 in Windows V V V V V V V V V V V V V V V V V V <vvvvvvvvaaaaaaaaaaaaaaa@mail.ee> - 2023-01-28 09:05 -0800
Re: PHP8 and PHP7 in Windows Jerry Stuckle <stuckle.jerry@gmail.com> - 2023-01-22 18:53 -0500
csiph-web