Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004032

[PHP-INSTALL] PHP Installed but not working From: Kevin Carpenter (CARPENTERKE <email protected>)
Date: 03/26/04

I'm running a SuSE 9.0 Pro system.

I've installed MySQL 4.0.15, Apache 1.3.28, and PHP4 - in that order.

MySQL and Apache are working ok. When I view the Apache "testinfo-webserver" page on my local host, I see PHP4 is listed as an installed module.

-------------------

The following lines are in httpd.conf:

<IfModule mod_dtcl.c>
AddType application/x-http-php .php
AddType application/x-http-php .php4
AddType application/x-http-php .php-source .phps
</IfModule>

LoadModule php4_module /usr/lib/apache/libphp4.so

I've restarted the Apache server but I still see php text rather than the script running.

Ideas?

-:>Kevin

PS:> I'm wondering if the AddType lines aren't running if the IF conditions aren't being satisfied.