Re: Installation Problems
| From: | Chris | Date: | Tue, 08 Jan 2002 00:13:40 +0000 |
| Subject: | Re: Installation Problems | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5508@lists.php.net to get a copy of this message | ||
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 Davos@maxgaming.net
>
> Thankyou
>
> David Lurie
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
............................................
This email was sent using DNSWATCH WebMail.
"Get YOUR account today!"
http://www.dnswatch.com/dnswm112/