Installing PHP Storm in Ubuntu machine

Last Updated at : July 25, 2017 By - Usama Muneer | 1302

    Introduction

    Installing PHP Storm in Windows seems quite like a piece of cake. But when it comes to installing PHP Storm in Ubuntu, non-nerds or noobs find it a bit tricky to get it installed on their machines.

    Step 1

    Download the fresh copy of PHP Storm from their website.

    Step 2

    Unzip your files to /opt directory(recommended) by running the following command in your terminal.

    $sudo tar xf PhpStorm-*.tar.gz -C /opt/

    Step 3

    Once the extraction is done, switch to the bin folder inside the PHP Storm directory.

    $cd /opt/PhpStorm/bin

    Step 4

    Run the shell file to launch PHP Storm.

    $./PHPStorm.sh

    Step 5

    Once the installation is complete, the application will ask if you want to import your old settings. If not, leave it as it is.

    Additional Tips

    Apart from installing & launching PHP Storm for the first time. Below are some of the useful tips for the beginners.

    Create a Desktop Entry

    Creating a desktop entry lets you easily access PHP Storm from system menu with better desktop integration.

    To enable this functionality. Goto menu->tools->create-desktop-entry

    Create a Command-line Launcher

    For the ones with bit of experience using the terminal & finds easy playing around with commands. This features comes handy for them.

    Enabling this will let you open up your PHP Storm by typing just a single command inside your project’s directory. Goto menu->tools->create-command-line-launcher

    For example: We are inside the /var/www/html/foobar/ directory.

    $pstorm .

    The above command will open up a new PHP Storm instance of the current directory.

    Note: PHP Storm is a really powerful IDE which helps you understand your code deeply & supports almost all popular frameworks. But sadly, it comes with a 30-day free trial period only. After that I would suggest you to buy the full license from their website. It doesn’t cost much.

    Questions?

    If you have any questions or feedback. Leave us a comment below. Do follow us on Twitter.

     

    blog user
    Usama Muneer

    A web enthusiastic, self-motivated & detail-oriented professional Full-Stack Web Developer from Karachi, Pakistan with experience in developing applications using JavaScript, WordPress & Laravel specifically. Loves to write on different web technologies with an equally useful skill to make some sense out of it.

    Related Posts

    Docker is really efficient when using your system’s resources to help you isolate and manage your application.

    Laravel ships in with the awesomeness of Database Migrations which allows you to version control your database. But there are number of events when you are required to change the datatypes or attributes assigned to your table columns inside of your migrations.

    You must be familiar with axios calls for API consumption, but what about getting the files in response and render those files to the user for download. We got your covered, the below snippet is tested and works well.

    As you may know, Composer is a PHP dependency manager that manages the versions of the PHP libraries, tools & frameworks that we utilise in our applications.