logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS Twitter


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Updating PHP
Author
JH10



Joined: 11 Mar 2022
Posts: 2
Location: UK

PostPosted: Fri 11 Mar '22 23:56    Post subject: Updating PHP Reply with quote

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: 7148
Location: Germany, Next to Hamburg

PostPosted: Mon 14 Mar '22 15:26    Post subject: Reply with quote

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

PostPosted: Tue 12 Apr '22 11:49    Post subject: Reply with quote

Many Thanks for the excellent help.
Apologies for taking so long to answer

Regards

John
Back to top


Reply to topic   Topic: Updating PHP View previous topic :: View next topic
Post new topic   Forum Index -> Other Software