Eric on 30 Mar 2007 07:04:15 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Help with Apache PHP


Actually, all you need is the "<? phpinfo() ?>" part.

Save the file with a php extension so that Apache knows to
process the php code.

HTH
Eric

Doug Crompton wrote:
> I have been running Apache for over 10 years and believe it or not have
> never used PHP. I was trying to test it and I cannot seem to get it to
> work. As far as I know the PHP modules is loading. I had some library
> issues because I moved some X11 libs (I do not use X11 on this system) but
> I solved that and Apache loads and runs fine.
> 
> Should I not be able to create the following....
> 
> <html>
> <head>
> </head>
> <body>
> 
> <?
> phpinfo();
> ?>
> 
> </body>
> </html>
> 
> and save it as test.html on my server and see the results if it is
> working?
> 
> When I execute this I just get a blank page. No errors.
> 
> Doug
> 
> 
> ****************************
> *  Doug Crompton	   *
> *  Richboro, PA 18954	   *
> *  215-431-6307		   *
> *		  	   *
> * doug@crompton.com        *
> * http://www.crompton.com  *
> ****************************


-- 
------------------------------------------------------------------------
#  Eric A Lucas
#     "Oh, I have slipped the surly bond of earth
#      And danced the skies on laughter-silvered wings...
#                             -- John Gillespie Magee Jr.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug