王林2019-08-15 16:19:14
You can first check whether eclipse supports the PHP version. If not, go to the official website to download the corresponding version. Furthermore, when running PHP files inside eclipse, be sure to add the port number. Sometimes direct localhost is not possible if your port number has been changed.