Step 4)
Add the phpzmq.dll declaration to your PHP.ini
It is important to notice that there are few php.ini in WAMP server directory.
The correct php is in C:\wamp\bin\apache\apache2.4.9\php.ini
Append the following declaration into the php.ini mentioned above.
After you have checked you have all the runtime libraries, you may also need to re-install the Apache and MYSQL services as the upgrade to Windows 10 unfortunately sometimes (pretty much always) misses the fact that you have 2 services running that should be replaced after the upgrade i.e. wampapache and wampmysqld
I faced the problem and solved it by installing Microsoft Visual C/C++ Redistributable 2010 (VC10), both 32bit / 64bit as 2008 and 2012 were already installed. My configuration: windows 10 64 bit, wampserver 64 bit.
But wamp icon did not change its color to orange to green. (turning wamp icon orange to green means it start working). I installed wamp multiple time to make it color orange to green but it still show orange color. But actually, behind the scene it was working I checked it in browser by URL:
When you are sitting at a different computer that is NOT on the same IP subnet (not connected to the same router and/or switch) and you put the EXTERNAL IP address in the browser, you don't see the web server.
Have you forwarded port 80 in the router to the internal IP address of that computer? Does your ISP allow inbound access/traffic on port 80? How would you test this? Well, first, make sure your router doesn't have a firewall blocking inbound port 80 traffic. Make sure you properly forwarded port 80. Make sure your internal IP address is static (in the DHCP table). If you have done these things... then it might be an issue with port 80. You can test it by going into WAMP and changing the port used to... whatever... 8080. This is just for testing purposes anyway. Then, go back into the router, and everywhere you dealt with port 80, change it to 8080. Then try accessing the server.
This is how I solved the problem, and it is obvious if you think about. In Wampserver 3.2 there is a wizard to create your virtual host. However, it only used the name of the virtual host folder as the name of the virtual host server. When you access the server remotely you use the fully qualified domain name, but there is no configuration for that yet in Wampserver httpd-Vhost.conf file. Get to this file from the Wampserver->Apache menu. Copy the current vhost you want to access and paste that config into the file. Change the servername to the fully qualified domain name of the vhost. This also assumes you have a DNS CNAME entry for your vhost.
WampServer is a Windows web development platform for dynamic web applications using the Apache2 server, the PHP scripting language, MySQL database and also MariaDB. It also has PhpMyAdmin to more easily manage your databases and MySQL Workbench GUI to manage your Mysql and MariaDB server. Perfect solution for setting up a web server to host your websites.
WAMP Server Features
WampServer is a local server package for Windows, allowing you to install and host web applications that use ApacheApache Apache is the most widely used web server software. Developed and maintained by Apache Software Foundation. Apache is an Open Source software available for free., PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher and MySQLMySQL MySQL is a relational database management system. A database is a structured collection of data where content, configuration and other options are stored.
A Windows Security Alert window will open, saying that Windows Firewall has blocked some features of the program. Check whether you want to allow Apache HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. Server to communicate on a private or public networknetwork (versus site, blog), then click Allow Access.
Once the progress bar is completely green, the PHP Mail Parameters screen will appear. Leave the SMTP server as localhost, and change the email address to one of your choosing. Click Next to continue.
WampServer refers to a solution stack for the Microsoft Windows operating system, created by Romain Bourdon and consisting of the Apache web server, OpenSSL for SSL support, MySQL database and PHP programming language.[1][2]
I had a look into both of them, and I am not sure what is the purpose of each one of them and which one is used by my the WAMP server currently. Also, I needed to know the difference in using my-huge.ini and my-innodb-heavy-4G.ini. I have also configured Apache SOLR for indexing the search (I don't know if this is relevant).
So you want host your own website, well you found the right post. If you have a spare Windows machine and some time, I will show you how to host your own website using WAMP server from your home or office. In this post I will show you the steps I took to configure WAMP to start my web server and host my own website for testing and personal projects.
Any of these project can be easily hosted from your own web server without having to pay a company for web hosting. However, I would NOT recommend this approach if you are doing anything complex, like a business or eCommerce site, or generally a site that you expect to grow and get a lot of traffic, as most ISP would not allow this and even if they do you will probably end up having to invest more time and money on better software and hardware to keep up. Rather, I recommend using a good web host, like SiteGround or GreenGeeks, to do these types of projects.
In my case, I want to test a tool like MainWP without the restrictions of a web host and I do not want to spend a lot of money for VPS hosting, so for me it makes sense to run this on my own web server. I have an HP ProLiant mini server which is a nice and small eco-friendly machine that is always on. Hosting my website on it will not only save me money but it will allow me to change any parameters typically not allowed in shared hosting plans, like memory limits and max execution timeouts (ugh!).
In my case, I will need to consider any roles my server has before adding WAMP to serve my web pages. Currently, my server is running IIS to allow me to view, save, and retrieve files from my home network as well as from the outside world via a web browser. If I want to use WAMP Server, I will need to disable the IIS service.
I have a separate post on how to do this if you need help with this step. Simply download wamp server from wampserver.com/en/ and take the defaults. Once it is installed you will notice the green light on the wamp icon on your system tray.
Now you will want to make wampmanager.exe start when Windows starts. So in case you re-start your server, or it re-starts itself due to Windows updates, power surges, or other unpredictable cause, your are covered.
Now we need to make Apache listen to port 80 on our host machine. For this, open your httpd.conf file found under C:\wamp\bin\apache\apache[version#]\conf and edit the following lines:
Hi farzad, you can definitely use your own domain name. You will need to register the domain and get Dynamic DNS service to be able to point the domain to your web server. This is the typical option for non-static IPs. A company named No-IP provides Dynamic DNS service that works great. You can check out their page for more info: -access. They have a free option but you will have to use domains provided by them. Hope this helps ?
Hi Levi, 127.0.0.1 is your loopback address. The ServerName is the IP address of your server. On most home routers this is normally an internal IP that starts in 192.168.x.x. Hope this helps. Thank you for the comment ?
Great walk through ,
had some issues with using this method on win 10 , but I was using the 3.04 snapshot of WAMP .
after going back to the 2.5 flavor of WAMP, everything installed and setup smoothly . My intentions are just to use this as a simple server to host a page for my son and his friends video game clan . Thanks for the help!
I want to know that i have web domain from godaddy, i am trying to do as per your step, but i am not able to see my website if i type my web domain, i am changing virtual host in apache, also in windows, I have also with me static ip from my ISP.
I want to know i have to write 127.0.0.1 to godaddy manage domain page? or my static ip?
In Short I have web domain from registrar godaddy, i will download wamp to my laptop harddisk, this domain i want to attach wamp which i have downloaded, can you give the step by step blog?
hello sir ,
i am running wamp server version 3 on windows 10. I did all the things you mentioned above .The server is running online showing green icon , yet i am unable to access the website using my public ip address.
It shows some 503 error. Although , i am able to access the site on my other devices , but only through LAN . I have done port forwarding also .
Thank you .
Hello, Hanry!
Thank you so much for the article, really helped a lot. I have a question though, how can I host my website which is created on WAMP server to a given domain, and do I need to transfer the tables created in database as well? Also, do I need to transfer all the files used in the field? Kindly help me with this, thanks in advance.