Core 5 Apache 2.2.2 PHP 5

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Jul 13 20:23:40 UTC 2006


Derek C Hopkins wrote:
> 
> When I run an HTML file in Firefox it ignores the imbedder  PHP call to
> phpinfo()
> 
> When I run a PHP file in firefox it tells me it is a PHP file and asks
> what it wants be to do with it   "Save to disk" *run with........."   It
> does not pass it to  be executed in PHP  why?  how do I fix it?   Apache
> is running
> 
> 
You can not open php files directly in a web browser. Now, if you
have put the file in /var/www/html, and then open
http://localhost/file-name then it will work. (Providing the file is
readable by Apache.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the users mailing list