Re: Core 5 Apache 2.2.2 PHP 5

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

 



Derek C Hopkins wrote:
> At 04:23 PM 13/07/2006, you wrote:
>> 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!
>>
>> -- 
>> fedora-list mailing list
>> fedora-list@xxxxxxxxxx
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 
> Hi Mikkel
> 
>         Did as you said but Firefox  goes flying off to
> http://p2p.cs.mu.oz.au/sortware/Localhost/   instead of displaying my page
> 
> 
That is strange. Try using 127.0.0.1 in place of localhost. If that
does not work, make sure Apache is running. (service httpd status as
root.)

Mikkel
-- 

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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux