Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT not flexible enough for my PHP setup?
PDT not flexible enough for my PHP setup? [message #5055] Fri, 09 March 2007 16:55
Eclipse UserFriend
Originally posted by: tonyf.europa.com

Hello,

First of all, a big thanks to the PDT team for tackling this project! I'm
new to Eclipse and PDT, so I thought I would ask here before submitting any
bugs.

I have an unusual PHP setup. I run multiple versions of PHP, all stored
under C:\Program Files\php. I then use perl scripts to set up the
environment properly. So if I type "php5 something.php" in a DOS window, I
can run PHP5 with the right php.ini file, PEAR location, etc. From Apache,
the script is ph5-cgi and I have more scripts for PHP4 and PHP-GTk.

When Eclipse asks me for the PHP "executable", it doesn't let me select an
executable, just a directory--this, in itself, seems misleading. It should
ask for a PHP installation folder, if that's what you need.

But my PHP executable is in C:\Program Files\php\bin and it's called
php5.pl. Eclipse doesn't seem to have a way to override whatever PDT is
doing to set up the PHP environment. Am I missing something?

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

I have some unit tests that I can run in CLI mode--no Web server necessary.
If I try to run one of these, it complains about not being able to run the
debugger. I selected "Run As" -> "PHP Script", not "Debug As". Again, am I
experiencing a newbie problem or is there a bug here?

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

Finally, I have some unusual syntax in one of my PHP files. I use a stream
filter on the require_once line so that the invalid statements become valid
PHP code (think of this like being able to use the C pre-processor on PHP
files). Since I haven't verified that I can run *any* program, this is just
a speculative question: will Eclipse prevent me from running a program if
it thinks the program has errors?

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

A general question: has anyone adapted Eclipse/PHP to use the doxygen
documentation tool. I used to use PHPDoc, but doxygen seems to be far
superior, specially with the class diagrams it generates.

Thanks for any and all help!

--
Tony
Previous Topic:bundled eclipse version not 3.2.1
Next Topic:Broken download link on webpage
Goto Forum:
  


Current Time: Thu Sep 26 13:42:52 GMT 2024

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

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

Back to the top