Installing php 8 addon
Posted by: David S (104.152.239.---)
Date: October 20, 2023 05:45AM

Trying to add php version 8.2.11. At first it complained about out dated VC++ packages and I installed the latest versions. Everything installed smoothly after that, except the new php version doesn't show up in the tray menu. So I can't change the version.

I see the new version installed at C:\wamp643\bin\php\php8.2.11 but just doesn't show up in the tray. So version 7.4.16 remains the default.

Php versions 5.6.31 / 7.0.23 / 7.1.9 / 7.3.27 are also installed. Don't know if that affects anything.

Troubleshooting questions answered below.
Any help would be appreciated.

1 - Windows version used: Windows Server 2012 R2 64bit
2 - Version WampServer: 3.2.5 64bit
3 - Apache Version: 2.4.46c
4 - PHP Version: 7.4.16
5 - MySQL Version: 5.7.33
5a - MariaDB version if applicable: 10.2.8
6 - What color is the WampServer icon: Green

7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines?
* Active means no # at the beginning of the line.
127.0.0.1 localhost
::1 localhost

8 - Do you have access to localhost (Homepage WampServer)? YES
8a - If so, is there an error message at the bottom of the page? NO

9 - Do you have access to phpMyAdmin? YES

10 - If you refer to an error message, please include the EXACT wording of the error in your post: N/A
11 - If you use an Antivirus and / or Firewall, please include the names of these: N/A
12 - What is the full path to the installation of WampServer (eg D:\wamp\): C:\wamp643\
13 - If you have one or more Virtual Hosts defined, please show their definition(s) N/A

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 20, 2023 08:56AM

Right-Click -> Restart from zero

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (104.152.239.---)
Date: October 20, 2023 02:18PM

Otomatic Wrote:
-------------------------------------------------------
> Right-Click -> Restart from zero


Hi Otomatic, I don't seem to have that option.
Right click options only show:
About...
Refresh
Language >
Wamp settings >
Tools >
Help >
--
Exit

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 20, 2023 02:47PM

Hi,

> Version WampServer: 3.2.5

PHP 8.2.11 can only be installed on a Wampserver version equal to or higher than 3.3.1!
How could you install PHP 8.2.11 on a 3.2.5 version?

- Apply Update 3.3.1 to your version of Wampserver
Wampserver update 3.3.1

Then try to reinstall PHP 8.2.11.

In addition, I'm not sure that Apache 2.4.46c can support PHP 8.2.11.
You also need to install a recent Apache version.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 10/20/2023 02:59PM by Otomatic.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (---.jbdc.net)
Date: October 20, 2023 03:11PM

Otomatic Wrote:
-------------------------------------------------------
> PHP 8.2.11 can only be installed on a Wampserver
> version equal to or higher than 3.3.1!
> How could you install PHP 8.2.11 on a 3.2.5
> version?
>
> - Apply Update 3.3.1 to your version of
> Wampserver
> [url=https://wampserver.aviatechno.net/files/updat
> es/wampserver3_x86_x64_update3.3.1.exe]Wampserver
> update 3.3.1[/url]
>
> Then try to reinstall PHP 8.2.11.

Hi Otomatic, you're right. In trying to install the addon, it did mention I needed to update. So I had applied the wampmanager update to 3.3.1 which then allowed me to install php 8.2.11. I forgot I did that step.

The information in the menus didn't seem to change tho. Still shows Wampserver 3.2.5 64bit in both the right click and left click menu. So that's the info I had given you.

> In addition, I'm not sure that Apache 2.4.46c can
> support PHP 8.2.11.
> You also need to install a recent Apache version.

So it sounds like I just need to upgrade the wampserver entirely and all the services as well.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 20, 2023 04:35PM

Hi,

> full path to the installation of WampServer (eg D:\wamp\): C:\wamp643\

Are you sure that only one version of Wampserver is installed on your system?

The content of the "InstallLocation" key in the registry for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{wampserver64}_is1
must be c:\wamp643\

If this is the case, proceed as follows:

Delete all files into : c:\wamp643\logs\
Delete all files into : c:\wamp643\tmp\

