Wednesday 11 June 2014

How to install Phalcon PHP framework in Ubuntu linux?

Well, we have all heard about the fastest php framework out there. But how do we install it in a Ubuntu Linux machine.

Default process for any linux setup.

Steps:

1. First, we need  a few packages previously installed. To install them, issue the distro specific command in your linux terminal.

For Ubuntu:

sudo apt-get install php5-dev php5-mysql gcc libpcre3-dev

For Fedora:

sudo yum install php-devel php-mysqlnd gcc libtool

For RHEL:

sudo yum install php-devel php-mysql gcc libtool

For Suse:

yast2 -i php5-pear php5-devel php5-mysql gcc

Basically, here we are installing the dev tools we require to compile and setup the Phalcon extension.

2. Get the Phalcon build using git

git clone --depth=1 git://github.com/phalcon/cphalcon.git

3. CD into the folder and issue the install command.

cd cphalcon/build
sudo ./install

4. Now, lets add the extension to our php.ini file. At the end of the file, add the below line

extension=phalcon.so

5. Restart your apache server.

sudo service apache restart

6. Check your phpinfo and you will find the Phalcon extension installed. We are good to go now.

Note: You can also install Phalcon as a debian repo which has been offered by FortRabbit at http://debrepo.frbit.com/

10 comments:

  1. Really appreciate you sharing this article post.Thanks Again. Will read on... Hire Wordpress Developers

    ReplyDelete
  2. • Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updatingAzure Online course Bangalore

    ReplyDelete
  3. I entre that publish and were given it great and informative.Please proportion extra considering that. Win 7 Ultimate Product Key

    ReplyDelete
  4. this is such a satisfying aid that you are supplying and you pay for it away for pardon.I liked your engagement intensely thanks Happy Brothers Day Wishes Quotes


    Wishes Quotz

    ReplyDelete
  5. Fl Studio Crack includes a graphical user interface based on a pattern-based music sequencer. It supports multiple MIDI inputs and outputs and can be used with a variety of MIDI controllers. It also includes a wide range of built-in virtual instruments, synthesizers, samplers, and effects plugins. Users can also add their own VST and VSTi plugins for additional functionality.

    ReplyDelete
  6. Dp Animation Maker Crack is a software program that allows users to create animations and graphics. The program is designed for both novice and advanced users, and it offers a range of tools and features to make the animation process easy and efficient.

    ReplyDelete
  7. Studioline Web Designer Crack is a software program that enables users to create and publish professional-looking websites without requiring any coding knowledge. The program features an intuitive drag-and-drop interface, which makes it easy for users to add elements to their website design, such as text, images, videos, buttons, and more.

    ReplyDelete
  8. I am really grateful to the owner of this website who has shared this impressive
    post at at this time.

    ReplyDelete