WAMP installed, Apache running, but not MySQL - php

I am trying to install WAMP, webpages to be stored in localhost.
I have the relevant packages downloaded. Inside WAMP Apache running fine, but not mySQL. WAMP Icon is orange.
I have not downloaded anything regarding MySQL, before downloading WAMP.
What should i do?

It seems like MySQL is not initiated. I recommend, go to config->tick all modules, close. Restart computer, start WAMP Server. Disable firewall. If still no use, install a fresh copy.

Related

Windows 10 uninstall Mamp - cannot find C:\MAMP\unins000.exe

Short backstory: Recently I've installed MAMP as I want to start learning PHP. I got version 4.1.1 from the MAMP homepage, Apache didn't start. This seems to be a common bug for that version, I found a solution in downloading version 4.1.0. Both servers started but the Open WebStart Page didn't work.
My Problem: I wanted to try reinstalling it, I deleted the MAMP folder, as I thought that would be sufficient, instead of deleting it in the system settings. Now when I download it again and start the installer it says
MAMP setup has detected existing MAMP installation. You need to remove existing installation before proceeding. Do you want to uninstall it now?
Clicking either yes or no gives me
MAMP setup will now exit and the existing MAMP installation will not be removed.
In the system settings I find
MAMP & MAMP PRO 4.1.0 version 4.1.0 (1.47 GB)
When trying to uninstall it it gives me this error
Windows cannot find 'C:\MAMP\unins000.exe'. Make sure you typed the name correctly, and then try again.
Is there any way, other than reinstalling my whole OS, to solve this problem or do I have to turn to a different web server app?
I just encountered this problem and I hope my solution works for you as well:
Just download the .exe file into another device and install the MAMP.
After a successful installation, just copy the folder to your original device that has the problem.
And then you should find a file with a name starting with "uni" meaning it is for uninstallation. Just run that file and then everything should be fine!
I had the same problem (on OS is windows 10).
I browse the web and found a way:
You can download the ccleaner and use it, it can delete the MAMP.

I have both WAMP and APACHE installed. Do i just need one or both?

I downloaded APACHE to use as a server on my local machine. I tested it by turning it on 'http.exe' I believe it's called. And storing a 'index.php' file that just says "It works". It showed this file when I went on local host on my browser.
I've downloaded My SQL work bench, and WAMP, and PHPMyAdmin.
My question is, do I need to uninstall Apache since my WAMP local server is on. Because when I type in local host in to my browser it takes me to the WAMP server configuration page, instead of showing "It works".
So does this mean I don't need Apache any more?
WAMP is basically Apache,php and Mysql package. Once it is installed you have installed these 3 and ready to go. You don't need separate one. Phpmyadmin also installed there.
Once it is installed you can have a tray icon in right bottom of the desktop. Use this menu to manage Wamp for eg: Start or stop Apace and Mysql, configure Apache,PHP and Mysql etc. Once you started the apache and mysql. Just type http://localhost in web browser to check the installation is ok or not. Remember C:/wamp/www is the webroot where your php files should go.
Wamp includes Apache, so you don't need a separate installation.
WAMP stands for "Windows Apache MySQL PHP"
So having WAMP means you have Apache, PHP, MySQL, PHPMyAdmin etc.
To run PHP code you need Apache server. And WAMP is an apache server environment. Same as LAMP (Linux version) or XAMPP (my favourite, stands for "Cross-platform Apache MySQL PHP Perl")

Issues with WAMP server after installing OSGeo4W

I recently downloaded WAMP server to get started developing a website locally on my Windows 7 32 bit computer. It was working fine.
Not long after, I downloaded a few different OSGeo4W packages mainly to use QGIS and develop plugins. This is when I began having issues accessing the phpmyadmin local host (page not found error).
I tried uninstalling WAMP in order to re-install it, and now it seems to be taking a very long time to extract files, blocking on the apache 2.4.9 files. Does anyone have any idea if this may be because OSGeo4 installed another version of Apache on my computer? How can I solve this issue?
This is because apache is already running via OSGeo4W application. You can turn it off by launching OSGeo4W-Apache-Monitor and stopping the services. (start/all programs/Apache/OSGEO4W-Apache-Monitor.
Then restart wamp and it should work fine.

Cant modify data in database with wamp

I am using wamp to to host my server on my computer and I have a webpage where, that modifys that data in a database, when ever I try to modify the data though I get this error
Forbidden
You don't have permission to access /htdocs/< on this server.
with htdocs being my project folder
if anyone knows how to fix this that would be great.
thanks
Wamp does not use a htdocs folder by default, it sounds like you have a very messed up system.
Do you have another Apache service running? Wamps apache service is called 'wampapache' and NOT Apache.
Did you install apache some ther way before installing wamp, if so Uninstall it, ditto MySQL if you had that installed before installing wamp.

XAMPP configuration failed on XP

My OS is XP sp2. I downloaded XAMPP (new version of XAMPP 1.7.7) from apachefriends . Then installed. I read many articles and saw videos. but still I couldn't go to the 'http://localhost/xampp' .Browser says
This webpage is not available
When I started both mysql and the apache, here is a screen shot.
As all tutorials on the internet says, when I started, there is a green color label saying 'Running' infrom of the each component. Here there is nothing showed, but there is something in the console.But I can't see any php page in the browser after any related URL is typed. I m an absolute beginner for this.
New
I installed Apache 2.2 manually. Then it runs well and XAMPP shows Apache is in running. When the URL typed 'localhost', Apache's htdocs html page is appeared. So, now I assume that there is no issue in the port '80'(as the manually installed apache is running on it). I want to configure the XAMPP to work with my manually installed apache version. Any suggestion please ? Thanks in advance.
Make sure no other application is using port 80. (Skype does for example. Close Skype restart Apache).
Check if anything is running with netstat in cmd.

Categories