|
Posted by BKDotCom on 11/15/06 00:41
Did you install PHP-4 or 5?
ExecMan wrote:
> Hi All,
>
> I'm sure all the guru's know this one, but I cannot find it. I just
> installed Luinx. I configured Apache and got everything up and
> running.
>
> When I do my PHP test, it asks me to download the file, rather than
> displaying the info on the screen.
>
> Now, I added the following lines to the httpd.conf:
>
> LoadModule php4_module /usr/lib/httpd/modules/libphp4.so
>
> AddType application/x-httpd-php .php .php3 .php4 .phtml
> AddType application/x-httpd-php-source .phps
>
> DirectoryIndex index.html index.php index.html.var
>
> And I restarted the server........no good. It displays HTML documents,
> but not PHP documents. Can anyone help? I've been at this for more
> then 4 hours now.......
>
> Thanks!
[Back to original message]
|