2008/2/19, Zach <[EMAIL PROTECTED]>: > On Feb 19, 7:40 am, "Kushal Kumaran" <[EMAIL PROTECTED]> wrote: > > > > Run a2enmod php5 to enable the php5 module. Then restart apache2. > > You don't need to have both php5-cgi and libapache2-mod-php5 > > installed. Unless you specifically need the cgi version, you can just > > stick to the apache2 module. > > Ok but it seems I already have this module loaded and I still can't > open php scripts. When I try to open /var/www/phpsysinfo/index.php it > says "You have chosen to open: index.php which is a PHP script" and it > queries me if I want to save it to disk or open with Bluefish. Any > other ideas? >
Hello, do you have a line like this in your config files: AddType application/x-httpd-php .php .phtml .php3 I think it is in the file: /etc/apache2/mods-enabled/php5.conf That should do the trick. Best regards, Sergio Cuellar -- "Meine Hoffnung soll mich leiten Durch die Tage ohne Dich Und die Liebe soll mich tragen Wenn der Schmerz die Hoffnung bricht" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]