Apache Server configuration support - PHPas text

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2004 > PHPas text





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PHPas text
p cooper

2004-01-26, 8:34 am

gentoo linux.
server

Ive emerged mod_php and apache.

For php files the browser offers to open them with Kwrite
bash-2.05b# cat /etc/apache2/conf/commonapache2.conf |grep php
DirectoryIndex index.html index.html.var index.php index.php3 index.php4
index.shtml index.cgi index.pl index.htm Default.htm default.htm
AddIcon /icons/p.gif .pl .py .php .php3
AddType application/x-httpd-php .php .inc

bash-2.05b# cat /etc/conf.d/apache2 |grep PHP
# mod_php then add "-D PHP4". For more options, please
APACHE2_OPTS="-D PHP4 -D PERL"

bash-2.05b#
not sure where to look next.
Davide Bianchi

2004-01-26, 4:33 pm

p cooper <pdconetwofour_numbers_@yahoo.co.uk> wrote:
quote:

> Ive emerged mod_php and apache.



You have 'emerged' ?
quote:

> AddType application/x-httpd-php .php .inc



Ok, this is correct, where is your LoadModule? Or did you compiled
the php module static? If so, does httpd -l shows it?

Davide

--
| Windows 2000 is more secure than Linux... Since the machine is
| offline half of the time because of crashes, it cannot be accessed
| globally, therefore producing higher security. -- From a
| Slashdot.org post
|
|
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com