before launching Wampserver.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (---.jbdc.net)
Date: October 20, 2023 05:05PM

Yes, I am sure only 1 wampserver (currently) is installed. Registry key has C:\wamp643\ as the installlocation value.

> If this is the case, proceed as follows:

> Delete all files into : c:\wamp643\logs\
> Delete all files into : c:\wamp643\tmp\

> before launching Wampserver.

Ok will try that.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (---.jbdc.net)
Date: October 20, 2023 05:10PM

Services were stopped. Wampserver was shutdown. Logs and temp files were deleted from their respective folders. Wampserver was started back up.

Nothing seemed to have changed though.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 21, 2023 08:53AM

Right-Click -> Tools -> Create Wampserver Configuration Report
wait a few moments, then
Right-Click -> Tools -> Wampserver Configuration Report

put a copy herre.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (104.152.239.---)
Date: October 21, 2023 04:11PM

Hey Otomatic,

How long is a few moments? I clicked Create wampserver configuration report, a few cmd line windows popped up quickly and closed.

Is the same menu option suppose to turn to "Wampserver Configuration Report" after a few moments?

It's been 30 mins, so just wondering if I need to wait longer or try again.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 21, 2023 04:45PM

Hi,

> How long is a few moments?
Less than one minute.

After this, The "WampserverConfiguration Report" line is added at the bottom of Right-Click -> Tools menu.

Check for errors in php_error.log

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 10/21/2023 04:47PM by Otomatic.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (104.152.239.---)
Date: October 21, 2023 05:11PM

Otomatic Wrote:
-------------------------------------------------------
> Hi,
>
> > How long is a few moments?
> Less than one minute.
>
> After this, The "WampserverConfiguration Report"
> line is added at the bottom of Right-Click ->
> Tools menu.
>
> Check for errors in php_error.log

Ok. So that line doesn't show up in the right click -- tools menu.

I left clicked -- PHP -- PHP error log.
Got an error titled "Aestan Tray Menu" with the following error:
"Could not execute run action: The system cannot find the file specified
Action : Run
Filename: C:/Program Files (x86)/Notepad++/notepad++.exe
Parameters: c:/wamp643/logs/php_error.log"

Notepad++ is installed but the 64bit version. This seems ot be looking ofr the 32bit version.

And I checked c:/wamp643/logs/ folder but there is no php_error.log in there.
Just access.log, mariadb.log, apache_error.log and mysql.log.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 22, 2023 10:12AM

> Notepad++ is installed but the 64bit version. This seems ot be looking ofr the 32bit version.

You gave the path to Notepad++ when you installed Wampserver.

At this point, the only solution is to :
- Back up your local sites
- Save your databases as SQL files
- Uninstall Wampserver
- Check that the folder and registry informations no longer exist
- Reboot machine
- Install Wampserver 3.3.0
- Restore local sites and databases.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: David S (104.152.239.---)
Date: October 22, 2023 03:39PM

Otomatic Wrote:
-------------------------------------------------------
> You gave the path to Notepad++ when you installed
> Wampserver.

Unfortunately, I only took over this server and role from the previous system admin. From what I understood, he just installed wamp into a new folder each time the web admin wanted to upgrade/update or there was a problem. So you would notice the /wamp643/ folder name.

I came in and disabled all the other folders and renamed them to avoid any conflict.

But I guess things have already gone bad.

>
> At this point, the only solution is to :
> - Back up your local sites
> - Save your databases as SQL files
> - Uninstall Wampserver
> - Check that the folder and registry informations
> no longer exist
> - Reboot machine
> - Install Wampserver 3.3.0
> - Restore local sites and databases.

Figured as much this was where it was heading to.

Thanks again for the assistance. Will do that and let you know how it goes.

Options: ReplyQuote
Re: Installing php 8 addon
Posted by: Otomatic (Moderator)
Date: October 23, 2023 11:15AM

In your case of multiple installations, after uninstalling Wampserver, it would be a good idea to scan the registry and delete any key containing 'Wampserver' or 'wampmanager'.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 10/23/2023 11:18AM by Otomatic.

Options: ReplyQuote


Sorry, only registered users may post in this forum.