Hello,
We have this issue that is consistently happening on the front-facing webserver but does not work when (even the same VM image) is the intranet. We tried googling and searching this forum but the only mention of this symptom ("new PHP version not appearing in the version menu to switch to") does not seem to be be a very popular problem. We'd appreciate any help you guys can give us.
The 13 questions From the FAQ:
-----------------------------
Windows version used: Windows Server 2016 Datacenter (64bit)
Version WampServer: 3.1.9 (64bit)
Apache Version: 2.4.41
PHP Version: 7.3.8 (currently running - trying to upgrade to 7.3.10)
MySQL Version: --none-- (it's disabled in the WampServer options "Allow MySQL")
MariaDB Version: --none-- (same as above)
Colour of WampServer Icon: Green
Windows Event:
We've looked at the the windows event viewer. Nothing relevant there.
Active lines in hosts:
127.0.0.1 localhost
::1 localhost
<internalIP> <domain>.<tld>
Do you have access to localhost (Homepage WampServer)?
Yes
If so, is there an error message at the bottom of the page?
Yes "Port:443 used for the VirtualHost is not an Apache Listen port". Please note, the website is running in HTTPS exclusively with an EV SSL certificate that has been validated with 3 different external tools and a separate security team.
Do you have access to phpMyAdmin?
No, MySQL is disabled see above.
If you use an Antivirus and / or Firewall, please include the names of these:
Checkpoint (not running on this server specifically, it's upstream)
What is the full path to the installation of WampServer (eg D:\wamp\):
c:\wamp64\
If you have one or more Virtual Hosts defined, please show their definition(s):
[This information is redacted for security purposes]
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile <file>
SSLCertificateKeyFile <keyfile>
SSLCertificateChainFile <chainfile>
SSLOpenSSLConfCmd Protocal "-ALL, TSLv1.2"
<IfModule mod_headers.c>
Header always set X-XSS-Protection "1; mode=block" early
Header unset X-XSS-Protection
Header always set X-Content-Type-Options "nosniff" early
Header unset X-Content-Type-Options
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
Header always set X-Frame-Options SAMEORIGIN early
Header unset X-Frame-Options
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
ServerName <domain>.<tld>
ServerAlias www.<domain>.<tld>
DocumentRoot "c:/wamp64/www/<folder>"
<Directory "c:/wamp64/www/<folder>/">
Options -Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Description of Issue:
---------------------
[*] Install the PHP Addon (in this case 7.3.10 but this used to happen in 7.3.8 too). No errors.
[*] The folder is correctly created in c:\wamp64\bin\php\x
[*] The php.ini, phpForApache.ini and wampserver.conf exist in the new folder.
[*] The new version does NOT appear in Left Click > PHP > Versions menu.
Things we've tried:
-------------------
[*] Stopping the services before installation does not fix it.
[*] Exiting WampServer before installation does not fix it.
[*] Restarting Windows before installation does not fix it.
[*] Restarting Windows after installation does not fix it.
[*] Installing another PHP Addon before this one does not fix it.
[*] All VCRedist packages are installed (32 and 64 bit).
[*] There's NO reference to the PHP version in the Windows PATH environment.
The ONLY thing that fixed it was: take the machine out of the DMZ and into the intranet, install PHP addon and change version then put it back into the DMZ. That's how version 7.3.8 was last installed back in August. As you can imagine this is not a reasonable procedure to do on a production server.
On our staging and development servers (both are inside the intranet only) this problem does not occur, new versions ALWAYS show up in the Version menu, regardless of whether we take the (wamp)server offline. In fact it was quite the surprise to us that after all the tests we ran in the staging server we still had issues in the production server.
If you guys have any things we can try that'd be great! Thanks in advance!
We have this issue that is consistently happening on the front-facing webserver but does not work when (even the same VM image) is the intranet. We tried googling and searching this forum but the only mention of this symptom ("new PHP version not appearing in the version menu to switch to") does not seem to be be a very popular problem. We'd appreciate any help you guys can give us.
The 13 questions From the FAQ:
-----------------------------
Windows version used: Windows Server 2016 Datacenter (64bit)
Version WampServer: 3.1.9 (64bit)
Apache Version: 2.4.41
PHP Version: 7.3.8 (currently running - trying to upgrade to 7.3.10)
MySQL Version: --none-- (it's disabled in the WampServer options "Allow MySQL")
MariaDB Version: --none-- (same as above)
Colour of WampServer Icon: Green
Windows Event:
We've looked at the the windows event viewer. Nothing relevant there.
Active lines in hosts:
127.0.0.1 localhost
::1 localhost
<internalIP> <domain>.<tld>
Do you have access to localhost (Homepage WampServer)?
Yes
If so, is there an error message at the bottom of the page?
Yes "Port:443 used for the VirtualHost is not an Apache Listen port". Please note, the website is running in HTTPS exclusively with an EV SSL certificate that has been validated with 3 different external tools and a separate security team.
Do you have access to phpMyAdmin?
No, MySQL is disabled see above.
If you use an Antivirus and / or Firewall, please include the names of these:
Checkpoint (not running on this server specifically, it's upstream)
What is the full path to the installation of WampServer (eg D:\wamp\):
c:\wamp64\
If you have one or more Virtual Hosts defined, please show their definition(s):
[This information is redacted for security purposes]
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile <file>
SSLCertificateKeyFile <keyfile>
SSLCertificateChainFile <chainfile>
SSLOpenSSLConfCmd Protocal "-ALL, TSLv1.2"
<IfModule mod_headers.c>
Header always set X-XSS-Protection "1; mode=block" early
Header unset X-XSS-Protection
Header always set X-Content-Type-Options "nosniff" early
Header unset X-Content-Type-Options
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
Header always set X-Frame-Options SAMEORIGIN early
Header unset X-Frame-Options
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
ServerName <domain>.<tld>
ServerAlias www.<domain>.<tld>
DocumentRoot "c:/wamp64/www/<folder>"
<Directory "c:/wamp64/www/<folder>/">
Options -Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Description of Issue:
---------------------
[*] Install the PHP Addon (in this case 7.3.10 but this used to happen in 7.3.8 too). No errors.
[*] The folder is correctly created in c:\wamp64\bin\php\x
[*] The php.ini, phpForApache.ini and wampserver.conf exist in the new folder.
[*] The new version does NOT appear in Left Click > PHP > Versions menu.
Things we've tried:
-------------------
[*] Stopping the services before installation does not fix it.
[*] Exiting WampServer before installation does not fix it.
[*] Restarting Windows before installation does not fix it.
[*] Restarting Windows after installation does not fix it.
[*] Installing another PHP Addon before this one does not fix it.
[*] All VCRedist packages are installed (32 and 64 bit).
[*] There's NO reference to the PHP version in the Windows PATH environment.
The ONLY thing that fixed it was: take the machine out of the DMZ and into the intranet, install PHP addon and change version then put it back into the DMZ. That's how version 7.3.8 was last installed back in August. As you can imagine this is not a reasonable procedure to do on a production server.
On our staging and development servers (both are inside the intranet only) this problem does not occur, new versions ALWAYS show up in the Version menu, regardless of whether we take the (wamp)server offline. In fact it was quite the surprise to us that after all the tests we ran in the staging server we still had issues in the production server.
If you guys have any things we can try that'd be great! Thanks in advance!