I am working with a Novell admin who is setting up Apache/PHP/MySQL. Both Apache and MySQL work fine but there is trouble with PHP.
PHP appears to work because he was able to create a MySQL user account for me in phpMyAdmin. phpMyAdmin is installed on a section of the server that I do not have access to so I am not sure what he is looking at. When I try a simple function like phpinfo() running from the part of the server that I have access to, I get the unprocessed PHP script in my web browser. I'm confused how phpMyAdmin functions on one part of the site but the PHP file that I have created is not processed. My php test file is:
I asked the Novell administrator to forward the httpd.conf file to me for review. 'php' does not appear anywhere in the configuration file. Is it possible for Apache to serve PHP functions when there is no PHP directive in the Apache configuration file? Is it possible that the Novell administrator is using 2 different Apache servers and he sent me the configuration file from the wrong Apache installation?
This is what the server is running:
- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
PHP appears to work because he was able to create a MySQL user account for me in phpMyAdmin. phpMyAdmin is installed on a section of the server that I do not have access to so I am not sure what he is looking at. When I try a simple function like phpinfo() running from the part of the server that I have access to, I get the unprocessed PHP script in my web browser. I'm confused how phpMyAdmin functions on one part of the site but the PHP file that I have created is not processed. My php test file is:
Code:
<?php
phpinfo();
?>
This is what the server is running:
Code:
HTTP/1.1 200 OK
Date: Thu, 22 Apr 2004 20:56:27 GMT
Server: Apache/2.0.45 (NETWARE) mod_jk/1.2.4a
Last-Modified: Wed, 21 Apr 2004 18:01:04 GMT
Accept-Ranges: bytes
Content-Length: 4990
Connection: close
Content-Type: text/html; charset=ISO-8859-1
- - picklefish - -
Why is everyone in this forum responding to me as picklefish?