PHPBuilder - Getting started with php and InterBase Page 4



RSS Twitter
Articles Databases

Getting started with php and InterBase - Page 4

by: Yves Glodt
|
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
<IfModule>
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.

« Previous Page
1
|
2
|
3
|
4
|
5
|
6
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Yves Glodt

Comment:



Comment:

(Maximum characters: 1200). You have characters left.