Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

PHP IDE?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
28 posts
  • 1
  • 2
  • Next
Author
Message
N1tr0
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Thu Dec 04, 2003 5:57 am
Location: Oregon
Contact:
Contact N1tr0
Website

PHP IDE?

  • Quote

Post by N1tr0 » Sat Dec 20, 2003 3:22 pm

I'm looking for a PHP IDE for Gnome/KDE. Any suggestions? ...*other* than vim...
Thanks!
Top
Braempje
l33t
l33t
User avatar
Posts: 748
Joined: Fri Jan 31, 2003 7:16 pm
Contact:
Contact Braempje
Website

  • Quote

Post by Braempje » Sat Dec 20, 2003 3:41 pm

Quanta does a good job at syntax highlighting, and completing variables.
But I don't know programs who do more, anyone else?
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Top
S_aIN_t
Guru
Guru
User avatar
Posts: 488
Joined: Sat May 11, 2002 12:59 pm
Location: Ottawa
Contact:
Contact S_aIN_t
Website

  • Quote

Post by S_aIN_t » Sat Dec 20, 2003 4:00 pm

Damn. I was soo tempted to say gVim. However, now I cannot. Quanta does seem like a good choice, if you're not into the whole vim-ing thing. :)
"That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com
Top
mxc
Guru
Guru
User avatar
Posts: 442
Joined: Wed Mar 05, 2003 4:45 am
Location: South Africa
Contact:
Contact mxc
Website

  • Quote

Post by mxc » Sat Dec 20, 2003 5:43 pm

Try do an emerge -s gphpedit

You will need to enable the ACCEPT_KEYWORDS variable. It basically just does syntax highlighting at the moment.
Top
ramon
n00b
n00b
Posts: 45
Joined: Fri Jun 21, 2002 4:49 pm
Location: Amsterdam - Holland

RE: PHP IDE?

  • Quote

Post by ramon » Sat Dec 20, 2003 6:53 pm

Quanta's good.

Eclipse offers PHP-IDE in beta through it's plugin interface.

Eclipse is in portage, the php-ide plugin is not..
It is extremely easy to install

Can't remember a URL by heart but search google and you'll find it.
Think it's somewhere on sourceforge

Grtz Ramon
Top
frekiR
n00b
n00b
Posts: 42
Joined: Mon Dec 15, 2003 3:05 pm
Location: Sweden

  • Quote

Post by frekiR » Sat Dec 20, 2003 7:00 pm

hmm... IIRC, nedit has PHP-highlighting...
It's not an IDE... but who needs that for PHP?
Top
eean
Guru
Guru
User avatar
Posts: 355
Joined: Mon Jun 10, 2002 6:14 pm
Location: Kirksville, MO USA
Contact:
Contact eean
Website

  • Quote

Post by eean » Sat Dec 20, 2003 7:35 pm

frekiR wrote:hmm... IIRC, nedit has PHP-highlighting...
It's not an IDE... but who needs that for PHP?
If anything, I find it more necesary then most languages, given how much is decided at runtime so there isn't much compile time errors, making a debugger more necesary (I consider the difference between an editor and a IDE is whether it has an integrated debugger or not). Personally I've never had much luck getting one of the PHP debuggers to work. The fact that Quanta Plus, which is certainly intended to be a development environment for PHP, doesn't have an intergrated environment for PHP is an indication of this. I find it to be one of the most frustrating things of PHP development. Some of the pretty silly bugs I've made would be perfectly clear if I had a debugger.

I'm doing PHP development with Quanta having just came from Java development with Eclipse. I found the former frustrating having been spolied from the latter (its built in Java compiler, renaming variables, debugger etc). If you haven't use Eclipse before, you should know that is is nice. I haven't looked at the Eclipse PHP options very much, perhaps I should.
Top
ramon
n00b
n00b
Posts: 45
Joined: Fri Jun 21, 2002 4:49 pm
Location: Amsterdam - Holland

  • Quote

Post by ramon » Sun Dec 21, 2003 11:37 am

eean wrote: I'm doing PHP development with Quanta having just came from Java development with Eclipse. I found the former frustrating having been spolied from the latter (its built in Java compiler, renaming variables, debugger etc). If you haven't use Eclipse before, you should know that is is nice. I haven't looked at the Eclipse PHP options very much, perhaps I should.
Then you should definitly take a look at the php-plugin for eclipse.

It has an integrated debugger, works best though if you also set up a local test enviroment. It comes with standard hooks for starting and stopping a local apache/mysql instance.

