XAMPP configuration failed on XP - php

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.

Related

XAMPP 2 instances on one server

I want to run 2 XAMPP instances on a Windows 2016 server.
1 XAMPP version 3.2.4 is already running:
Now version 3.2.4 has default PHP7x running and I need PHP5 also for a website. I tried to run PHP5 on the same instance. And for this I tried to follow: Is there way to use two PHP versions in XAMPP?.
Unfortunately I could not make it work. So I went for another approach and that is installing another version of XAMPP on the same server. I went for version 3.2.2. I changed the ports like stated in this url: How to change XAMPP apache server port?
But still doesnt work. Seems that my apache is hanging. Here is a screenshot:
Can anyone help me to get the 3.2.2 running? Thanks!
Fixed it. This is how to fix it: Change Apache service name. And then, while Apache is not running, click on the red cross (in the screenshot you see a green check mark but this was a red cross first) this will install Apache. Then run localhost en go to http://localhost:8080 and now its working. Two XAMPPs running at the same time.
Screenshot of chaning the Apache service name (you can go here by clicking on the Config button which you see also in the screenshot at the upper right corner):
In services you can see that there are two Apache running now from two XAMPP installations:

How to fix apachetl not finding apache instance and stop the server?

I am currently running macOS High Sierra version 10.13.6.
I am trying to stop an apache server from running on my localhost port 8080. This is what I get when I load localhost:8080 in my browser: Apache / PHP server screenshot. From research and the help of others in:
How to kill Apache / PHP server running on local host port 8080? I believe that my apache installation is broken because when I run the command sudo /usr/sbin/apachectl stop, it says: cannot find specified service.
I do not ever recall installing apache or starting the server, but it could have something to do with postgres. Is there a way I can try to fix my installation so that I can find the apache instance and stop it when I run sudo /usr/sbin/apachectl stop? If it is not an installation error, I am open to hear other ideas.
The EnterpriseDB logo on the screenshot kind of hints that this is not a standard installation of Apache, but something bundled together with EnterpriseDB, and it seems to have its own control scripts.
If you are not using it and do not plan to use it in the future, the most sensible thing would be to uninstall it completely.
If you just want to stop it, try running sudo /Library/PostgreSQL/EnterpriseDB-ApachePHP/apache/bin/apachectl stop
But if you only stop it, most probably it will start again automatically after next reboot, so if you're not uninstalling it, you can at least disable it. Here's a post on SuperUser (which is where you should've asked this question instead of SO, btw) where it was discussed how to disable the PostgreSQL server.
AFAIK, Apache is started as a part of the whole thing, so it should get disabled together with it.
The post is a bit older but the steps should be very similar, if not the same (apart from the PostgreSQL version).
Hope this helps.

WAMP installed, Apache running, but not MySQL

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.

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")

PHP wamp server error

I am pretty new on php particularly wamp. I got to access a live wamp server. PHP version 5.2.5. But my app needs to use PHP 5.3.0, so I just uninstall wamp from live server and install new wamp with PHP 5.3.0. Now the new installed server is not getting started. On starting it gives error that
php_pdo.dll file was not found. RE-installing app could fix problem.
Also the icon is still yellow. I want to know what the problem is with server and how this fix? Also is there some thing because of previously installed wamp server?
Pleas do tell me as it was live server so I need to fix things as quickly as possible.
Having PHP 5.3 you no longer need to have to activate PDO through the php.ini file. That means you're good to go using PDO natively.
This step is not necessary for PHP 5.3
and above, as a DLL is no longer
required for PDO.
http://www.php.net/manual/en/pdo.installation.php
It means that you didn't load the PDO extension. Do a right click on the WAMP icon in your task bar and under PHP menu enable the PDO extension. Restart wamp and the problem should be solved.
Click on the wamp server icon on your taskbar, go to Apache and you will find Test Port 80 in there. That will show whether port 80 is available or not. If not, go to httpd.conf file which is in the Apache menu of wamp server, find line Listen 80. Change 80 to 88. Restart All Services in wamp and that should work. Let me know if that helped.

Categories