How do i make my wampserver icon turn to the green
Posted by: diffident (188.3.172.---)
Date: May 28, 2021 09:51AM

My wampserver icon is orange. It's not turn to the green. I'm trying to solve that problem for 6-7 hours but i

couldn't solve yet.




I changed port :81 instead of :80 but it's not solved.




I can not reach localhost, phpyadmin, my projects etc.




I think i have an apache problem. Because "Stop Service" button is not reachable. (IMG 1) But i'm not sure

about that.


IMG1: [i.stack.imgur.com]



It's the Windows Event log, (IMG 2)



IMG2: [i.stack.imgur.com]



*The Apache service named reported the following error:

Invalid command 'Don't', perhaps misspelled or defined by a module not included in the server configuration .*

*The Apache service named reported the following error:

AH00526: Syntax error on line 292 of C:/wamp64/bin/apache/apache2.4.41/conf/httpd.conf:* .

It's the line 292 in httpd.conf (IMG 3)



[i.stack.imgur.com]



If you help me, i will be glad.

Options: ReplyQuote
Re: How do i make my wampserver icon turn to the green
Posted by: RiggsFolly (Moderator)
Date: May 28, 2021 10:10AM

Did you change either the httpd,con file or the httpd-vhost.conf file?
Or maybe the php.ini file??

It looks like you may have removed a comment from a line with the work Don't in it smiling smiley

Anyway, search all those files for the word Don't It shoudl not be in any Un-Commented line

---------------------------------------------------------------------------------------------
(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-



Edited 3 time(s). Last edit at 05/28/2021 10:12AM by RiggsFolly.

Options: ReplyQuote
Re: How do i make my wampserver icon turn to the green
Posted by: diffident (188.3.172.---)
Date: May 28, 2021 10:58AM

RiggsFolly Wrote:
-------------------------------------------------------
> Did you change either the httpd,con file or the
> httpd-vhost.conf file?
> Or maybe the php.ini file??
>
> It looks like you may have removed a comment from
> a line with the work Don't in it smiling smiley
>
> Anyway, search all those files for the word
> Don't It shoudl not be in any Un-Commented
> line


When i put # before line 292, it worked. But why could i take this error?

My httpd-vhosts is here:

# Virtual Hosts
#
<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 *:80>
ServerName elaravel
ServerAlias localhost
DocumentRoot "C:\wamp64\www\elaravel\public"

</VirtualHost>


Are there any problem in this file?

Options: ReplyQuote
Re: How do i make my wampserver icon turn to the green
Posted by: Otomatic (Moderator)
Date: May 28, 2021 12:17PM

Hi,

> Are there any problem in this file?
Yes

See The need for Virtual Host
and Wampserver 3 - Create or add a VirtualHost

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

Options: ReplyQuote
Re: How do i make my wampserver icon turn to the green
Posted by: RiggsFolly (Moderator)
Date: May 28, 2021 03:57PM

Ahh,


You mean you removed the comment from the line that EXPRESSLY says DO NOT MODIFY THIS LINE

line 292 - #   Don't modify this line - Instead modify Require of VirtualHost in httpd-vhost.conf

Maybe it would be best to put the PC back in the box and send it back to the supplier

---------------------------------------------------------------------------------------------
(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.