Do you have lines like application/x-httpd-php phtml pht php in /etc/httpd/mime.types and like AddType application/x-httpd-php .php in /etc/httpd/httpd.conf? If not, try adding them and restarting Apache (/usr/sbin/apachectl restart). Cheers! Mike Green On Tuesday 17 June 2003 06:00 pm, jay wrote:
After numerious tries I cannot get phpMyAdmin to work. I always get the following message:
"You have chosen to download a file of type: application/x-httpd-php from /srv/www/htdocs/phpMyadmin" and then asks me if I want to download the file "index.php" whenever I click on it.
I have the following installed: (all of which were installed, deleted an reinstalled via yast2)
mysql-3.23.55-14 phpMyAdmin-2.4.0-16 apache-1.3.27-41
Apache and mysql are runnung and I haven't added a password for root yet in mysql.
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 to server version: 3.23.55-Max-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>Webserver version: [ Apache/1.3.27 (Linux/SuSE) mod_python/2.7.8 Python/2.2.2 PHP/4.3.1 mod_perl/1.27 ]
Installed modules: [ PHP4 module ] [ Apache perl module (mod_perl) ] [ Apache DAV module (mod_dav) is not installed ] [ Apache Python module (mod_python) ] documentation[ This host is not configured as server for the SuSE help system ]
What am I doing wrong or what has to be changed?
Regards,
Jay