|'xxx.php is not a PHP file' setting up Run Configuration (for any php file) [message #508235]
||Sun, 17 January 2010 23:38
Registered: January 2010
Location: Buenos Aires, Argentina
I haven't used Eclipse in many years and am new to PDT.
I have Eclipse 3.5.1 installed with PDT and XDebug (on Ubuntu) and I have a some projects set up, including a test one to use phpcli and a mickey mouse php file.
When I try to set up the Run Configurations with...
PHP Debugger: XDebug
PHP Executable: phpcli (/usr/bin/php)
PHP File: /some_project/some_file.php (selected from the project with the Browse)
...it is complaining at the top of the dialog that whatever php file I select in any project is not a php file. It is definitely finding it, (if I add a typo it 'successfully' doesn't find it). And so with the error the Run button is disabled.
So I want to know what constitutes a php file if it is not a file containing php, with the extension php, which runs happily in the shell with phpcli as 'php whatever.php'?
Thanks in advance, and hoping this isn't a totally gumby question,
PS: If I manually put in the full path instead of using the Browse button, which only puts in the path from the project downwards, it is happy that the file is a php file, and Run is enabled, but clicking Run then gives a 'specified script cannot be found' error.
Powered by FUDForum
. Page generated in 0.01973 seconds