#native_company# #native_desc#

Getting started with php and InterBase Page 4

By Yves Glodt
on February 12, 2002

Configuring Apache

As for apache, it has only to be configured to work with the php module. InterBase itself is handled by php.
If you used php before, you should not need to touch it. If you didn’t, open your apache configuration file,
(httpd.conf, often located in /etc or /etc/httpd), look for these lines and uncomment/add them.
LoadModule php4_module        /usr/lib/apache/libphp4.so

AddModule mod_php4.c

<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
Eventually, for your pages to be parsed by the php processor, they need the extension .php.
Also, do not forget to add index.php (or whatever.php) as DirectoryIndex in your apache config.