Neither PHP nor Apache versions can switch in the wampserver menu
Posted by: rootkit (27.11.20.---)
Date: April 01, 2025 09:11AM

1.Windows server 2016 :14393.7836
2.WampServer :3.3.6
3.Apache version: 2.4.56
4.PHP version:8.3.14
5.MySQL version:8.0.31
5a. MariaDB version:10.10.2
6. Color of WampServer icon: Green
7.c:\Windows\System32\drivers\etc\hosts:
#
127.0.0.1 localhost
::1 localhost
8- Do you have access to localhost (home WampServer)?
yes,Directly clicking on locahost can provide normal access, but it is not the WampServer homepage;

8a - If so, is there an error message at the bottom of the page?
No error display

9.Do you have access to PHPMyAdmin?
yes,use [127.0.0.1]? visit

10.The current basic information is as follows:
Wampserver install version 3.3.0 installed on 2023-03-27
Updated to 3.3.6 on 2024-12-14
Apache 2.4.56 Port 80 - PHP 8.3.14
MySQL 8.0.31 Port 3306
MariaDB 10.10.2 Port 3307
PHP 8.1.29 for Wampserver's internal PHP scripts

11.Encountered problems:
Unable to upgrade from version 3.3.6 to 3.3.7:
After installing the update package for 3.3.7, the wampserver version still displays 3.3.6 and cannot display 3.3.7. Apache and PHP cannot switch versions in wampserver (newly installed versions cannot be displayed, for example, installing PHP 8.4.0 and Apache 2.4.62.1 cannot load and display properly)
The following is the message for wampmnager.conf,
Can you help check the relevant issues?
Thank you.


[main]

language = "english"

wampserverVersion ="3.3.6"

installDir ="c:/wamp64"
installVersion ="3.3.0"

;Path of the Browser used by Wampserver
;May be modfied with the absolute path of the browser exe file

;(Use / instead of \)

;For Edge, just put navigator="Edge" (with capital E)

navigator = "C:/Program Files/Internet Explorer/iexplore.exe"

;Path of the Text Editor used by Wampserver

;May be modfied with the absolute path of the Text Editor exe file

;(Use / instead of \)
editor ="C:/Windows/system32/notepad.exe"
logviewer ="C:/Windows/system32/notepad.exe"
defaultLanguage = "english"
wampserverMode = "64bit"
installDate ="2023-03-27"
wampStartDate = "2025-03-17 07:16:57"
update3.3.1= "2023-04-10"
update3.3.6= "2024-12-14"
update3.3.7= "2025-01-20"
[options]
AliasSubmenu = "on"
NotCheckVirtualHost = "off"
NotCheckDuplicate = "off"
HomepageAtStartup = "on"
SupportMySQL ="on"
SupportMariaDB ="on"
ShowadminerMenu = "on"
HostsLinesLimit = "5000"
NotVerifyHosts = "off"
NotVerifyTLD = "off"
AutoCleanLogs = "on"
AutoCleanLogsMax = "1000"
AutoCleanLogsMin = "50"
AutoCleanTmp = "on"
AutoCleanTmpMax = "1000"
BackupHosts = "off"
ShowWWWdirMenu = "off"
LinksOnProjectsHomePage = "off"
LinksOnProjectsHomeByIp = "off"
LocalTest= "off"
ScrollListsHomePage = "on"
utf8_beta= "off"
httpsReady="off"
UseWampHttps="off"
AllowLocalhostHttps= "off"

[php]
phpVersion = "8.3.14"
phpIniDir = "."
phpConfFile = "php.ini"
phpExeDir = "."
mysqlDefaultPort = "3306"
phpWampVersion ="8.1.31"
phpExeFile= "php.exe"
phpCliFile= "php-win.exe"


[apache]
apacheVersion = "2.4.56"
apacheExeDir = "bin"
apacheConfDir = "conf"
apacheExeFile = "httpd.exe"
apacheConfFile = "httpd.conf"
apacheServiceInstallParams ="-n wampapache64 -k install"
apacheServiceRemoveParams ="-n wampapache64 -k uninstall"
[apacheoptions]
apacheUseOtherPort = "off"
apachePortUsed = "80"
apacheCompareVersion = "on"
apacheRestoreFiles = "off"
apacheGracefulRestart = "on"

[mysql]
mysqlVersion ="8.0.31"
mysqlConfDir = "."
mysqlConfFile = "my.ini"
mysqlExeDir = "bin"
mysqlExeFile = "mysqld.exe"
mysqlServiceInstallParams ="--install-manual wampmysqld64"
mysqlServiceRemoveParams ="--remove wampmysqld64"
mysqlServiceCmd = "mysqld.exe"
[mysqloptions]
mysqlPortUsed ="3306"
mysqlUseOtherPort ="off"
mysqlPortOptionsMenu= "on"

[mariadb]
mariadbVersion ="10.10.2"
mariadbConfDir = "."
mariadbConfFile = "my.ini"
mariadbExeDir = "bin"
mariadbExeFile = "mysqld.exe"
mariadbServiceInstallParams ="--install-manual wampmariadb64"
mariadbServiceRemoveParams ="--remove wampmariadb64"
mariadbServiceCmd ="windows"
[mariadboptions]
mariaPortUsed ="3307"
mariaUseOtherPort ="on"
mariadbPortOptionsMenu= "on"

[service]
ServiceApache ="wampapache64"
ServiceMysql ="wampmysqld64"
ServiceMariadb ="wampmariadb64"

Options: ReplyQuote
Re: Neither PHP nor Apache versions can switch in the wampserver menu
Posted by: Otomatic (Moderator)
Date: April 01, 2025 11:52AM

Right-Click -> Restart from zero

> Directly clicking on locahost can provide normal access, but it is not the WampServer homepage;
If this isn't the Wampserver home page, what is it?
Have you thought about clearing your browser's cache?

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



Edited 1 time(s). Last edit at 04/01/2025 02:27PM by Otomatic.

Options: ReplyQuote
Re: Neither PHP nor Apache versions can switch in the wampserver menu
Posted by: rootkit (113.248.254.---)
Date: April 01, 2025 02:52PM

Not the homepage of WampServer, but Windows IIS Server, internet information services;
I found that I was using the update driver package for Wampserver 3.3.7, but after installation, I couldn't upgrade from 3.3.6 to 3.3.7 properly. Even after installing new versions of Apache and PHP, they couldn't load and recognize on Wampserver properly. However, it works on version 3.3.6;
Do you have any suggestions for a solution?
If I uninstall and reinstall Wampserver,
I believe it can be solved, but the folder for Wamp will be cleared,
What backup actions do I need to take?
Can you provide some suggestions?
Thank you.

Options: ReplyQuote
Re: Neither PHP nor Apache versions can switch in the wampserver menu
Posted by: Otomatic (Moderator)
Date: April 01, 2025 04:08PM

Item 8 of TROUBLESHOOTING TIPS

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.