It does the usual things, syntax-highlighting and code-completion and offers tree-view of objects.

There's also a mysql specific database component but I can't tell you if it's any good since I mostly program PHP against a PostgreSQL database.

Here's the link:
http://phpeclipse.sourceforge.net/

Grtz Ramon
Top
S_aIN_t
Guru
Guru
User avatar
Posts: 488
Joined: Sat May 11, 2002 12:59 pm
Location: Ottawa
Contact:
Contact S_aIN_t
Website

  • Quote

Post by S_aIN_t » Sun Dec 21, 2003 12:22 pm

Speaking of debuggers, one does exist for php. Follow the link: http://dd.cron.ru/dbg/
"That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com
Top
Camoes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 125
Joined: Thu Jan 09, 2003 7:56 pm
Location: Munich, Germany
Contact:
Contact Camoes
Website

  • Quote

Post by Camoes » Sun Dec 21, 2003 1:15 pm

wondering no one mentioned bluefish so far 8O
e = pi = 3
breakmygentoo
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Sun Dec 21, 2003 2:33 pm

Camoes wrote:wondering no one mentioned bluefish so far 8O
bluefish is really good if you're working on web files (unfortunately I won't recommend it for c++ programming or such)
otherwise I use ediplus emulated under wine :P
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
N1tr0
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Thu Dec 04, 2003 5:57 am
Location: Oregon
Contact:
Contact N1tr0
Website

  • Quote

Post by N1tr0 » Sun Dec 21, 2003 2:45 pm

I've been using Zend's IDE in Windows and freaking love it. They do make a version for linux, but I was really hopeing to stay open source. Which of these suggestions do you think would be closest to Zend?
....aahhhhh! Change!
:wink:
Top
Camoes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 125
Joined: Thu Jan 09, 2003 7:56 pm
Location: Munich, Germany
Contact:
Contact Camoes
Website

  • Quote

Post by Camoes » Sun Dec 21, 2003 2:59 pm

Peach wrote:
Camoes wrote:wondering no one mentioned bluefish so far 8O
bluefish is really good if you're working on web files (unfortunately I won't recommend it for c++ programming or such)
otherwise I use ediplus emulated under wine :P
sure, bluefish for php,jsp
eclipse for java
and anjuta for C/C++

thats my layout :)
e = pi = 3
breakmygentoo
Top
mindsuck
n00b
n00b
Posts: 16
Joined: Wed Apr 30, 2003 2:52 am

  • Quote

Post by mindsuck » Sun Dec 21, 2003 9:42 pm

I like Zend, it's not exactly free, but it's really great. :)
Top
lorebett
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 106
Joined: Fri Oct 08, 2004 11:42 am
Location: Firenze, Italy

Re: RE: PHP IDE?

  • Quote

Post by lorebett » Wed Feb 14, 2007 11:18 am

ramon wrote:Quanta's good.

Eclipse offers PHP-IDE in beta through it's plugin interface.
I've just started using php ide in eclipse under gentoo (I've always used that under Debian) and I can't run any php script from within the ide that uses mysql_connect, I get this error:
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/bettini/php/bibliography/html/db.php on line 23
could not connect to database
anyone experiencing the same problem?

thanks in advance
HOME: http://www.lorenzobettini.it
BLOG: http://tronprog.blogspot.com
MUSIC: http://www.purplesucker.com
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Wed Feb 14, 2007 12:12 pm

with eclipse, you could also try trustudio, which is a php and python IDE for the eclipse platform.
works great, with autocompletion, doxygen/javadoc comment support (tooltips & such), etc...
I double it with eclox to actually generate doxygen docs.
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
lorebett
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 106
Joined: Fri Oct 08, 2004 11:42 am
Location: Firenze, Italy

  • Quote

Post by lorebett » Wed Feb 14, 2007 12:37 pm

Lloeki wrote:with eclipse, you could also try trustudio, which is a php and python IDE for the eclipse platform.
works great, with autocompletion, doxygen/javadoc comment support (tooltips & such), etc...
I double it with eclox to actually generate doxygen docs.
Looks interesting!
And it's free?
Because there's also a "Buy" menu...
HOME: http://www.lorenzobettini.it
BLOG: http://tronprog.blogspot.com
MUSIC: http://www.purplesucker.com
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Wed Feb 14, 2007 12:39 pm

