Answer the question
In order to leave comments, you need to log in
How to install different version of php on xampp?
I have xampp with php 5.5, but I want to use the new version of php7 in it, what is the right way to change the apache config for this? Thank you.
Edited httpd-xampp.conf
LoadFile "C:/php7/php7ts.dll"
LoadFile "C:/php7/libpq.dll"
LoadModule php7_module "C:/php7/php7apache2_4.dll"
<IfModule php7_module>
PHPINIDir "C:/php7"
</IfModule>
C:\xampp\apache\bin>httpd.exe
httpd.exe: Syntax error on line 519 of C:/xampp/apache/conf/httpd.conf: Syntax e
rror on line 18 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load C:/p
hp7/php7ts.dll into server: %1 \xed\xe5 \xff\xe2\xeb\xff\xe5\xf2\xf1\xff \xef\xf
0\xe8\xeb\xee\xe6\xe5\xed\xe8\xe5\xec Win32.
Answer the question
In order to leave comments, you need to log in
You can download the latest version of XAMPP from PHP 7
sourceforge.net/projects/xampp/files/XAMPP%20Windows
There is a XAMPP version with PHP7 use it https://www.apachefriends.org/download.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question