Xampp 1.8.3-4 server issue with FTP and MySQL - mysql

It's been two days I'm Googling to find a solution and not successful as of now. I'm trying to get Xampp 1.3.8-4 working properly in my Mac Maverics.
Out of the 3 green indicators in the 'Manage Servers' window only Apache Web Server is running and trying hard to get MySql database and proFTPD running with no luck.
This has been working fine and only change I've done is installed WordPress and added a few themes if that helps.
Application logs says below;
Starting all servers...
Starting MySQL Database...
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Starting MySQL Database...
Stopping all servers...
Stopping Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd stopped
Restarting all servers...
Starting MySQL Database...
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Any help would be much appreciated.
Thank you.

This might be because the you are trying to run two Apache servers at the same time. I got the same problem on my Mac running Xampp 1.8.3-4 server and i got my Apple version of Apache server already running. If you open your browser and type 'localhost' and it say 'It Works', means the the apple version of Apache server is already running.
To stop the Apple version of Apache server:
In OSX 10.7 and earlier, you could start and stop the Apache Web Server in Control Panel, by choosing "Sharing" and then unchecking the "Web Sharing" checkbox. As of 10.8 this option is no longer in the control panel.
To disable Apple's version of Apache in current versions of OS X, open a Terminal window and type this command:
sudo apachectl stop
You will need to type your system password when prompted, then you should be able to start the XAMPP version of Apache.
Reference:
https://community.apachefriends.org/f/viewtopic.php?f=29&t=68351

Related

Apache 2 Ubuntu default page not loading on web browser

everyone. i installed moodle on ubuntu operating system, using putty software. i followed the step by step process on how to install moodle on apache2 server from https://docs.moodle.org/26/en/Step-by-step_Installation_Guide_for_Ubuntu. after the installation process, localhost doesnt seem to load the apache2 ubuntu default page.
To enure that the server is ruuning, i used sudo systemctl status apache2 to check server status and it shows server is active.
Please any possible solutions on how i can solve this issue?

Apache2 mistakes with my websites

I will start with the fact that I have an UBUNTU 16.04 server with OCS Inventory and GLPI, MyPHPadmin, Apache2 etc. on it.
Each computer on which the OCS Agent will be installed will appear in the program database which is at the given address: MY_Adress_IP / ocsreports.
Today I wanted to install OCS plugins but one of the plugins required the installation of the Ngnix package. After refreshing the page, I received the "403 Forbidden" message. I checked Apache2 status. The log displayed an error during the start of the httpd process.
I uninstalled with apt-get purge and apt-get removed ngnix, but this gave a negative result because the address: My_Adress_IP / ocsreport does not work as if the page did not exist.
I reinstalled Apache2. He started, but my site does not work (website OCS, GLPI, Myphpadmin panel)
I will add that OCS, GLPI, PHP, APACHE2, MyPHPadmin is installed on the server.
How to connect or configure the new Apache2 with OCS? Will I have to install OCS from scratch?
I will add that My_Adress_IP / myphpadmin does not work either.
Show databases command; shows that there are bases.
Sorry for my bad language.

xamp: how I can get localhost page (with big xampp logo)

I have installed XAMPP and started Apache and MySQL, but when I try to enter local host it appears that
----- <Welcome to XAMPP for Windows 5.6.12
You have successfully installed XAMPP on this system! Now you can start using Apache, MySQL, PHP and other components. You can find more info in the FAQs section or check the HOW-TO Guides for getting started with PHP applications.
Start the XAMPP Control Panel to check the server status.> -----
the XAMPP s own dashboard page.. it seems every thing is ok Apache and MySQL are running but I cant get local host page. what have to do?
Try http://localhost/xampp
Perphaps the http server is blocked by your local firewall?

xampp Mysql not starting while set as service

