WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 04:53AM

Hi,

I've just installed WampServer 3.0.6 and updated it to 3.0.8, tried both x86 and x64 versions, but it seems a lot of options that were available in WampManager 2.2 are not available in WampManager 3.0.8, things like switch php version.

At least what I'm seeing is very different than the screenshots in sourceforge page.

Also, even though the icon is green and the services are running, "Check services state" in Tools menu always report as not started, is it a bug?

Thanks for the great PHP development environment!

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 07:27AM

Ok, I have figured out how to switch PHP version by LEFT-CLICKING W icon.

Although "Check state of services" still shows as services were not started, even though icon is green, bug in script?!

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: Otomatic (Moderator)
Date: February 12, 2017 09:41AM

Hi,

> Ok, I have figured out how to switch PHP version by LEFT-CLICKING W icon.
Whatever the versions of Wampserver, from WAMP5 to Wampserver 3.0.8, Wampserver 2.0, 2.1, 2.2, 2.3, 2.4 and 2.5, to change PHP version, it was ALWAYS with a left-click then PHP , then Version.

Please READ (and answer) BEFORE YOU ASK A QUESTION

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 02/12/2017 10:12AM by Otomatic.

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 02:03PM

Ok, please see below:


1 - Windows version used (Specify version number AND whether 32 or 64 bit)

A: Windows 7 Service Pack 1 - 64 Bits

2 - Version WampServer (Specify version number AND whether 32 or 64 bit)

A: WampServer 3.0.6 - 32 Bits (currently installed, but I tried the 64 Bits and also the cumulative update to 3.0.8)

3 - Apache Version

A: Default from WampServer 3.0.6 - 32 Bits, 2.4.23

4 - PHP Version

A: Switched to 7.0.10 which also comes with WampServer 3.0.6 - 32 Bits

5 - MySQL Version

A: Default from WampServer 3.0.6 - 32 Bits, 5.7.14

6 - What color is the WampServer icon (in the notification area of the taskbar)

A: Green

7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?
* Active means no # at the beginning of the line.

A: No active lines.

If the WampServer icon is green:

8 - Do you have access to localhost (Homepage WampServer)?

A: Yes

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

A: No

9 - Do you have access to phpMyAdmin?

A: Yes

10 - If you refer to an error message, please include the EXACT wording of the error in your post

A: The icon is green, but "Check states of services" gives the messages below:

State of services:

The service 'wampapache' is NOT started
The service 'wampmysqld' is NOT started
The service 'dnscache' is NOT started
WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache'
'wampmysqld'
'dnscache'
is not started.

11 - If you use an Antivirus and / or Firewall, please include the names of these

A: No antivirus or firewall.

12 - What is the full path to the installation of WampServer (eg D:\wamp\)

A: C:\wamp\

13 - If you have one or more Virtual Hosts defined, please show their definition(s)

A: No Virtual Hosts defined

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: Otomatic (Moderator)
Date: February 12, 2017 02:41PM

Hi,

When you start Wampserver 32 bit, are you sure you have left Wampserver 64 bit ?
Both versions of Wampserver 32 and 64 bit can not be launched simultaneously.

If you have access to localhost and PhpMyAdmin, it means that the two necessary services are started.
In the localhost page, what is it noted next to: Server Software:

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 02:52PM

Yes, I've uninstalled Wampserver 64 Bit prior to installing Wampserver 32 Bit.

Server Software says: Apache/2.4.23 (Win32) PHP/7.0.10 - Port defined for Apache: 80

Do you think it is a bug in "Check states of services" script?

Thanks for your help!

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: Otomatic (Moderator)
Date: February 12, 2017 04:36PM

Hi,

In the Services Manager (Execute services.msc) Which services names start with wamp?

> Do you think it is a bug in "Check states of services" script?
No, This script checks the services whose names are in the [service] section of the wamp/wampmanager.conf file.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 04:58PM

Services: wampapache and wampmysqld

In wampmanager.conf in [service] section ServiceApache and ServiceMysql were like this:

ServiceApache ="wampapache"
ServiceMysql ="wampmysqld"

I tried to put an space between = and the name, but the script still says they are not started, but they are!

Also dnscache service is not listed in [service] section in wampmanager.conf

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: Otomatic (Moderator)
Date: February 12, 2017 05:31PM

Hi,

