Php files are not being browse

Hal Burgiss hal at burgiss.net
Thu Aug 4 13:35:35 UTC 2011


On Thu, Aug 4, 2011 at 9:24 AM, Jordon Bedwell <jordon at envygeeks.com> wrote:

> 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
>
>
True, only if it is installed but not enabled. If enabled, the contents are
identical in both places.


> /etc/apache2/mods-enabled/* are just symbolics to ../mods-available
>
>
If the symlink does not exist, then the module is not enabled. If the
symlink does exist the contents are identical in both locations as I
referenced and this tells us that the module is enabled (or not).


-- 
Hal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110804/1e751117/attachment.html>


More information about the ubuntu-users mailing list