This is the error I am receiving:
Here is the error log; http://pastebin.com/zxKeFAJJ
I do not have skype installed and I have changed the ports. I have XAMPP installed on an external HDD.
I know I just asked this question, but I found the answer, hopefully it can save some people time in the future;
locate to the XAMPP directory and start the setup_xampp.bat file to refresh the install and reset all the configs. Really simple and fast to do.
If changing the ports doesn't work for you, try this method as it could be an installation or drive problem. Thanks!
Related
NOTE: I am using XAMPP
When I browse localhost/phpmyadmin or localhost/ even the localhost/xampp is not working it just says took too long to respond. I have tried changing the Listen 80 to 8080 in apache(httpd.conf) it didnt solve my problem.
It was working before and then somehow it not working.
Any help would be appreciated. Thank you
It is not port issue as apache is working just it is taking too much time in responding.
If xampp restarts your computer it might be taking too much resources from your PC. Monitor memory usage and disk usage from task manager.
On windows (specially windows10 ) disk usage makes problem with many application during windows update. If updates are downloaded and not installed; install and rebbot your machine.
If possiible you can try reinstalling XAMPP by taking backup of old configuration files.
So here is what happens when i run xampp by clicking on the manager-osx.
I click on "manager-osx".
Icon jumps in the dock as if it is starting the service.
Asks for admin password. I enter the password.
It accepts the password, and application keep jumping in the docs for 3-4 times.
The app disappear from the dock.
The issue started after i have quit few processes from the activity monitor.
I am not sure what has affected xampp and can't remember what services i have stopped as there were many.
Solution applied so far:
Restarted my MacBook Pro.
Exit all other application and tried to run xampp.
Made sure no other application is running on port 80.
Removed xampp from applications and tried to reinstalled. Same issue with re-installation process, It asks for admin password and then nothing happens.
search online for any help but nothing helpful found.
I haven't got any experience with XAMMP but MAMP works always fine for me. MAMP has everything I need in terms of functionality.
I would recommend MAMP
If MAMP is not the best solution for you. You can install manualy
APACHE + PHP + MYSQL (It's not so hard)
Just go step by step using tutorial like
This
Manual installation will give you much more controll on your enviroment.
And also you will have better output to attach it here if you can't find a problems.
Of course it's little bit longer than 3 clicks. But on all production servers you need to install environment manually. This knowledge you will use later much more times. You will better understand how all is works and how to find reason of bug.(error)
I purchased a Simple Hosting instance using node.js/mysql on gandi.net.
I'm trying to set up my database, but I'm having some issues with connectivity.
I found some sample code to connect and talk to the database (which I set up via PHPMyAdmin), but it requires the mysql module (which I assumed would already be installed on my instance, but since I don't know how any of this works, that's fine).
I get the error:
Error: Cannot find module 'mysql'
in my log file.
I'm at a loss though as to how to actually install the module.
I tried to use their SSH console (via a firefox plugin), but my SSH credentials don't have the permission to run 'npm install mysql' and sudo isn't installed.
I also tried to install Git for Windows from mysisgit but I have zero idea how to connect to my remote server from this tool.
I'm just looking for some advice on how to proceed. I'm totally new and am engaging in learning this for personal development, so I don't have a lot of info on where to turn. Thanks!
The problem was that I wasn't using SSH to install to the correct directory (I was just trying to run it directly when I logged into shell). I needed to navigate into my web/vhosts/default/ directory, then the 'npm install mysql' worked absolutely fine.
I am using a open source document repositary kordil edbms which works fine in my windows 7 machine .
But when i installed it in windows small business server, xamp is not running. when i start task manager httpd itself is not getting shown. I went to xamp control panel and it says error running mysql busy.I have share point in that machine which also has localhost 80.
So I changed the apache port.
I changed the apache port in httpd.conf file in 2 places
listen
server name
It seems i need to change the port for mysql also. Now what is the option to change the port for xamp mysql or am i going wrong some where else. Please also look at the screenshot of xamp control panel.
Quit Skype and then restart all services from your XAMPP and let me know if its work or not.
Port conflict as Skype also consumes 80 by default
Click on SCM and manage services by starting and stopping.
EDIT
check this link for both to work with - http://www.binodranabhat.com.np/blog/using-xampp-and-iis-together/
MYSQL not working because xampp which path excepting that path not getting automatically .
that is reason behind xampp mysql not start
go to window +R press then open cmd with run as administration then type this command
sc delete mysql
then after start mysql problem resolved.
Fixing Apache Port Conflicts
Another error message that is pretty common to see when working with XAMPP is a notification in the XAMPP control panel that the ports Apache needs to use, ports 443 and 80, are already being used by another application.
A message from the XAMPP control panel letting us know Skype is using ports 443 and 80
In the case of the error message in the image above, this is a pretty easy fix. The offending application is Skype. If you see the same message, close Skype completely and restart XAMPP to solve the problem. Skype is a frequent-flier on the port-blocking scene and pretty easy to identify and remediate. Unfortunately, things aren’t always so simple.
Recently my MAMP and the native Apache web server on my Mac (10.6.8) quit working and do not seem to want to start. I've tried searching all over the web for answers, but can't seem to find any good answers. Several things to note:
1) When I try to start the Apache web server through System Preferences, the console logs the following error:
- [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
The server then appears to run, but the little green/red/yellow dot on the System Preferences pane stays yellow.
2) MAMP will not initialize at all. I cannot find an my.cnf file anywhere on my computer and the log/error files for both mysql and apache do not exist. I have uninstalled MAMP Pro with the uninstaller and removed the MAMP folder before running a reinstall to see if that solves the problem. This did not seem to work.
Any suggestions?
To solve the missing my.cnf file you need do the following steps in a terminal
Open a terminal Window
Utilities->Terminal
Create the missing file
sudo touch /etc/my.cnf
N.B. You will be asked to enter your password.
Change the owner of the file
sudo chown fraki /etc/my.cnf
N.B. Replace fraki with your username
With regards to the Apache problem, looks like a bad SSL configuration. I can direct you to how I setup SSL on my MAMP installation for OSX Lion:
http://frankieinguanez.wordpress.com/2012/02/10/configuring-ssl-for-apache-on-os-x-lion-using-mamp/