Sunday, April 9, 2017

WAMP - Installing Windows Webserver on Windows 10


Installing WampServer on Windows10

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your.

WampServer can using with PostgreSQL database and download PhpPgAdmin allows you to manage easily your too.

WampServer automatically installs everything you need to intuitively develope Web applications. You will be able to tune your server without even touching its setting files. Best of all, WampServer is available for free (under GPML license) in both 32 and 64 bit versions. Wampserver is not compatible with Windows XP, SP3, or Windows Server 2003.

WampServer Installing:

  • Double click on the WampServer downloaded file and just follow the instructions. Everything is automatic. The WampServer package is delivered whith the latest releases of Apache, MySQL and PHP.
        
  • Once WampServer is installed, you can manually add aditionals Apache, Php or MySql (only VC9, VC10 and VC11 compiled) versions. Explanations will be provided on the forum.
        
  • Each release of Apache, MySQL and PHP has its own settings and its own files (datas for MySQL).

Using wampserver

  •     The “www” directory will be automatically created (usually c:\wamp\www)
  •     Create a subdirectory in “www” and put your PHP files inside.
  •     Click on the “localhost” link in the WampSever menu or open your internet browser and go to the URL : http://localhost

WampServer Functionalities

WampServer’s functionalities are very complete and easy to use so we won’t explain here how to use them.
With a left click on WampServer’s icon, you will be able to:
  •     manage your Apache and MySQL services
  •     switch online/offline (give access to everyone or only localhost)
  •     install and switch Apache, MySQL and PHP releases
  •     manage your servers settings
  •     access your logs
  •     access your settings files
  •     create alias
  •  

How to Resolved Error after installed WampSerer on Windows10?

After installed WampServer on Windows10 then Webserver not working, you can check follow this step:

1. Checking services.msc See Wold Wide Publishing Service must set to Stop >Restart wampserver
2. Stop IIS in not require: Go to cmd.exe and type iisreset /stop >Restart wampserver
3. Checking System32 find HOSTS file and edit to
127.0.0.1 localhost
::1 localhost
>Restart wampserver
4.Sometime can change port httpd.conf to 8080 >Restart wampserver
http://localhost:8080


NOTE:
*For intranet using: select protocal TCP/Pv4 instead of TCP/Pv6
Windows firewall set to Off mode
**php.ini must enable pgsql extension and err reporting edit to E_ALL & ~E_NOTICE & E_WARNING
***Drupal8 installing must enable php_opcache in php extionsion

****and you can set wampserver run automatic by setting service.msc
FOR phpmyadmin superuser: root user defaut password is blank


How to Resolved the Forbidden 403 for WampServer on Windows10?

When client computer connect to windows10server, 1st time i found this Error:
You don't have permission to access / on this server.
Apache/2.4.18 (Win64) PHP/5.6.19 Server at Servername Port 80


When I tested to change httpd-vhosts.conf file to:
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot D:/SYSTEM/WebServer10/wamp64/www
    <Directory  "D:/SYSTEM/WebServer10/wamp64/www/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

AFTER restart wampserver the problem resolved.
Read more detail at WampServer's Form


FOR PosgreSQL config adding client computer like this:
*****pg_hba config file for posgreSQL database must set  client user like this:
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#host    replication     postgres        127.0.0.1/32            md5
#host    replication     postgres        ::1/128                 md5

host all all ipadress subnetmask password


Share some idea, What do you think about Wampserver?

No comments:

Post a Comment

Featured Posts

Two Ways to Win in Trading

Two approaches to trading Forex trading is complex and challenging. Numerous and various market participants constantly contemplate how to ...