Hello Dave, The most frequent cause of this can be found in your httpd.conf file in the followinf locations:
# DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.php default.html default.htm </IfModule> and..... # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps # # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps Best Wishes, C. Hutchinson H.R. Communications Corp. http://www.dnswatch.com http://www.dnswatch.com > I'm a professional webdesigner, but a recent job i recieved asked me to host the > webpage on my computer, which means i'm trying to install php on my own system. > > I have done so, but when opening a .php file i see the source code and it's > ignoring that php exists. If i stick <html> on the start to make it an html page > it translate the html parts into being visible properly, but the php parts are > still ignored. > > I'd appreciate a direct reply to [EMAIL PROTECTED] > > Thankyou > > David Lurie > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] ............................................ This email was sent using DNSWATCH WebMail. "Get YOUR account today!" http://www.dnswatch.com/dnswm112/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]