简体   繁体   中英

Need to update my eclipse to run php files on wamp server

I have been using eclipse Kepler on my system. I have installed PDT plugin from https://eclipse.org/pdt . I have WAMP on my system. Now what I require is to configure a sample project for the PHP to run on my WAMP server through eclipse.

您可以从http://10.0.2.2从android访问(localhost)服务器文件,此文件作为模拟器的本地主机

Since www is the wamp public folder where you should store your website, perhaps a good idea would be making the workspace the same folder.

To change the workspace in Eclipse just go to File > Switch workspace and select the www folder from wamp, also move your php project there.

You can get rid of all the default files that come inside the www folder if you haven't.

Then just run on your browser localhost (or do that thru wamp) to see your website folder listed there, then just open it select the php file you want to open (if there is a index.php inside the folder it should open instantly after opening the folder) and it should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM