Results 1 to 10 of 10

Thread: I would like to install an IDE for PHP

  1. #1
    Join Date
    Aug 2016
    Posts
    49

    Default I would like to install an IDE for PHP

    Is there any IDE that could debug *.php file / project under openSUS Leap 42.3 ?

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,368
    Blog Entries
    2

    Default Re: I would like to install an IDE for PHP

    There are a number of options, but some more suited to some situations than others.

    One very popular IDE that costs for professional use but with a student discount and free to certain projects is PHPStorm

    https://www.jetbrains.com/phpstorm/

    Completely free, but can be an enormous install is the "do everything" Eclipse IDE. Although you can install from the OSS, many will instead recommend that you install from the Eclipse website to get a version set up for your specific use.

    \https://www.eclipse.org/ide/

    If you have any issues installing either, just post...

    I'd recommend the above for first IDE...
    If you're a more advanced coder who is more familiar with project structure, you might consider an extendable advanced text editor like Sublime Text.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,559

    Talking Re: I would like to install an IDE for PHP

    Some people like KDE because it (usually, often, sometimes) does a very good job …
    Others, such as my (not so humble) self, like KDE because of it's collection of good quality tools, such as KDevelop
    Take a look at the current KDevelop feature list -- PHP support is there by default: <https://www.kdevelop.org/features> <https://www.kdevelop.org/> …

  4. #4
    Join Date
    Aug 2016
    Posts
    49

    Default Re: I would like to install an IDE for PHP

    I am a beginner in PHP and at all ....
    I have downloaded: eclipse-php-2018-09-linux-gtk-x86_64.tar.gz, extracted it into /home/
    This way now I can start eclipse for PHP
    I opened my file: index.php and ran it:
    Code:
    Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/......../eclipse-workspace/......../index.php:186
    Code:
    184        public function query($query)
    185        {
    186            $this->stmt = $this->dbh->prepare($query);
    187        }

  5. #5
    Join Date
    Aug 2016
    Posts
    49

    Default Re: I would like to install an IDE for PHP

    I am using openSUSE 42.3 Xfce …
    I don't like the menu of KDE GUI, but if it is possible I will install KDevelop under Xfce …

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,559

    Cool Re: I would like to install an IDE for PHP

    Quote Originally Posted by c3p0 View Post
    I don't like the menu of KDE GUI
    Personally, I have never considered a “don't like” to be a reason for not wanting to use a tool …

    And, KDE is very flexible -- if you “don't like” an «eye candy» you can change it …
    • Personally, I am not a fan of the ‘Breeze’ icons -- they're quite simply not my “flavour of the month” -- which is why I prefer to use the “Oxygen” scheme …
      • With the “Air openSUSE” design …

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,559

    Cool Re: I would like to install an IDE for PHP

    KDevelop news -- hot off the press -- note the new PHP features … <https://www.kdevelop.org/news/kdevelop-530-released>.

  8. #8
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,975
    Blog Entries
    14

    Default Re: I would like to install an IDE for PHP

    Quote Originally Posted by c3p0 View Post
    I am using openSUSE 42.3 Xfce …
    I don't like the menu of KDE GUI, but if it is possible I will install KDevelop under Xfce …
    Eh, did you know that KDE has a couple of alternatives for the kicker menu?
    Right click the kicker menu's item
    Unlock Widgets
    Right click again
    Alternatives.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #9
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: I would like to install an IDE for PHP

    Quote Originally Posted by c3p0 View Post
    I am using openSUSE 42.3 Xfce …
    I don't like the menu of KDE GUI, but if it is possible I will install KDevelop under Xfce …
    Like you, I use Xfce, and like you, I do not like what they have done with KDE/Plasma.

    But, some of the KDE apps are very good, and run just fine in Xfce. I use several in my Xfce Desktop.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  10. #10
    Join Date
    Aug 2016
    Posts
    49

    Default Re: I would like to install an IDE for PHP

    I installed successfully KDevelop. It seems a very useful IDE.
    I hope I will fall in love with KDevelop

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •