.php files handled by PHP
Hi!
I have RedHat Linux 8.0 I installed the httpd (apache) and php packages and run them from the services. how can i make my local server activate support for PHP so all files ending in .php are handled by PHP? (I read some of the PHP documentation, I could not find explicit detailed information on what to do) Thanks for your consideration. Hady |
Make sure something like this is in your config file, or is in one of the include files
Code:
# Load the module first |
Thanks for your help.
but where's my config file? (i'm a newbie, i'd appreciate detailed help) and writing these things will be enough? Thank you. |
The short, yes.
The extended version you'll only find on DVD and LQ ;) : Your config file should be the first place you learn about when messing with a server. This is where you set things up to run right, it's the background, it's what gives the face to your applications. For Apache, your config file is going to be somewhere around /etc/apache2/conf or nearby if that isn't the exact location. The conf file will be called commonapache2.conf OR apache2.conf depending on what's going on and how things are set up. You should be able to find similar entries to those listed above and add them accordingly. These are the necessary lines: Code:
LoadModule php4_module modules/libphp4.so Good luck! Cool |
-
|
All times are GMT -5. The time now is 10:29 PM. |