> Also dnscache service is not listed in [service] section in wampmanager.conf
This is normal, it is a Windows system service.

The service startup check is performed by Windows command line, as in a command window, by the commands:
C:\Windows\System32>sc query wampapache

SERVICE_NAME: wampapache
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\Windows\System32>sc query wampmysqld

SERVICE_NAME: wampmysqld
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\Windows\System32>sc query dnscache

SERVICE_NAME: dnscache
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\Windows\System32>
by CLI PHP then verify that "RUNNING" is in the result for each service.
Since the search for "RUNNING" is done by strpos(), if the answer is "running" in lower case, it will not be found.

You can try typing commands in a command window and see the result, for example for:
sc query wampapache

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 05:34PM

Hum, I get RUNNING too, but as my language is portuguese, it says ESTADO instead of STATE, maybe this is the issue?!

Does the script search for the word STATE?

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: Otomatic (Moderator)
Date: February 12, 2017 05:59PM

Hi,

Quote
fggs
Hum, I get RUNNING too, but as my language is portuguese, it says ESTADO instead of STATE, maybe this is the issue?!

Does the script search for the word STATE?
My system is French, it says STATE.
Yes, the script search for the word STATE.
$command = 'sc query '.$value.' | find "STATE"';
$output = `$command`;
if(strpos($output, "RUNNING" ) !== false)
If Microsoft translates even the results of the basic commands of the system, it will become impossible to manage, especially since STATE is translated, but not RUNNING.
Why not also translate command names, such as:
CHDIR or CD into ALDIR ou AD (Alterar diretório)
COPY into COPIADORA
SC into CS (Controle de serviço)
and so on

it's big anything!

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 06:03PM

I agree, so I shouldn't worry about it, but it might break some tools of Wamp sad smiley

Do you want me to test anything else? I can help with testing if you want

Well, at least you know what to blame if someone appears with a similar issue smiling smiley



Edited 1 time(s). Last edit at 02/12/2017 06:08PM by fggs.

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: Otomatic (Moderator)
Date: February 12, 2017 06:21PM

Hi,

Why in my French system, both under Windows 7 Pro and Windows 10 Pro, STATE is not translated by ÉTAT ?
This would have allowed me to see that I could not search for the term STATE!

Can you put here the result as above of the three commands:
sc query wampapache
sc query wampmysqld
sc query dnscache
please put it between [ code] ... [ /code] tags (Without space)

It is strange that you are the first to discover this problem and it is not only Windows Portuguese, English or French systems that use wampserver 3

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: WampManager 3 - Questions
Posted by: fggs (---.34.126.233.dynamic.adsl.gvt.net.br)
Date: February 12, 2017 06:27PM

Sure, see below:

C:\Users\Lenovo>sc query wampapache

NOME_DO_SERVIÇO: wampapache
    TIPO                       : 10  WIN32_OWN_PROCESS
    ESTADO                     : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
    CÓDIGO_DE_SAÍDA_DO_WIN32   : 0  (0x0)
    CÓDIGO_DE_SAÍDA_DO_SERVIÇO : 0  (0x0)
    PONTO_DE_VERIFICAÇÃO       : 0x0
    AGUARDAR_DICA              : 0x0

C:\Users\Lenovo>sc query wampmysqld

NOME_DO_SERVIÇO: wampmysqld
    TIPO                       : 10  WIN32_OWN_PROCESS
    ESTADO                     : 4  RUNNING
                                (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
    CÓDIGO_DE_SAÍDA_DO_WIN32   : 0  (0x0)
    CÓDIGO_DE_SAÍDA_DO_SERVIÇO : 0  (0x0)
    PONTO_DE_VERIFICAÇÃO       : 0x0
    AGUARDAR_DICA              : 0x0

C:\Users\Lenovo>sc query dnscache

NOME_DO_SERVIÇO: dnscache
    TIPO                       : 20  WIN32_SHARE_PROCESS
    ESTADO                     : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
    CÓDIGO_DE_SAÍDA_DO_WIN32   : 0  (0x0)
    CÓDIGO_DE_SAÍDA_DO_SERVIÇO : 0  (0x0)
    PONTO_DE_VERIFICAÇÃO       : 0x0
    AGUARDAR_DICA              : 0x0

C:\Users\Lenovo>

Options: ReplyQuote


Sorry, only registered users may post in this forum.