verify the php module is loaded properly. check the var/log/httpd/error_log for any errors. try httpd -l and check if the module exists.
----- Original Message ----- From: "Bart SCHELSTRAETE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 1:18 AM Subject: Re: Apache w/PHP > Curtis Vaughan wrote: > > > I installed Apache by default on my 8.0 server. At which point php > > support is installed, I'm not really certain (by default, or did I do > > it? Sorry for my ignorance.) > > Anyhow, the fact is that Apache is not passing the php mine type over > > appropriately (apparently). > > I added to the httpd.conf file the following lines: > > AddType application/x-httpd-php .php > > LoadModules php4_module modules/libphp4.so > > What can I do to be certain whether everything is installed that needs > > to be installed, that it is installed appropriately? > > > > Curtis Vaughan > > North Pacific Corporation > > WashTech (CWA Local 37083) > > IWW x353203 > > Also add the following rule: > AddType application/x-httpd-php .php4 > AddType application/x-httpd-php .php3 > > And restart/reload your Apache. > In PHP there is a file included called 'test.php' or something similar. > Copy that to you document root , and try to open it with your browser. > That file will show you the PHP configuration on your machine, so that > you can check this. > > > rgrds, > Bart > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list