Click to See Complete Forum and Search --> : configuring apache on debian


littlevito
09-09-2002, 12:35 AM
I am using the Woody release of debian, with the debian Apache package installed. I really have 2 questions:

How do i configure php and mysql so that they work?

How do I configure mod_include so that it works?

is there a how-to, tutorial, package, script, anyting for either of these things? one that would make sense on debian?

any help is appreciated

-david

iceydee
09-09-2002, 01:56 AM
to get php to work with apache:

find this line in /etc/apache/httpd.conf
# LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

uncomment it...


and then further down the same file. find these lines:
# And for PHP 4.x, use:
#
# AddType application/x-httpd-php .php
# AddType application/x-httpd-php-source .phps

uncomment the two lines starting with AddType...


you probably want to find these lines aswell:
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi
</IfModule>

and change them to:
<IfModule mod_dir.c>
DirectoryIndex index.php index.phtml index.php3 index.html index.htm index.shtml index.cgi
</IfModule>



good luck! :cool: ;)