|
php page can't display but download as php file?
Hi,
I just install php4 , mysql and apache and try to test for a php page. BUt instead of displaying page it become a php file to download?? Below is a list of package i install :
===================================
root@dav-ubuntu:/# dpkg -l |grep php
ii libapache2-mod-php4 4.4.0-3ubuntu1 server-side, HTML-embedded scripting languag
ii php4 4.4.0-3ubuntu1 server-side, HTML-embedded scripting languag
ii php4-common 4.4.0-3ubuntu1 Common files for packages built from the php
ii php4-mysql 4.4.0-3ubuntu1 MySQL module for php4
ii phpmyadmin 2.6.4-pl1-1ubuntu1.1 set of PHP-scripts to administrate MySQL ove
root@dav-ubuntu:/# dpkg -l |grep mysql
ii libdbd-mysql-perl 2.9007-1 A Perl5 database interface to the MySQL data
ii libmysqlclient10 3.23.56-3 LGPL-licensed client library for MySQL datab
ii libmysqlclient12 4.0.24-10ubuntu2 mysql database client library
ii libmysqlclient14 4.1.12-1ubuntu3.1 mysql database client library
ii mysql-client 4.0.24-10ubuntu2 mysql database client binaries
ii mysql-common 4.0.24-10ubuntu2 mysql database common files (e.g. /etc/mysql
ii mysql-navigator 1.4.2-4 GUI client program for MySQL database server
ii mysql-query-browser 1.1.12-1ubuntu7 Official GUI tool to query MySQL database
ii mysql-query-browser-common 1.1.12-1ubuntu7 Architecture independent files for MySQL Que
ii mysql-server 4.0.24-10ubuntu2 mysql database server binaries
ii php4-mysql 4.4.0-3ubuntu1 MySQL module for php4
ii python-mysqldb 1.2.1c3-1ubuntu1 A Python interface to MySQL
ii python2.4-mysqldb 1.2.1c3-1ubuntu1 A Python interface to MySQL
ii apache 1.3.33-8ubuntu1 versatile, high-performance HTTP server
ii apache-common 1.3.33-8ubuntu1 support files for all Apache webservers
ii apache2-common 2.0.54-5ubuntu4 next generation, scalable, extendable web se
ii apache2-mpm-prefork 2.0.54-5ubuntu4 traditional model for Apache2
ii apache2-utils 2.0.54-5ubuntu4 utility programs for webservers
ii libapache2-mod-php4 4.4.0-3ubuntu1 server-side, HTML-embedded scripting languag
==============================
Thanks in advance.
chris
|