[Tutorial] How to add another PHP version (PHP 7.4 - PHP 8.0) - Updated
@leokhoa I was expecting this VC 11 but wouldn't sure before.
Perfect, it worked. Thanks!
@Wisam-Qadeer171 : I'm glad to hear that
I got a error, 2....
[Tue Feb 27 11:00:03.502825 2018] [core:warn] [pid 3896:tid 380] AH00098: pid file W:/laragon/bin/apache/httpd-2.4.29-Win64-VC15/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Tue Feb 27 11:01:30.163029 2018] [mpm_winnt:notice] [pid 3896:tid 380] AH00455: Apache/2.4.29 (Win64) OpenSSL/1.1.0g PHP/5.6.33 configured -- resuming normal operations [Tue Feb 27 11:01:30.163029 2018] [mpm_winnt:notice] [pid 3896:tid 380] AH00456: Apache Lounge VC15 Server built: Nov 3 2017 11:12:00 [Tue Feb 27 11:01:30.163029 2018] [core:notice] [pid 3896:tid 380] AH00094: Command line: 'W:\\laragon\\bin\\apache\\httpd-2.4.29-win64-VC15\\bin\\httpd -d W:/laragon/bin/apache/httpd-2.4.29-Win64-VC15' [Tue Feb 27 11:01:30.176032 2018] [mpm_winnt:notice] [pid 3896:tid 380] AH00418: Parent: Created child process 6656 Apache server interrupted... [Tue Feb 27 11:01:35.267337 2018] [mpm_winnt:crit] [pid 6656:tid 4] (OS 109)The pipe has been ended. : AH00404: Child: Unable to read socket data from parent ``
@johanguse : You are using PHP (Thread Safe), so the VC of both PHP & Apache must be the same. Currently, they are VC11 & VC15.
You must use this Apache version:
@leokhoa Yes! Thank you!
just got this error after downloading the php-7.2.4-Win32-VC15-x64 and changing the version in laragon .
can anyone help plz.
For fix this error, only add in php root folder the msvcr110.dll file, this fixed error for me.
Windi Astriningsih AVO
hi, i try to add another version of php but it comes out like this
how can fix it?
@leokhoa Hi Leok
how do I switch console version of php? First I was running 7.2 and right now i also installed 7.1
When I do:
even though I switched to 7.1 using Laragon's interface.
how do I force console to run 7.1?
@nermamax : Just close the Terminal and try again.
that did not do the trick, even after 3-4 tries, BUT restarting win10 did the trick!
thanks for wonderfull tool! Been a user for over a year or so now, no regrets
@nermamax : I'm glad to hear Laragon is wonderful with you
Sometimes caching causes unexpected results but you can try to switch back and forth to make sure.
Your PHP Version (php-5.6.38-Win32-VC11-x64)
& Apache Version (httpd-2.4.27-win64-VC14)
are not compatible!
Please make sure PHP and Apache are both:
- x86 (win32) or x64 (win64)
- Same VC (VC11, VC14, VC15...)
Please help me to fix this, thanks
@agus : You are using
php-5.6.38-Win32-VC11-x64, you just need to add Apache VC11:
Download link for Apache
Note: If you don't want to add Apache, you can use PHP Non Thread Safe (NTS) version:
Laragon will detect that you use NTS version and use mod_fcgi which don't need to have VC agreement between PHP & Apache.
@leokhoa thanks, it works. But actually I need another version of php 5.3.1, do you have the link ??
This post is deleted!
Do I need NTS or TS. I'm just doing development on my home computer. I notice that the versions that come with appear to be TS, since NTS is not mentioned in the version information. Is this correct? Does it even matter?
@Michael-Chean : There are a few different between NTS & TS. Laragon handle the differences for you. Most people use TS with Apache as well as Nginx. If you use Nginx, NTS is more suitable.