[Chugalug] LAMP problem

Mike Smith mikeosmith at gmail.com
Thu Feb 28 20:21:27 UTC 2013


libapache2-mod-php5

You'll want to install that. It should restart apache2 and you should be in
business.

Thanks,
Mike Smith
(423) 650-4417


On Thu, Feb 28, 2013 at 3:05 PM, Garrett Gaston <garrett85 at hotmail.com>wrote:

> It's all being done from localhost. everything is stored on my desktop at
> /var/www/
>
> As to apt-cache search apache2 | grep php, this is what I got.
>
> garrett at mint-desktop ~ $ apt-cache search apache2 | grep php
>
> libapache2-mod-php5 - server-side, HTML-embedded scripting language
> (Apache 2 module)
> php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
> libapache2-mod-php5filter - server-side, HTML-embedded scripting language
> (apache 2 filter module)
> libapache2-mod-suphp - Apache2 module to run php scripts with the owner
> permissions
> php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
>
> ------------------------------
> From: wes at the-wes.com
> Date: Thu, 28 Feb 2013 11:50:55 -0800
> To: chugalug at chugalug.org
> Subject: Re: [Chugalug] LAMP problem
>
>
> what's the URL to the html file? is it possible it's using a hostname
> other than "localhost" and that is causing different behavior between the
> two examples?
>
> -wes
>
>
> On Thu, Feb 28, 2013 at 11:39 AM, Garrett Gaston <garrett85 at hotmail.com>wrote:
>
> I'M trying to learn a little php but my learning as been halted by some
> strange behavior when executing my html/php files. Within my html documents
> I am attaching them to php files via:
>
> <form action="somefile.php" method="post">
>
> When the html file executes the form, the browser downloads the
> somefile.php file as if I were a picture or song I was downloading from a
> website rather than executing and displaying the php page in the browser.
> Executing phpinfo() from the browser via 'localhost/phptest.php' is working
> just fine. This problem is only occurring when a php script is called to be
> executed from an html file within the browser. Also note that I have tried
> this in two browsers with the same result.
>
> I've removed php5 and apache2 and re-installed both of them and I'M still
> getting the same result.
>
> Here's the info from /var/log/apache2/error.log
>
> [Thu Feb 28 12:45:35 2013] [notice] Apache/2.2.22 (Ubuntu)
> PHP/5.3.10-1ubuntu3.5 with Suhosin-Patch configured -- resuming normal
> operations
>
>
> Any ideas. I've hit a brick wall here and I can't continue my php book
> until I get this resolved.
>
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>
>
>
> _______________________________________________ Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20130228/74607699/attachment.html>


More information about the Chugalug mailing list