Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2008, 12:31 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
Thumbs down php5 - apache2 - iceweasel and epiphany don't open - ask for another software to open

I use debian and I installed apache2 and php5 to use phppgadmin.

I created a simple teste.php file in /var/www and when a put the url http://localhost/teste.php it shows me a window saying this:

You have chosen to open

which is a: Script PHP
from : http://localhost

What should Iceweasel do with this file?

If I choose to open with iceweasel it open an empty tab and ask again.

I edited /usr/share/apache/default-configs/apache/httpd.conf many times following some sites instructions, like this:

# Use for PHP 5.x:
LoadModule php5_module modules/
AddHandler php5-script php

AddType text/html .php
AddType application/x-httpd-php .php

None worked out.


I was looking for a discution in a similar problem in linux tutorial

and trying every thing they tried.

When I put the ip address insted of localhost it worked.

This two should not be the same, because is the ip address of the local host?

Last edited by jfaguimaraes; 08-30-2008 at 01:12 AM. Reason: work around
Old 08-29-2008, 02:37 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Moved to Software, as requested


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epiphany -iceweasel not strating !! Only iceape does Vassos Linux - Software 1 08-20-2008 08:38 AM
Iceweasel and Epiphany both crash when they encounter flash Rehumanize Debian 1 02-26-2008 05:42 PM
Open-source idealism--IceWeasel pixellany Linux - General 21 06-06-2007 08:10 PM
How to get Iceweasel to open preffered plugins??? Red Knuckles Debian 0 02-19-2007 03:55 PM
LXer: Libraries facilitate open access to information with open source software LXer Syndicated Linux News 0 01-23-2007 03:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration