Php files are not being browse

Jordon Bedwell jordon at envygeeks.com
Thu Aug 4 13:24:12 UTC 2011


On 02/08/11 15:24, Hal Burgiss wrote:
> On Tue, Aug 2, 2011 at 6:25 AM, Amrit Pal Pathak <amritpalpathak1 at gmail.com 
> <mailto:amritpalpathak1 at gmail.com>> wrote:
>     When i try to browse  php file on my system it dont browse.But browse ask to
>     download it (save).
>     Why?
>     I have install php and apache2 with ubuntu 10.04
> Is the php module enabled? What is the contents of: 
> /etc/apache2/mods-enabled/php5.conf. There should be something like:  AddType 
> application/x-httpd-php .php .phtml .php3

Actually the file is /etc/apache2/mods-available/php5.conf and to enable
PHP you would do: sudo a2enmod php5

/etc/apache2/mods-enabled/* are just symbolics to ../mods-available




More information about the ubuntu-users mailing list