Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Updating PHP |
|
Author |
|
JH10
Joined: 11 Mar 2022 Posts: 2 Location: UK
|
Posted: Fri 11 Mar '22 23:56 Post subject: Updating PHP |
|
|
I am using localhost and need to update PHP.
I use Apache XAMPP control panel.
I am looking at https://windows.php.net/download#php-8.1 and notice the link to this page https://www.apachelounge.com/viewforum.php?f=2
Is there anywhere that I can see clear basic instructions of what I should download and open this and to where etc.
Sorry to be so basic. I have used Apache very well in the past and never really understood what is occuring, so it would seem to demonstrate what wonderful software it is!
Thanks for your advice.
Regards
John |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
Posted: Mon 14 Mar '22 15:26 Post subject: |
|
|
Hi John,
download the "VS16 x64 Thread Safe" zip.
stop apache. Rename C:\xampp\php to whatever you like.
Extract the files from the downloaded zip file into C:\xampp\php. In C:\xampp\php rename either php.ini-development or PHP. ini-production (depending on your needs) to php.ini
Edit php.ini
At least change "extension_dir" to
Code: |
extension_dir="C:\xampp\php\ext"
|
Other modifications like the loading of extensions may be needed.
In C:\xampp\apache\conf\httpd.conf
if there is still php7apache2_4.dll replace it with php8apache2_4.dll
Start apache. |
|
Back to top |
|
JH10
Joined: 11 Mar 2022 Posts: 2 Location: UK
|
Posted: Tue 12 Apr '22 11:49 Post subject: |
|
|
Many Thanks for the excellent help.
Apologies for taking so long to answer
Regards
John |
|
Back to top |
|
|
|
|
|
|