Upgrade Apache?
Posted by: rkevinburton (---.dhcp.mdsn.wi.charter.com)
Date: January 01, 2014 11:45PM

I have an initial installation of WAMP server and now I want to upgrade. As I understand it I need to have PHP and Apache I have done so. Both are x64 and both are VC11. I have installed the VC11 runtime and I think I have faithfully followed the installation instructions but the wampservermanager icon stays orange. I look in the apache_error.log and I don't see any timestamps indicating an attempt to start the apache daemon. Any ideas on where I should look next?
Thank you.

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: January 02, 2014 10:33AM

How to tell which service is not running if the wampmanager icon is orange.

Left click the wampmanager icon to reveal the menu-> Apache -> Service
If the Start resume service menu item is Green then Apache is running.

Left click the wampmanager icon to reveal the menu-> MySQL -> Service
If the Start resume service menu item is Green then MySQL is running.

If Apache is the service that is not running it is normally, but not always, because something else has captured port 80.

Now do,
Left click the wampmanager icon to reveal the menu-> Apache -> Service -> Test port 80
This will launch a command window and display some information about what, if anything is using port 80.

Whatever it is should be re-configured to not use port 80 or uninstalled if you are not using it.

If port 80 is not the problem look for errors in the appropriate error log ( use the wamp manager menus to view the error logs )

If these do not exists or show no errors then also check the Windows Event Viewer
Start -> Administrative Tools -> Event Viewer
And look in the 'Windows Logs' -> Application' section accessed from the menu on the left of the dialog for error messages from Apache and or MySQL.


How to Configure SKYPE so it does not require port 80 or 443

Run SKYPE
then using the menus do this:
Tools -> Options -> Advanced -> Connection
Un-Check the checkbox next to 'Use port 80 and 443 as alternatives for incomming connections'
Now restart SKYPE for these changes to take effect.


How to Configure Team Viewer so it does not require port 80 or 443
Run TV
Extras -> Options -> Advanced -> Press the Advanced Button -> Advanced Network Connections
Check the checkbox saying [ Dont use incomming port 80 (recommended for web servers only ) ]

If the problem is not obvious then post the errors here

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: January 02, 2014 04:46PM

I looked in the Windows Event log and found that I was getting an error that complained the error message could not be formatted but it had something to do with opcache so I commented out the line:

zend_extension=php_opcache.dll

The Apache started OK and the wamserver icon turned green. This got everything working but I would like to know what is bad about the above line?
Thanks again.

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: January 02, 2014 05:02PM

You could try this, maybe it requires a full path on the zend_extension parameter

zend_extension="C:\wamp\php\phpX.Y.Z\ext\php_opcache.dll"

Also check that you downloaded the VC11 x64 THREAD SAFE version of opcache.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: January 02, 2014 05:42PM

I do have the THREAD SAFE version of PHP which has an ext folder that has the php_opcache.dll in it. I will try supplying the full path. I notice that there is another line in the php.ini file like:

;extension=php_opcache.dll

So do I uncomment this line or use the zend_extension=(full path)?

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: January 02, 2014 05:52PM

I see no ;extension=opcache.dll in any configs I have, are you sure thats not something you tried and left in your config?


According to the manual it should be loaded using the zend_extension mechanism.

Also note if you are still using xdebug it must be loaded before you load xdebug, which is done right at the bottom of the php.ini file ona default wamp versions php.ini

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: January 02, 2014 08:36PM

I looked in php.ini-development and didn't see extension=php_opcache.dll like you said. What "manual" are you looking at?

I am not sure what you mean: "still using xdebug it must be loaded before you load xdebug". How does that change the .ini file?

Thanks

Options: ReplyQuote
Re: Upgrade Apache?
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: January 02, 2014 09:13PM

Check my signature section ..... the PHP Documentation

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.