I changed my upload limit and now Apache has stopped working

Problems with the Windows version of XAMPP, questions, comments, and anything related.

I changed my upload limit and now Apache has stopped working

Postby andymoop » 21. February 2017 00:00

Hi guys any help would much be appreciated.

I have been setting up a local host this evening for the first time and have had many issues.

Finally got Wordpress to work on a local host but could not upload my theme due to upload limit.

Worked out how to change the upload limit in php.ini but now Apache wont start back up again.

error message as follows -

10:55:01 PM [main] Initializing Control Panel
10:55:01 PM [main] Windows Version: Pro 64-bit
10:55:01 PM [main] XAMPP Version: 7.1.1
10:55:01 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
10:55:01 PM [main] You are not running with administrator rights! This will work for
10:55:01 PM [main] most application stuff but whenever you do something with services
10:55:01 PM [main] there will be a security dialogue or things will break! So think
10:55:01 PM [main] about running this application with administrator rights!
10:55:01 PM [main] XAMPP Installation Directory: "c:\xampp\"
10:55:01 PM [main] Checking for prerequisites
10:55:01 PM [main] All prerequisites found
10:55:01 PM [main] Initializing Modules
10:55:01 PM [mysql] XAMPP MySQL is already running on port 3306
10:55:01 PM [main] Starting Check-Timer
10:55:01 PM [main] Control Panel Ready
10:56:23 PM [Apache] Attempting to start Apache app...
10:56:23 PM [Apache] Status change detected: running
10:56:24 PM [Apache] Status change detected: stopped
10:56:24 PM [Apache] Error: Apache shutdown unexpectedly.
10:56:24 PM [Apache] This may be due to a blocked port, missing dependencies,
10:56:24 PM [Apache] improper privileges, a crash, or a shutdown by another method.
10:56:24 PM [Apache] Press the Logs button to view error logs and check
10:56:24 PM [Apache] the Windows Event Viewer for more clues
10:56:24 PM [Apache] If you need more help, copy and post this
10:56:24 PM [Apache] entire log window on the forums


Any help much appreciated.

Thanks in advance,

Andy
andymoop
 
Posts: 1
Joined: 20. February 2017 23:55
XAMPP version: v3.2.2
Operating System: Windows 10 pro

Re: I changed my upload limit and now Apache has stopped wor

Postby Altrea » 21. February 2017 01:54

andymoop wrote:10:56:24 PM [Apache] Press the Logs button to view error logs and check
10:56:24 PM [Apache] the Windows Event Viewer for more clues
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8845
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: I changed my upload limit and now Apache has stopped wor

Postby valmach » 27. February 2017 20:56

Here is what I figured out for a windows machine, may apply to mac as well. MySQL. download and install the 1.7m installer from here: https://dev.mysql.com/downloads/windows/installer/5.7.html follow all the steps.. When it asks you to configure ports , change to 3308.. You should be good to go after that.. I do not believe you will need to setup a new firewall rule .. But if the previous steps do not work.. try that.. setup a rule for 3308.. Oh yes.. If you have Jenkins or Tomcat running for Jenkins.. go to the services window in Task Manager and stop Jenkins. | XAMMP, install it after MySQL., | click on the 'configure button next to MySQL as follows. change all instance in the ini file from 3306 - 08. | click & configure Tomcat for port 80 | 443 | install it Bon Chance!
valmach
 
Posts: 3
Joined: 26. February 2017 16:44
XAMPP version: 7
Operating System: windows 10

Re: I changed my upload limit and now Apache has stopped wor

Postby Altrea » 27. February 2017 22:58

Installing an alternative MySQL version will not solve any Problems with php.ini or Apache!
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8845
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: I changed my upload limit and now Apache has stopped wor

Postby valmach » 27. February 2017 23:03

yeah sorry mate. just trying to help.. me mum always said if you aint got nothing constructive to say .. don't say anything
valmach
 
Posts: 3
Joined: 26. February 2017 16:44
XAMPP version: 7
Operating System: windows 10

Re: I changed my upload limit and now Apache has stopped wor

Postby valmach » 28. February 2017 06:09

I posted earlier about this .. what i uncovered after hours of pain.. if you are on XAMMP 7.0 .. uninstall that immediately and install 7.1.. install it on c:\ drive.. do not install in program files..

https://www.apachefriends.org/download.html
valmach
 
Posts: 3
Joined: 26. February 2017 16:44
XAMPP version: 7
Operating System: windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 45 guests