Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Where is my php file, cannot running php
Where is my php file, cannot running php [message #890088] Thu, 21 June 2012 03:34 Go to next message
Ari S. is currently offline Ari S.Friend
Messages: 2
Registered: June 2012
Junior Member
I am using Eclipse PDT with Zend Server CE. When I start new project & new php file, it cannot run with error 404 Not found.

When I checked document root "C:\Program Files\Zend\Apache2\htdocs\" with Windows Explorer I cannot find the php file. But with internal eclipse file explorer, it can be found with lock icon.

If I manually put php file in document root, it will run.

Can someone help me ?
Re: Where is my php file, cannot running php [message #890126 is a reply to message #890088] Thu, 21 June 2012 08:18 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
If you are using Windows Vista/7 and using the folder under "C:\Program Files\Zend\Apache2\htdocs" as an eclipse project, *never* use "C:\Program Files\..." for your project folder. "Program Files" or "Program Files (x86)" is a special folder with system protection. You can manipulate files there but files created by eclipse.exe will not be located there. Look at C:\Users\your_account\AppData\Local\VirtualStore\Program Files\Zend\Apache2\htdocs. Maybe there are your files.

(mmm, too late to post this to newcomers forum...)
(this is exactly a newbie question so I don't reply any more. good luck)
Previous Topic:xdebug - Debugger error stops debug when watching a new variable
Next Topic:Eclipse Helios + PDT = no validation
Goto Forum:

Current Time: Sat Jan 28 06:08:59 GMT 2023

Powered by FUDForum. Page generated in 0.02963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top