Apache stopped booting after upgrading the individual PHP included with XAMPP.

Asked 2 years ago, Updated 2 years ago, 57 views

This is the second question I made in Previous question.
There is a big difference between the title and the second inquiry, so I re-posted it as a different matter.

Background

In order to switch PHP development to Eclipse, we have set up Eclipse 4.7 oxygen, which is included with the Japanese version plug-in Xampp, on the Windows 7 x86 terminal.
I checked the operation of PHP/Apache 2.4 just in case, but the PHP version was unexpected, so I tried to VerUp from 5.6 to 7.0 only for PHP.

Current Issues

In doing this, we used the https://thk.kanzae.net/net/windows/t5591/ article to keep the folder name directly under XAMPP in PHP, replacing the folder from 5.6 to 7.0.
(The old Ver folder name is also saved, and the new Ver folder I got this time: php-7.0.28-Win32-VC14-x86 is renamed PHP)

After restarting Apache, the following appears on the console:
Also, we have confirmed that if you change the old Ver folder back to the specified PHP name, it can start normally.

 13:27:14 [Apache] Error: Apache shutdown unexpectedly.
13:27:14 [Apache] This may be due to a blocked port, missing dependencies, 
13:27:14 [Apache] improper privileges, a crash, or a shutdown by another method.
13:27:14 [Apache] Press the Logs button to view error logs and check
13:27:14 [Apache] the Windows Event Viewer for more clouds
13:27:14 [Apache] If you need more help, copy and post this
13:27:14 [Apache] entire log window on the forums

Press the Logs button to view error logs in this English message. Both the Apache Error log and Access log do not show the time zone when Apache failed to start.
(Not in the Windows Event Log)

The reference article also mentions how to deal with "If you start Apache and get an error"
I don't know if the measure is consistent with our current situation, so I'm worried about what I should do to improve it.

Question

What should I try to make Apache safe?
According to the article I used as a reference, I was able to get PHP of the old version without having to uninstall the program.Is it appropriate to replace the contents of the folder with VerUp?
We look forward to hearing from you.

php apache

2022-09-30 20:22

1 Answers

On the site I referred to, I was lucky enough to replace it, but if you built an environment with XAMPP,
Wouldn't it be better to upgrade with XAMPP to avoid unnecessary trouble?

Another site provides instructions for upgrading XAMPP after backing up the configuration in advance.
https://gameusers.org/dev/blog/xampp-update/

add

I checked the operation of PHP/Apache 2.4 just in case, but the PHP version was unexpected.

However, as far as XAMPP download page, you can see what versions each distribution package contains (in a relatively recent release), and it seems to be based on XAMPP version=PHP version.
Shouldn't you check the version you need to install before doing the actual work?


2022-09-30 20:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.