apache - How does phpStudy use a higher version of php?
黄舟2017-05-16 13:02:57
0
2
437
The php version with NTS in phpStudy cannot be used. A forbidden error will be reported as soon as you switch. Do you need to modify the configuration file? Baidu always allows the modification to allow from all. Doesn't work.
Try replacing it manually. Download the version you want and try replacing the corresponding .dll file in the apache directory. And some configuration path modifications.
The current highest version of phpStudy software is phpStudy 2016.11.03, which supports php7. But, 7 comes with NTS. So there are only a few ways:
Switch to Mamp.
Try to replace the NTS file in php in PhpStudy (meaning you download a php and directly overwrite the one in phpstudy)
Make your own environment.
Try replacing it manually. Download the version you want and try replacing the corresponding .dll file in the apache directory. And some configuration path modifications.