Configuration after move XAMPP on one to other directory? - php

For XAMPP, Update bellow configurations files and replace your old directory to new one.
Like if your old directory was C: drive and you was moved your xampp on D: then replace bellow files C: to D: on bellow all configuration files.
Xampp/apache/conf/
1) httpd.conf
2) exra/httpd-ssl.conf
3) exra/httpd-xampp.conf
Xampp/mysql/bin
1) my.ini
Xampp/php/
1) php.ini
Getting bellow error when i start mysql or apache
Apache Error showing when i changed drive
11:13:52 [Apache] Error: Apache shutdown unexpectedly.
11:13:52 [Apache] This may be due to a blocked port, missing dependencies,
11:13:52 [Apache] improper privileges, a crash, or a shutdown by another method.
11:13:52 [Apache] Press the Logs button to view error logs and check
11:13:52 [Apache] the Windows Event Viewer for more clues
11:13:52 [Apache] If you need more help, copy and post this
11:13:52 [Apache] entire log window on the forums
MySQL Error showing when i changed drive
11:14:02 [mysql] Attempting to start MySQL app...
11:14:02 [mysql] Status change detected: running
11:14:02 [mysql] Status change detected: stopped
11:14:02 [mysql] Error: MySQL shutdown unexpectedly.
11:14:02 [mysql] This may be due to a blocked port, missing dependencies,
11:14:02 [mysql] improper privileges, a crash, or a shutdown by another method.
11:14:02 [mysql] Press the Logs button to view error logs and check
11:14:02 [mysql] the Windows Event Viewer for more clues
11:14:02 [mysql] If you need more help, copy and post this
11:14:02 [mysql] entire log window on the forums

Related

error showing when starting xampp after changing the hard disk to ssd

I have been running xampp from D drive well. Recently I have changed my hard disk to ssd. After then I can not run the xampp. I have checked the port that is written 8080 in httpd.conf and 4333 httpd-ssl.conf as per other suggestions. yet, I am getting the below message:
1:56:37 AM [Apache] Attempting to start Apache app...
1:56:38 AM [Apache] Status change detected: running
1:56:38 AM [Apache] Status change detected: stopped
1:56:38 AM [Apache] Error: Apache shutdown unexpectedly.
1:56:38 AM [Apache] This may be due to a blocked port, missing dependencies,
1:56:38 AM [Apache] improper privileges, a crash, or a shutdown by another method.
1:56:38 AM [Apache] Press the Logs button to view error logs and check
1:56:38 AM [Apache] the Windows Event Viewer for more clues
1:56:38 AM [Apache] If you need more help, copy and post this
1:56:38 AM [Apache] entire log window on the forums
1:56:40 AM [mysql] Attempting to start MySQL app...
Please suggest me a solution.
Thank you.

How to fix XAMPP "Apache / mysql shutdown unexpectedly" error

I was setting up a PHP server because I wrote some PHP code:
I opened XAMPP and it said:
18:36:08 [Apache] Error: Apache shutdown unexpectedly.
18:36:08 [Apache] This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method.
18:36:08 [Apache] Press the Logs button to view error logs and check the Windows Event Viewer for more clues
18:36:08 [Apache] If you need more help, copy and post this entire log window on the forums
18:36:23 [mysql] Status change detected: stopped
18:36:23 [mysql] Error: MySQL shutdown unexpectedly.
18:36:23 [mysql] This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method.
18:36:23 [mysql] Press the Logs button to view error logs and check the Windows Event Viewer for more clues
18:36:23 [mysql] If you need more help, copy and post this entire log window on the forums
What is happening???
There issue with port.
Open Skype. Go to Tools -> Options -> Advanced -> Connection.
Uncheck the Use port 80 and 443 for alternatives for incoming connections checkbox
Sign Out and Close all Skype windows.
Try restarting your Apache.

MySql Error when I start mysql in xampp windows

When I start mysql in control panel I obtain this error:
Error: MySQL shutdown unexpectedly.
09:35:03 [mysql] This may be due to a blocked port, missing dependencies,
09:35:03 [mysql] improper privileges, a crash, or a shutdown by another method.
09:35:03 [mysql] Press the Logs button to view error logs and check
09:35:03 [mysql] the Windows Event Viewer for more clues
09:35:03 [mysql] If you need more help, copy and post this
09:35:03 [mysql] entire log window on the forums
Anyone can help me?

Apache Server for PHP Programming

I tried to open XAMPP program and run for executing PHP files offline but the APACHE is not starting
11:36:51 AM [Apache] Attempting to start Apache app...
11:36:51 AM [Apache] Status change detected: running
11:36:53 AM [Apache] Status change detected: stopped
11:36:53 AM [Apache] Error: Apache shutdown unexpectedly.
11:36:53 AM [Apache] This may be due to a blocked port, missing dependencies,
11:36:53 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:36:53 AM [Apache] Press the Logs button to view error logs and check
11:36:53 AM [Apache] the Windows Event Viewer for more clues
11:36:53 AM [Apache] If you need more help, copy and post this
11:36:53 AM [Apache] entire log window on the forums

Missing dependencies MySQL Port

10:55:39 AM [mysql] Status change detected: running
10:55:39 AM [mysql] Status change detected: stopped
10:55:39 AM [mysql] Error: MySQL shutdown unexpectedly.
10:55:39 AM [mysql] This may be due to a blocked port, missing dependencies,
10:55:39 AM [mysql] improper privileges, a crash, or a shutdown by another method.
10:55:39 AM [mysql] Press the Logs button to view error logs and check
10:55:39 AM [mysql] the Windows Event Viewer for more clues
10:55:39 AM [mysql] If you need more help, copy and post this
10:55:39 AM [mysql] entire log window on the forums

Categories