<div class="gmail_quote">On Thu, Aug 4, 2011 at 9:24 AM, Jordon Bedwell <span dir="ltr"><<a href="mailto:jordon@envygeeks.com">jordon@envygeeks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 02/08/11 15:24, Hal Burgiss wrote:<br>
> On Tue, Aug 2, 2011 at 6:25 AM, Amrit Pal Pathak <<a href="mailto:amritpalpathak1@gmail.com">amritpalpathak1@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:amritpalpathak1@gmail.com">amritpalpathak1@gmail.com</a>>> wrote:<br>
>     When i try to browse  php file on my system it dont browse.But browse ask to<br>
>     download it (save).<br>
>     Why?<br>
>     I have install php and apache2 with ubuntu 10.04<br>
> Is the php module enabled? What is the contents of:<br>
> /etc/apache2/mods-enabled/php5.conf. There should be something like:  AddType<br>
> application/x-httpd-php .php .phtml .php3<br>
<br>
</div>Actually the file is /etc/apache2/mods-available/php5.conf and to enable<br>
PHP you would do: sudo a2enmod php5<br>
<br></blockquote><div><br></div><div>True, only if it is installed but not enabled. If enabled, the contents are identical in both places.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

/etc/apache2/mods-enabled/* are just symbolics to ../mods-available<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div> </div><div>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). </div>
</div><br clear="all"><br>-- <br>Hal<br>