Installed Apache 2.4.62 but not showing in list
Posted by: pjb (---.res.spectrum.com)
Date: August 23, 2024 01:55AM

I upgraded WampServer from 3.3.5 to 3.3.6, and updated the VC libraries.

I then added `wampserver3_x64_addon_apache2.4.62` and it installed, but it does not show up in the list of installed versions.

I did right-click -> restart from zero but nothing changed.

I tried to re-install the apache 2.4.6 file, but it says "Apache 2.4.62 is already installed on your Wampserver 3."

How do I fix this?

Re: Installed Apache 2.4.62 but not showing in list
Posted by: Otomatic (Moderator)
Date: August 23, 2024 08:50AM

Left-Click -> Apache -> Version -> 2.4.62

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

Re: Installed Apache 2.4.62 but not showing in list
Posted by: pjb (---.res.spectrum.com)
Date: August 23, 2024 04:09PM

That's the problem.... 2.4.62 does not show up in the version list. It only has 2.4.46b

Re: Installed Apache 2.4.62 but not showing in list
Posted by: Otomatic (Moderator)
Date: August 23, 2024 04:30PM

Is there a: "wamp64\bin\apache\apache2.4.62\wampserver.conf" file ?

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

Re: Installed Apache 2.4.62 but not showing in list
Posted by: pjb (---.res.spectrum.com)
Date: August 23, 2024 06:37PM

Yes. But wampmanager.ini doesn't seem to have the menu entry for 2.4.62 under the [apacheVerison] section, and there is no [switchApache2.4.62].

I added them by hand just now to see what would happen, and after adjusting my apache conf files, it appears to have worked.

I don't know why it didn't add those entries to wampmanager.ini. It could be due to the fact that some of my apache configuration files are not all in conf/ or conf/extra.

After I manually change wampmanager.ini and tried to switch apache versions, I was seeing some errors in php_error.log:


C:\wamp\scripts\switchApacheVersion.php (dated 08/02/2023 09:11 AM), on line 229 tries to open my httpd-ssl.conf file but fails because the script assumes (in line 226) that it is located the apache conf/extra/ folder. It is not. I had previously changed it's location in my httpd.conf from:

Include conf/extra/httpd-ssl.conf

to:

Include "${INSTALL_DIR}/ssl/httpd-ssl.conf

This seems to break the switching mechanism, so I added symlinks into my conf folder for my files that were moved (httpd-vhosts.conf, openssl.cnf and httpd-ssl.conf) and then the switching mechanism worked.

Re: Installed Apache 2.4.62 but not showing in list
Posted by: pjb (---.res.spectrum.com)
Date: August 23, 2024 06:40PM

Also, there has been an ongoing problem with wampserver.lib.php because I'm not using phpmyadmin. On line 1290, it tries to do this:

asort($Alias_Contents['PMyAdVer']);

and fails every time. So I changed the line to this:

if(!empty($Alias_Contents['PMyAdVer'])) asort($Alias_Contents['PMyAdVer']);

and all seems to be working now.

Sorry, only registered users may post in this forum.