|
Posted by ExecMan on 11/15/06 02:21
ExecMan wrote:
> Well, whatever came with the OS when I installed it......
>
> [root@nytelife httpd]# php -v
> PHP 4.3.9 (cgi) (built: Jul 12 2006 13:40:25)
> Copyright (c) 1997-2004 The PHP Group
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
>
>
>
>
> BKDotCom wrote:
> > 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!
Hey Everyone,
Fixed......remember: Never read the user manual.....they always have
typos and you wind up putting in the wrong parameters into your config
file!!!!
Navigation:
[Reply to this message]
|