LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-28-2008, 12:31 PM   #1
jfaguimaraes
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

teste.php
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/libphp5.so
AddHandler php5-script php

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

None worked out.

-*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_

I was looking for a discution in a similar problem in linux tutorial http://www.linux-tutorial.info/modul...iewtopic&t=855

and trying every thing they tried.

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

http://192.168.1.101/phppgadmin/
http://localhost/phppgadmin/

This two should not be the same, because 192.168.1.101 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
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:29 PM.

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