hi friends
--
give me a step how to integrate apache with php.
You received this message because you are subscribed to the Google Groups "Sadhiq Linux Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to sadhiq-linux-group+ To post to this group, send email to sadhiq-linux-group@ Visit this group at http://groups.google.com/ For more options, visit https://groups.google.com/d/ | |
Reply | Reply to all | Forward | Print | Delete | Show original |
pranit palande<palandepranit@gmail.com> | Sat, Jan 3, 2015 at 1:04 PM |
Reply-To: sadhiq-linux-group@googlegroups.com | |
To: "sadhiq-linux-group@googlegroups.com" <sadhiq-linux-group@googlegroups.com>, pranitonline@gmail.com | |
Reply | Reply to all | Forward | Print | Delete | Show original
| |
HI Pranit,
Follow below steps
Integrating PHP with Apache
There are two ways of integrating PHP with Apache:
Following steps are common to both type of integration. Edit the apache's configuration file
httpd.conf and add the following lines, near the AddType block:
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php3 .php .phtml
Now, we also want the php files to also be open as default documents in directories, find and modify the
DirectoryIndex entry to
DirectoryIndex index.phtml index.php index.php3 index.html index.htm
you can change the order to your preference.
Following steps are specific to each integration:
|
No comments:
Post a Comment