简体   繁体   中英

How do I run my code from php eclipse workspace

I want wamp to understand that localhost should be set to be eclipse workspace folder,

so I set documentroot to be "C:\\Users\\TamerPc\\workspace"

I save and restart WAMP, and then try to access it again then I get :

the error

Forbidden

You don't have permission to access / on this server.

--------------------------------------------------------------------------------

Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80****

how do I fix this ?

Solution : http://tuxninja18.wordpress.com/2012/05/24/how-to-change-default-wamp-document-root-directory/

thanks all

Assuming your WAMP/server is running properly, you'll need to visit the page by going to the localhost. Usually http://localhost:8888/ should work, though your port might be set to a different number (check this on your WAMP). If that's the case, change the 8888 to whatever port you are setup on.

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