• Home
  • Knowledgebase
    • Technology
      • PHP
      • MySQL
      • WordPress
      • Cloud Computing
  • Thoughts
    • General
    • Stories
    • Places
    • Workplace
    • Social Issues
    • Reviews
  • Quotes
  • About
  • Contact

Kamalika's Notebook

thinking nothing...............!!

You are here: Home / Technology / Apache / Installing LAMP in Centos 6.3

Installing LAMP in Centos 6.3

May 20, 2013 By Kamalika

Installing PHP5

We can install PHP5 and the Apache PHP5 module as follows:

yum install php

Restart Apache to take things to effect:

/etc/init.d/httpd restart

Testing PHP5 / Getting Details About Your PHP5 Installation

vi /var/www/html/info.php

phpinfo Code

Check the output of info.php in Browser (http://10.10.3.100/info.php)

phpinfo Output

As you see, PHP5 is working, and it’s working through the Apache 2.0 Handler, as shown in the Server API line. If you scroll further down, you will see all modules that are already enabled in PHP5.

Installing PHP is done!

MySQL is not listed there which means we don’t have MySQL support in PHP5 yet.

Email, RSS Follow
Pin It
Pages: 1 2 3 4 5

Filed Under: Apache, CentOS, CentOS 6.3, LAMP, Linux Servers, MySQL, PHP, Technology Tagged With: Apache, LAMP, Linux, MySQL, PHP

« Architecting Scalable Systems for Cloud
Installing mongoDB in CentOS and Connecting to mongoDB from PHP »

Connect with me online

  • Facebook
  • Google+
  • Instagram
  • Linkedin
  • Twitter
  • YouTube

Follow my notebook

Enter your email address to follow my notebook and receive notifications of new posts by email.

A Little About Me

Technology Freak. Educator. Mentor. Digital Marketing Enthusiast. Amateur Photographer. Avid Reader. Music Lover. Movie Buff. Foodie. Lover of WordPress. Ex Disney Employee. For more, follow me at @kamalika. Read More…

Looking for something?

Copyright © 2014 · Kamalika Guha Roy