Applying Linux, Apache, MySQL, and PHP For Application Deployment

Published: 24th May 2011
Views: N/A
Ask About This Article Print Republish This Article
Develop the subsequent lines, in the respective sections of httpd.conf (the appropriate places will be under the [most important] configuration, and typically don't subject where they are situated, but for simplicity, you will need to location them in the sections which are populated by similar directives).

AddType application/x-httpd-php .php
AddType software/x-httpd-php-supply .phps
LoadModule php4_module libexec/libphp4.so

You will also want to modify the DirectoryIndex worth to:

DirectoryIndex index.php index.html

Which will permit Apache to fetch the default index.php file when a directory is named which has a file identified as index.php. Apache will now want to be restarted, by means of the apachectl script.

/usr/native/apache/bin/apachectl restart

Future, create a file under the default document directory (default is /usr/neighborhood/apache/htdocs) identified as index.php, and insert the subsequent text into it.

print

I do not like the "all-in-one" XAMPP package which provides Apache, MySQL, PHP and other tools in the a single application.


It is fairly tricky to customize or optimize each part individually or repair any situation that could occur.

It is also complicated to find out the root trigger an person part might have when they are all bundled in 1 bundle.

For that reason, I arrived up with this tutorial to present you how to set up Apache, MySQL and PHP separately and customize just about every of them to finest fit your demands.

I can assure you that there will be no support readily available on the internet displaying you how to set up each and every of them separately as superior as this tutorial! Other tutorials always leave out a minor piece of configuration here and there resulting in a failed set up.

I set up each and every part on my neighborhood Personal computer and documented each and every phase in this guide.

These actions will do the job on Windows operating procedure.

I'll compose another tutorial on Ubuntu Linux in the around foreseeable future if there's interest from you my dear viewers.

If you have any question about these measures or encounter difficulty when setting it up, feel no cost to ask. You will discover my make contact with details by means of the website link to my web-site in the resource box at the conclusion of this document.


1. MySQL setup:
Download the most current model of MySQL Neighborhood Server at mysql.com
Edition five.one.42 is the present-day model of MySQL at the time of this composing.
My downloaded file is mysql-5.one.42-win32.msi

Run the MSI file and use the following configurations:
* Regular Setup Kind
* Test "Configure the MySQL Server now" and "Sign-up the MySQL Server now"
* Check "Detailed Configuration"
* Test "Developer Machine"
* Look at "Multifunctional Database"
* Accept default setting for "InnoDB Tablespace Settings"
* Examine "Selection Support (DSS)/OLAP"
* Verify "Allow TCP/IP Networking" and "Permit Strict Mode". Depart the port amount at 3306.
* Test "Regular Character Set"
* Test "Set up As Windows Service" and "Kick off the MySQL Server automatically".
* Verify "Include things like Bin Directory in Windows PATH". This choice will allow you run MySQL from the command line. It's extremely useful.
* Enter a new root password and do NOT examine "Permit root access from remote machines" and "Produce An Anonymous Account" because these two alternatives will build protection loophole.
* Click "Execute" and it will install MySQL on your local machine.

Start MySQL and generate a new database for your WordPress set up.

This article is free for republishing
Source: http://charlesheitner.articlealley.com/applying-linux-apache-mysql-and-php-for-application-deployment-2245761.html


Report this article Ask About This Article Print Republish This Article


Loading...
More to Explore
 


Ask a Professional Online Now
27 Experts are Online. Ask a Question, Get an Answer ASAP.
Type your question here...
Optional:
Select...