I'm using xampp v1.8.1
While not installing Mysql and Apache as services, everything is ok and I can run both of them on default ports.
but when I install them as services only Apache runs normally. but Mysql is frozen at "Attempting to start MySQL service..." and there is no error in its log file and nothing in xampp control panel log.
there is no problem with port numbers because it can run on default port without the service checkbox checked
FYI my OS is: Windows Server 2008 SP2.
thanks
The problem solved by using the xampp installer instead of extracted zip archive. It seems that there is some problems with the config in the portable edition.

Can I keep MYSQL and WAMP Server running together?

At first, I use Struts 2 to develop a website in Java web technology. So I installed Apache Tomcat as the localhost server and MYSQL as the database (MYSQL here is the full application from mysql.com, not the packages like XAMPP or WAMP...)
But now I switch to learn a little bit about PHP so I install WAMP full package. When I start all services of WAMP and go to browser and type localhost, everything work fine
But when I go to localhost/phpmyadmin, it seems to connect to the old MYSQL application in my computer (what I've used in Java web). And then I restart computer and use MYSQL Workbench (in the MYSQL application), but now it connects to the database of WAMP package, and I can not connect to the old database (in Java web) anymore
The solution is remove WAMP but I need WAMP for PHP
So I just want to ask how can I use MYSQL application and WAMP package together (MYSQL application for Java web and WAMP package for PHP)?
Thank you and apology for my bad English!
Go to C:\Program Files (x86)\MySQL\MySQL Server 5.1 and open my (Configuration file) and then navigate to
[client]
port=3306
Change this to
[client]
port:3307
This will make phpmyadmin to run on 3306 and Java-Mysql to run on 3307
You can of course keep both XAMPP and WAMP running together keeping in mind that you have changed the default ports for either of it to some other ports rather than 80,443 and 3306, but sometimes it could create conflict as when you install some other third party softwares or enable certain services that run on port 80,443,3306.
The best alternative here would be to install one of the servers inside a virtual machine with network configured as "host-only-adapter" so that from the base machine you could access XAMPP/WAMP installed on the virtual machine by just pointing the ip-address of the virtual machine through a web-browser.
or,
If you want to run both XAMPP and WAMP together on the same machine but access only one of the servers at a time then you could go ahead installing both of them one after another. But, keep in mind that before installing the other server you have to completely stop all the services running from the XAMPP or WAMP control panel then quit the application. After this step you can go ahead installing the other server without changing any configurations or port numbers. This is because in this case we assumed that only one of the servers would be accessed at a time. Hence, before launching the other server one has to completely quit the application that is running currently by stopping all of it's services. If skype is installed then one has to change the default incoming connection ports to other than port 80 and 443.
Like mentioned above, if at all the intention is to access both servers up and running concurrently then taking advantage of a virtual machine would be the best to avoid conflicts and a long-term troubleshoots eventually.
If you messed up changing ports and config files then you could end up with the following error while trying to access phpmyadmin from XAMPP control panel:
**mysql said: Cannot connect: invalid settings. xampp**
note: while launching the servers , run it as administrator else some services will not start properly.
"I TRIED INSTALLING BOTH XAMPP AND WAMP ON WINDOWS 10 AS SUCH AS POINTED BY MANY THREADS I CHANGED THE DEFAULT PORTS FOR MYSQL & APACHE XAMPP AS IT WOULD CONFLICT WITH WAMP ALREADY INSTALLED ONLY ENDING UP UNABLE TO ACCESS PHPMYADMIN FROM XAMPP CONTROL PANEL. THEN REINSTALLED XAMPP WITHOUT CHANGING ANY CONFIGS OR PORTS. STOP THE WAMP SERVICES, QUIT THE APP AND THEN LAUNCH PHPMYADMIN FROM XAMPP CONTROL PANEL. AT LAST IT WORKED!. THE PROCESS LOOKS SHORT THOUGH WHEN IN REALITY IT TOOK ME COUNTLESS HOURS AND PAIN RESEARCHING ON THE WEB AND TESTING FOR A POSSIBLE SOLUTION UNTILL I CAME UP WITH THIS."
Hopes, this quick tips and guides would be helpful.