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? |
Moved to Software, as requested
|
All times are GMT -5. The time now is 05:36 PM. |