PHP problem? 2 of 3 services running : (
Posted by: phpman (---.hsd1.ca.comcast.net)
Date: August 08, 2019 11:07AM

Hi all,

I recently installed 64 bit WAMP 3.1.9 on Windows 8.1 and have been having trouble with it. From the beginning, I noticed that the WAMP icon was yellow and that only 2 of 3 services were running. I followed the suggestion of stopping and starting the services, plus restarting the computer (for good measure), multiple times, and nothing changed. I was able to use MariaDB independently and went ahead and set up some databases and users via the command line, so I guessed that the problem was on the Apache/PHP side. To verify this, I wrote a file called “test.php,” put it in the www folder, and tried to pull up localhost/test.php in my web browser. No luck. After checking the PHP error log, I saw this:



[07-Aug-2019 06:02:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:03:03 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:08:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:08:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:19:29 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:19:36 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:20:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:20:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:21:58 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 06:21:58 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: c:/wamp64/bin/php/php7.2.18/ext/curl (The specified module could not be found.), c:/wamp64/bin/php/php7.2.18/ext/php_curl.dll (The specified module could not be found.)) in Unknown on line 0
[07-Aug-2019 08:07:21 UTC] PHP Warning: mysqli::__construct(): (HY000/2002): No connection could be made because the target machine actively refused it.
in C:\wamp64\www\testmysql.php on line 10
[07-Aug-2019 08:07:21 UTC] PHP Stack trace:
[07-Aug-2019 08:07:21 UTC] PHP 1. {main}() C:\wamp64\www\testmysql.php:0
[07-Aug-2019 08:07:21 UTC] PHP 2. mysqli->__construct() C:\wamp64\www\testmysql.php:10



Any help with this situation will be greatly appreciated!

Options: ReplyQuote
Re: PHP problem? 2 of 3 services running : (
Posted by: Otomatic (Moderator)
Date: August 08, 2019 12:53PM

Hi,

See TROUBLESHOOTING TIPS

Use integrated tools : Right-Click -> Tools
- Test port 80
- Check state of services

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

Options: ReplyQuote
Re: PHP problem? 2 of 3 services running : (
Posted by: phpman (---.hsd1.ca.comcast.net)
Date: August 09, 2019 08:16AM

Did the "state of services" check and got this:

State of services:

The service 'wampapache64' is started

The service 'wampmysqld64' is not RUNNING nor STOPPED.
[SC] EnumQueryServicesStatus:OpenService failure(s) 1060 :
The specified service does not exist as an installed service.
********* The service 'wampmysqld64' does not exist ********

The service 'wampmariadb64' is started

The service 'dnscache' is started

WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
'wampmariadb64'
'dnscache'
is not started.

Options: ReplyQuote
Re: PHP problem? 2 of 3 services running : (
Posted by: Otomatic (Moderator)
Date: August 09, 2019 08:54AM

Hi,

Disable MySQL and use MariaDB instead.
See Right-Click -> MySQL - MariaDB
or file wamp(64)/mariadb_mysql.txt

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

Options: ReplyQuote
Re: PHP problem? 2 of 3 services running : (
Posted by: phpman (---.sub-174-214-6.myvzw.com)
Date: August 11, 2019 12:30PM

It worked! Thank you!

Options: ReplyQuote


Sorry, only registered users may post in this forum.