Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
apache:install-apache-php-on-centos [2011-05-13 23:55:00] garrett.plasky Approved |
apache:install-apache-php-on-centos [2011-08-25 18:18:42] garrett.plasky Approved |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to Install Apache 2.2.x and PHP 5.3.x on CentOS 5 ====== | ====== How to Install Apache 2.2.x and PHP 5.3.x on CentOS 5 ====== | ||
- | This guide assumes you have a minimal CentOS installation and are not planning on running a control panel such as cPanel, which install | + | This guide assumes you have a minimal CentOS installation and are not planning on running a control panel such as cPanel, which installs |
Install required packages using Yum | Install required packages using Yum | ||
Line 35: | Line 35: | ||
You can change the values passed to the configure lines of Apache and PHP to add/remove software from the build. Apache in this guide is built with DSO support and mod_rewrite as a shared module. PHP is built as an Apache DSO with MySQL, FTP, BCMath, magic quotes, PEAR, sockets, Zlib, and GD with TTF. | You can change the values passed to the configure lines of Apache and PHP to add/remove software from the build. Apache in this guide is built with DSO support and mod_rewrite as a shared module. PHP is built as an Apache DSO with MySQL, FTP, BCMath, magic quotes, PEAR, sockets, Zlib, and GD with TTF. | ||
- | Finally, edit your Apache config: | + | Finally, edit your Apache config |
- | < | + | < |
- | Add < | + | Now start Apache using |
+ | |||
+ | <sxh bash>/ | ||
+ | |||
+ | Thats it, you're good to go! You may want to tweak your Apache configuration to suit your specific needs including adding Virtualhosts, | ||
- | Thats it, you're good to go! You may want to tweak your Apach configuration to suit your specific needs including adding Virtualhosts, | ||
{{tag> | {{tag> |