Re: Display PHP3 files in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In httpd.conf, add the following lines:

<Files *.php>
 SetOutputFilter PHP
 SetInputFilter PHP
</Files>

And also in DirectoryIndex : index.php

This is what I have set in my httpd 2.0.43 with php 4.3.0 in red hat 7.3. But 
I compiled everything from sources, so the situation may vary for you.

Sometimes you need to include in httpd.conf: 
LoadModule /path/to/apache/modules/libphp3.so


On Friday 18 July 2003 00:47, S P wrote:
> Hi,
> I am having trouble displaying the .php3 in Red Hat
> linux 7.2. I have all the rpms installed php-4.0.6-7,
> php-ldap-4.0.6-7, php-imap-4.0.6-7.
>
> Do I need to set any other things? I am trying to
> access the php3 files using an apache web server. Do I
> need to change any settings in the httpd.conf file ?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux