• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

XAMMP Service stopped

I found that I have lost my XAMMP connection.

I do not have IIS installed
I do not have Skype installed
I am using XP

I went to services and I found XAMMP Service is not running although set on automatic. I tried to restart but it come up with the message
The XAMMP service on the local computer started and then stopped.

I notice that if I type localhost in a browser I get to localhost/xammp correctly and if I click Status I see
SMTP service is Deactivated
FTP service is Deactivated
Tomcat service is Deactivated

All others are activated
I did check and my ftp software Core FTP seems to be running.

Any ideas are very welcome.

Thanks

John
0
johnhardy
Asked:
johnhardy
  • 6
  • 4
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
I notice that if I type localhost in a browser I get to localhost/xammp correctly
That means it's running or at least the web site is running.  None of the others things have to run for XAMPP to run and CoreFTP has nothing to do with XAMPP, it is a completely different program.
0
 
johnhardyAuthor Commented:
Thanks for the help Dave,
I tried another site on localhost and that's OK.

I tried in a browser localhost/mydomain and received message

 Access denied for user 'root@127.0.0.1'@'localhost' (using password: YES) in C:\xampp\htdocs\mydomain\Connections\PowerCMSConnection.php on line 9

Fatal error: Access denied for user 'root@127.0.0.1'@'localhost' (using password: YES) in C:\xampp\htdocs\mydomain\Connections\PowerCMSConnection.php on line 9

The connection code is
$hostname_PowerCMSConnection = "localhost";
$database_PowerCMSConnection = "mydomain";
$username_PowerCMSConnection = "root@127.0.0.1";
$password_PowerCMSConnection = "mypassword";
$PowerCMSConnection = mysql_pconnect($hostname_PowerCMSConnection, $username_PowerCMSConnection, $password_PowerCMSConnection) or trigger_error(mysql_error(),E_USER_ERROR);

I cannot see anything wrong there, maybe my eyes are not so sharp!
0
 
johnhardyAuthor Commented:
Just a bit more info I attach an image

Lock
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Dave BaldwinFixer of ProblemsCommented:
The username for MySQL would be "root", not "root@127.0.0.1".  And "127.0.0.1" is the same as "localhost" on most systems.  In a MySQL connection, you don't enter the IP address or domain name, MySQL reads that from the network connection request.  You just enter the username and password.

I haven't a clue about Navicat, I never use it.
0
 
johnhardyAuthor Commented:
Thanks Dave
I changed the username to root.

If I now open the index.php page with F12 from Dreamweaver i get the url address as file:///C:/xampp/htdocs/mydomain/index.php that shows just code.

If I open index.php with localhost/mydomain/ the correct page shows.

Any ideas?

Thanks

John
0
 
johnhardyAuthor Commented:
BTW
I opened some other index pages in other Dreamweaver sites on the machine and they open OK.
0
 
Dave BaldwinFixer of ProblemsCommented:
That's Dreamweaver's problem.  "file:///" means you are not opening the page thru the web server but as a regular file.  PHP requires you to open '*.php' files thru the web server for them to run thru the PHP interpreter and display properly.
0
 
johnhardyAuthor Commented:
Hello Dave
Yes you are right.

Somehow the server connection had been completely lost.
I have no idea how. It was working OK so must have been in existence previously.

Anyway all seems OK now
Thanks
John
0
 
johnhardyAuthor Commented:
Thanks for the great help.
Regards

john
0
 
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now