Wamp server strange icon
Posted by: Jika112 (94.96.125.---)
Date: July 11, 2016 02:58AM

Hello

First problem
------------

I recently did a fresh install and upgraded to wampserver 3.0.5.
When I used submenu and navigated to Wamp Settings<Menu Item: Online/Offline and the bug started to appear.
Icon isnt plain simple but rather basic green.
The bug: [imgur.com]

Second problem:
------------------

I cant access my PHP myadmin from localhost, 127.0.0.1 or from outside. These are my settings:

Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.6.3/"

<Directory "c:/wamp/apps/phpmyadmin4.6.3/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<ifDefine APACHE24>
Require local
</ifDefine>
<ifDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
</ifDefine>

# To import big file you can increase values
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>

I tried solving by seeing other peoples post but still it didnt work out.

Third problem
-------------

I want my website running on port 90. I tried changing my port from httpd.conf by replacing all my default ports from 80 to 90. I tried "use a port other than 80" but that didnt work as well. It seems my website is still using port 80.

Thanks in advance!

jika

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Otomatic (Moderator)
Date: July 11, 2016 09:51AM

Hi,

> When I used submenu and navigated to Wamp Settings<Menu Item: Online/Offline and the
> bug started to appear. Icon isnt plain simple but rather basic green.
How would this be it a bug ?
This simply indicates that you are using the old and obsolete method "Put Online" and indeed your server is open to the whole world.

- PhpMyAdmin
Replace
<ifDefine APACHE24>
Require local
</ifDefine>
by
<ifDefine APACHE24>
Require all granted
</ifDefine>
But it will also create MySQL users can connect from outside.

Quote

I want my website running on port 90. I tried changing my port from httpd.conf by replacing all my default ports from 80 to 90.
NEVER modify httpd.conf manually
Why do you want to use port 90? The port 80 is assigned to the HTTP protocol.
Use :
- Right-Click Wampmamaner Tray Icon -> Tools -> Use a port other than 80
BUT ALL url you write must imperatively include the port number as this will not be the assigned port HTTP, like:
'http://my-url:90/'

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

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Jika112 (94.96.85.---)
Date: July 13, 2016 04:49PM

Hi,


How can I keep my website open to the world and have default green icon at the same time?

Thanks for your reply

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: RiggsFolly (Moderator)
Date: July 13, 2016 05:07PM

Hi

There is nothing specifically WRONG with the icon you are getting.

BUT do this.

1. wampmanager -> Put Offline

2. Edit \wamp\bin\apache\apache{version}\conf\extra\httpd-vhosts.conf

Change this
<VirtualHost *:80>
	ServerName localhost
	DocumentRoot D:/wamp/www
	<Directory  "D:/wamp/www/">
		Options +Indexes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>

To

<VirtualHost *:80>
	ServerName localhost
	DocumentRoot D:/wamp/www
	<Directory  "D:/wamp/www/">
		Options +Indexes +FollowSymLinks +MultiViews
		AllowOverride All
		Require all granted
	</Directory>
</VirtualHost>


WARNING: If you dont know what you are doing, allowing the world into your server can be very dangerous.

WAMPServer is configured as a Developer local testing tool and is NOT HARDENED AGAINST ATTACK like a LIVE web server would be.

YOU DO THIS AT YOUR OWN RISK

---------------------------------------------------------------------------------------------
(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: Wamp server strange icon
Posted by: Otomatic (Moderator)
Date: July 13, 2016 05:08PM

Hi,

> How can I keep my website open to the world and have default green icon at the same time?
Don't put Online and use VirtualHost: The need for Virtual Host

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

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Jika112 (51.235.93.---)
Date: July 27, 2016 12:55AM

@Otomatic,

First of all thank you for your time and help. Your solution for PHPMyAdmin worked for me perfectly. Really appreciate it :-)
I am gonna try and see how the virtual server works. As I was always turning on the online option.

@RiggsFolly
I am still getting forbidden from outside.

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: RiggsFolly (Moderator)
Date: July 27, 2016 10:26AM

Have you port forwarded your router?

---------------------------------------------------------------------------------------------
(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: Wamp server strange icon
Posted by: Jika112 (94.96.40.---)
Date: August 04, 2016 11:34PM

Hi,

I have a new problem, I made virtual host and have green icon but this time my server is not displaying anything not even 403 forbidden, it just says page not found or content not found, I tried multiple browsers and multiple computers from outside the network but the problem still persists


I am on Windows 10 enterprise x32 and wampserver is also x32 of course, with php 5.6 , mysql 5.7.14 and apache on 2.4.23.





thanks

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Jika112 (94.96.120.---)
Date: August 12, 2016 03:23AM

reply would be appreciated.

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: RiggsFolly (Moderator)
Date: August 12, 2016 04:34AM

Hi,

Lets start by you showing us your current

1. the httpd-vhosts.conf file
2. The hosts file
3. As you are trying to access from outside your network ( I assume the internet ) have you port forwarded your router.

---------------------------------------------------------------------------------------------
(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: Wamp server strange icon
Posted by: Jika112 (94.96.122.---)
Date: August 20, 2016 09:53PM

httpd-vhosts.conf file:

#
# Virtual Hosts
#

<VirtualHost *:80>
ServerName project1
DocumentRoot c:/wamp/www
<Directory "c:/wamp/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>


hosts file:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
127.0.0.1 project1
# ::1 localhost
::1 project1


and yes I have port forwarded

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: RiggsFolly (Moderator)
Date: August 22, 2016 12:06AM

And where is the Virtual Host definintion for localhost that belongs in the httpd-vhosts.conf file?

---------------------------------------------------------------------------------------------
(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: Wamp server strange icon
Posted by: Jika112 (51.235.133.---)
Date: August 30, 2016 04:16PM

something is missing? can you elaborate


Thanks

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Jika112 (51.235.133.---)
Date: September 02, 2016 05:27AM

bump, still waiting for an answer

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Otomatic (Moderator)
Date: September 02, 2016 09:36AM

Hi,

You had the answers: Use the VirtualHost: The need for Virtual Host

And I'll be very nice, this is what should be your httpd-vhosts.conf file:
# Virtual Hosts
#

<VirtualHost *:80>
	ServerName localhost
	DocumentRoot c:/wamp/www
	<Directory  "c:/wamp/www/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>
#
<VirtualHost *:80>
	ServerName project1
	DocumentRoot c:/wamp/www/project1
	<Directory  "c:/wamp/www/project1/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>
#

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

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Jika112 (178.62.208.---)
Date: September 25, 2016 10:54PM

Thanks , your solution worked

How can I allow MYSQL remote connections?


Thanks

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: Jika112 (94.96.66.---)
Date: October 23, 2016 01:19AM

waiting for an answer since several months

Options: ReplyQuote
Re: Wamp server strange icon
Posted by: RiggsFolly (Moderator)
Date: October 23, 2016 12:55PM

Then by now you really should have had time to read the MYSQL manual and work that out for yourself.

This site is NOT a Tutorial Site for any of the technologies delivered with WAMPServer

One of the purposes of providing WAMPServer is to allow people to teach themselves how to use these technologies, I emphasise TEACH THEMSELVES

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