|Create php file does not create the file in project folder on disk [message #731449]
||Sat, 01 October 2011 00:07
| Chris Rizzo
Registered: September 2011
-Eclipse Indigo (Build id: 20110615-0604)
-PHP Development Tools (PDT) SDK Feature 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O
1. With PHP Perspective open, right click my PHP project in PHP Explorer.
2. Select "New" > "PHP File"
3. New PHP File dialog: Source Folder = "/php", File Name = "newfile.php"
4. The new file is under the PHP project in Eclipse PHP Explorer, but the file is not created in the php subdirectory at the Location of the project (or even in the root Location of the project - see attached Project Properties dialog jpg image). For some reason, the new php file is created one level above the project folder in the htdocs folder of the apache server (The php directory is a subdirectory of the htdocs directory).
Is this a bug or could I be doing something wrong?
There are also additional problems finding and running a php file under Xdebug because the paths are all mixed up in PDT. Adding Path Mappings via "Window > Preferences > PHP > PHP Servers > Default PHP Web Server > Edit > Path Mapping" does not work either.
Powered by FUDForum
. Page generated in 0.02043 seconds