Due to the fact that I recently encountered some very old web platforms built with PHP (php5.3.x) at work, and the PHP version installed on my computer (self-built server environment, not using an integrated environment) is very high (php5.6.x).
As a result, I get various error messages when I run it on my computer! !
As long as you lower the version, the error will not occur.
However, after the version was downgraded, I found that the running speed was also significantly reduced (the response speed of the website was reduced too much).
It feels like it’s a bit worth the loss (it greatly reduces my work efficiency).
So, I suddenly thought: If I install multiple apache servers on my computer, each server integrates a different version of php. If I encounter an old version, I will use the old version of apache. If I encounter a new version, I will use it. Use the new version, and if it is for personal use, use the new version.
This is perfect, isn’t it? ?
I have used multiple servers on my computer, but various problems will occur during actual operation, such as:
apache will have SSL problems, various path problems, the virtual host is invalid, etc.? ?
php will appear. The mb_string module is obviously enabled (the module path: extension_dir is also set), but this module cannot be loaded (the same is true for other modules)
Unless you simply use the single network directory under /Apache/htdoc/, use the PHP default settings (which cannot be set at all).
I don’t know which master has such an idea and has actually put it into practice. So far, there are still multiple apache hanging on the windows computer? ?