I have these additions to httpd.conf: <IfDefine PHP> LoadModule php3_module /usr/lib/apache/libphp3.so </IfDefine>
<IfDefine PHP4> LoadModule php4_module /usr/lib/apache/libphp4.so </IfDefine> <IfDefine SSL> LoadModule ssl_module /usr/lib/apache/libssl.so LoadModule php3_module /usr/lib/apache/libphp3.so </IfDefine> <IfDefine PHP> AddModule mod_php3.c </IfDefine> <IfDefine PHP4> AddModule mod_php4.c </IfDefine> <IfDefine PYTHON> AddModule mod_pyapache.c AddModule mod_php3.c </IfDefine> <IfDefine PHP> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfDefine> # # And for PHP 4.x, use: # <IfDefine PHP4> AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps </IfDefine> Note that the "IfDefine" clauses are checking for things like "-DPHP" or "-DPHP4" on the invocation of the httpd server: /usr/sbin/httpd -f /etc/httpd/httpd.conf -D MODULES -D PERL -D PHP -D SSL If you don't do that, then choose the directives you want/need, and just code them in the httpd.conf file. Mark Post -----Original Message----- From: Terrance Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 3:37 PM To: [EMAIL PROTECTED] Subject: PHP on IHS? What is required to get PHP runnig under the IBM HTTP Server? I see in httpd.conf the following lines to uncomment # For example, the PHP3 module (not part of the Apache distribution - see # http://www.php.net) will typically use: # #AddType application/x-httpd-php .php AddType application/x-httpd-php3 .php3 .php AddType application/x-httpd-php3-source .phps But what else is needed?