totally free, go to the download section ;)
IIRC, the 'buy' is only there for enterprise solutions.
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
lorebett
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 106
Joined: Fri Oct 08, 2004 11:42 am
Location: Firenze, Italy

  • Quote

Post by lorebett » Wed Feb 14, 2007 12:50 pm

Lloeki wrote:totally free, go to the download section ;)
IIRC, the 'buy' is only there for enterprise solutions.
Done!
Download it and installed in my eclipse 3.2...
unfortunately it doesn't seem to work :(
I cannot create any php project, I'm always getting errors...
HOME: http://www.lorenzobettini.it
BLOG: http://tronprog.blogspot.com
MUSIC: http://www.purplesucker.com
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Wed Feb 14, 2007 1:28 pm

http://www.xored.com/trustudio/download/1.0.1

take a look closer. you have either choice:
- all-in-one bundle, with eclipse 3.1&trustudio (but no other, like JDT, etc...), for pure php/py dev
- plugin form, to install (untar) on eclipse 3.1

as you noticed. that's only for 3.1. sorry for your 3.2.
whatever, I installed 3.2 the other day, to try eclipse php project (which is currently not usable) and didn't see any new feature I'd miss in 3.1, and so I went back to 3.1, so you might as well downgrade.

FWIW, I don't emerge eclipse (sooo many deps), I install (untar) it manually to /opt/eclipse.
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
lorebett
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 106
Joined: Fri Oct 08, 2004 11:42 am
Location: Firenze, Italy

  • Quote

Post by lorebett » Wed Feb 14, 2007 1:59 pm

I tried also with the bundle, but it's still unusable for me (it does not execute scripts that use mysql functions, i.e., most scripts I have to run :wink: )

moreover, it does not seem to provide a debugger...
HOME: http://www.lorenzobettini.it
BLOG: http://tronprog.blogspot.com
MUSIC: http://www.purplesucker.com
Top
Lloeki
Guru
Guru
User avatar
Posts: 437
Joined: Wed Jun 14, 2006 2:14 pm
Location: France
Contact:
Contact Lloeki
Website

  • Quote

Post by Lloeki » Thu Feb 15, 2007 11:10 am

recently, I made ebuilds for installing binary eclipse.
why? because emerge eclipse-sdk pulls in numerous dependencies I don't want.
this allowed me to make two other ebuilds: one for trustudio and one for eclox.
this is even compatible with other in-portage eclipse plugins, modulo some slight DEPEND modification.

as for your trustudio problems, with either bundle or plugin version, they bundle a php interpreter (certainly a php build with default options, and e.g without mysql support. who knows). you might want to point trustudio another interpreter in the options.
and regarding a debugger, I don't even know if any php debugger exist (and I don't think so, since it's an interpreted language).
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)
Top
leonglass
Apprentice
Apprentice
Posts: 278
Joined: Tue Aug 08, 2006 11:36 am
Contact:
Contact leonglass
Website

  • Quote

Post by leonglass » Thu Feb 15, 2007 11:49 am

gedit will do it with syntax highlighting as well. depends how basic you want to keep it.
Top
lorebett
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 106
Joined: Fri Oct 08, 2004 11:42 am
Location: Firenze, Italy

  • Quote

Post by lorebett » Thu Feb 15, 2007 11:49 am

Lloeki wrote: and regarding a debugger, I don't even know if any php debugger exist (and I don't think so, since it's an interpreted language).
Of course there exist debuggers for php :) for instance the one I'm using now: PHPIDE, http://www.zend.com/pdt. I'm using their debugger for php scripts, and also the php they ship has all the mysql functionalities I need.

I was experiencing some problems with this (see my previous posts above), but I solved them using this page http://dev.mysql.com/doc/refman/5.0/en/old-client.html.

I posted more details on my blog: http://tronprog.blogspot.com/2007/02/ec ... entoo.html.

However, trustudio seems interesting, and hope it will evolve in the near future!
HOME: http://www.lorenzobettini.it
BLOG: http://tronprog.blogspot.com
MUSIC: http://www.purplesucker.com
Top
lorebett
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 106
Joined: Fri Oct 08, 2004 11:42 am
Location: Firenze, Italy

  • Quote

Post by lorebett » Thu Feb 15, 2007 11:50 am

leonglass wrote:gedit will do it with syntax highlighting as well. depends how basic you want to keep it.
I guess code completion is another must for programming languages :D
HOME: http://www.lorenzobettini.it
BLOG: http://tronprog.blogspot.com
MUSIC: http://www.purplesucker.com
Top
Post Reply

28 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic