• Home
  • Technology
    • Ebullientech
    • Entrepreneurship
    • Video Technology
    • Cloud Computing
    • Business Analysis
  • Healthcare
    • Pharmacology
  • Thoughts
    • Food
    • General
    • Stories
    • Places
    • Workplace
    • Social Issues
    • Reviews
  • Quotes
  • Ebullientech News and Events
  • About

Kamalika's Notebook

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

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

Installing LAMP in Centos 6.3

May 20, 2013 By Kamalika Leave a Comment

Getting MySQL Support In PHP5

To get MySQL support in PHP, we can install the php-mysql package. It’s a good idea to install some other PHP5 modules as well as you might need them for your applications. You can search for available PHP5 modules like this:

[bash]yum search php[/bash]

Pick the ones you need and install them like this:

[bash]yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc[/bash]

APC is a free and open PHP opcode cacher for caching and optimizing PHP intermediate code. It’s similar to other PHP opcode cachers, such as eAccelerator and Xcache. It is strongly recommended to have one of these installed to speed up your PHP page.

APC can be installed as follows:

[bash]yum install php-pecl-apc[/bash]

Now restart Apache2:

[bash]/etc/init.d/httpd restart[/bash]

Now reload http://10.10.3.100/info.php in your browser and scroll down to the modules section again. You should now find lots of new modules there, including the MySQL module:

MySQL Support for PHP

Last and final step to match the Host of the Server and ServerName in Apache Config:

Now open:

[bash]vi /etc/httpd/conf/httpd.conf[/bash]

And look for #ServerName and modify it to

[bash]ServerName localhost[/bash]

Restart Apache:

[bash]/etc/init.d/httpd restart[/bash]

We are done with LAMP Installation in CentOS 6.3.

[signoff]

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 »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

Let’s connect…

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Hello There…

I'm Kamalika, a techpreneur & startup mentor, blogger, hobbyist photographer, Netflix & Kindle indulgent, food connoisseur, Starbucks aficionado and former Disney employee ...next

Looking for something?

Tags

All in One SEO Pack AWS Banaras Blogger Blogging Blogs Dasaswamedh Ghat Ebullientech Ebullientech Interactive LLP Facebook Facebook Developers father's day father's day wishes father's day wishes for dad fathers day love Fathers Day Special Fathers Day wishes from daughter Father’s day memories GeoTech GeoTech Informatics HipHop for PHP Kamalika Guha Roy Kashi Ganga LAMP MySQL Nabaneeta Guha Roy Online Marketing PayPal PayPal's suspension of Indian bank transactions PHP PHP & MySQL Saraswati Puja Search Engine Optimization SEO Startup The Ganges TypePad UCO HUT Varanasi Web 2.0 Web 2.0 Design Web Design Web Marketing WordPress WordPress.COM

Timeline

  • 2024 (1)
  • 2021 (3)
  • 2020 (7)
  • 2019 (4)
  • 2018 (1)
  • 2015 (6)
  • 2014 (13)
  • 2013 (9)
  • 2010 (7)
  • 2009 (2)

Topics

Copyright © 2021 · Kamalika Guha Roy, Powered by: Ebullientech