My LAMP configuration (default install) on ubuntu dapper drake was working fine uptil now.
I tried to install php curl and in the process uninstalled/reinstalled a couple of packages for php and restarted apache.
ever since, my php files are being recognised as phtml files and firefox tries to OPen or Download it...i.e. the box pops up.
The following packages are installed: apache2 apache2-common apache2-mpm-prefork apache2-utils
php5 php5-cgi php5-cli php5-cgi php5-common php5-curl php5-gd
I added/these lines existed the following in /etc/apache2/apache2.conf file AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .inc AddType application/x-httpd-php .class AddType application/x-tar .tgz
AddHandler cgi-script .cgi
any ideas as to why something that was working perfectly fine got messed up?
thanks abhishek
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 10/27/06, Abhishek Daga abhishekdaga@yahoo.com wrote:
My LAMP configuration (default install) on ubuntu dapper drake was working fine uptil now.
I tried to install php curl and in the process uninstalled/reinstalled a couple of packages for php and restarted apache.
Check if the install/uninstall changed the path of php and apache is hence
not able to invoke it.
- Navneet
Sometime on Fri, Oct 27, 2006 at 05:52:55AM -0700, Abhishek Daga said:
My LAMP configuration (default install) on ubuntu dapper drake was working fine uptil now.
I tried to install php curl and in the process uninstalled/reinstalled a couple of packages for php and restarted apache.
ever since, my php files are being recognised as phtml files and firefox tries to OPen or Download it...i.e. the box pops up.
see if installing `libapache2-mod-php5' helps.
Anurag
--- Anurag anurag@gnuer.org wrote:
Sometime on Fri, Oct 27, 2006 at 05:52:55AM -0700, Abhishek Daga said:
My LAMP configuration (default install) on ubuntu dapper drake was working fine uptil now.
I tried to install php curl and in the process
uninstalled/reinstalled
a couple of packages for php and restarted apache.
ever since, my php files are being recognised as phtml files and firefox tries to OPen or Download it...i.e. the box pops up.
see if installing `libapache2-mod-php5' helps.
It is already installed. I'd hate to uninstall everything and reinstall. That'd be a silly way of fixing this.
I'm sure there is a cure.
thanks abhi
__________________________________________________________________________________________ Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. (http://advision.webevents.yahoo.com/mailbeta)
I have completely uninstalled apache2 and php5.
Reinstalled apache2. (remember no php5 installed yet) Modified the following lines so it appears as follows: ----- DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-tar .tgz ServerName = localhost ----
However even when i try and bring up localhost or 127.0.0.1 it pops up a box which tells me You have chosen to open a <blank line>
Which is a phtml file. What should firefox do with the file.
However, when i try and open index.html it works fine (i.e. says file not found) or when index.html is created it shows up.
firefox cache is cleared.
Any clues yet? thanks
abhishek
____________________________________________________________________________________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview)