[Chugalug] LAMP problem

Dean Warren deawar at gmail.com
Thu Feb 28 22:48:23 UTC 2013


Where does apache.conf think your DocumentRoot is?
DocumentRoot /var/www/html/Drupal6

the "Drupal6" is a link to my /usr/share/drupal6 directory and with the
exception of my permissions snafu it seems to work now.
Take a look: http://wclug.net


Hope you have a great day,
Dean Warren


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

> libapache2-mod-php5 is already installed.
>
> My opening tag <?php and closing tag ?> are present. This problem is
> occurring with my html & PHP files as well as files that I'M copying from else
> ware just to make sure. So the syntax should be good. The PHP files are
> working just as long as I point the URL straight to the file, 'localhost/somefile.php'
> but their downloading instead of executing when trigged from an html form.
>
> ------------------------------
> Date: Thu, 28 Feb 2013 17:06:01 -0500
> From: deawar at gmail.com
>
> To: chugalug at chugalug.org
> Subject: Re: [Chugalug] LAMP problem
>
> Hey Gary I just ran across a big hole in my LAMP setup..... My modules
> directory is WIDE OPEN to the web.....OMFG!!
>
> Make sure your permissions are set and you run through the directories to
> verify they are forbidden!!!
> Hope you have a great day,
> Dean Warren
>
>
> On Thu, Feb 28, 2013 at 4:56 PM, Jason Brown <lists at masterforge.com>wrote:
>
> Or it could be as simple as the file missing the <?php opening tag.
> Or incorrect encoding / corrupt.
>
> Typically if you have other php files in the same folder working then the
> issue is that Apache does not think the file is php at all, and downloads
> it instead of parsing it.
> If other php files in the same folder do not work, check for .htaccess and
> other apache settings about the handling of .php files.
>
> --Jason
>
>
> On 02/28/2013 04:32 PM, Dave Brockman wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2/28/2013 3:21 PM, Mike Smith wrote:
>
> libapache2-mod-php5
>
> You'll want to install that. It should restart apache2 and you
> should be in business.
>
>  I think he has that already, he stated phpinfo() will return valid
> info from a php script called directly....  That was my first
> reaction, until I re-read his entire post again.
>
> I suspect something else is afoot Watson...
>
> Regards,
>
> dtb
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJRL8zpAAoJEMP+**wtEOVbcdjXIIAJScRcSDuN4CMia2mJ**yCnM2j
> +jaKcURiURv5HuSExse/**XgMqxqtq0asi1vZE+**ZISXiCpaLQL3rIpdvjOWnsma3DL
> 6x5o0c+QGKMQYioN+rETpb+**k1xnMfXvW8dCEW8Cyxl4648z2wOlIt**fOjaH2lXgsf
> dlFb0JPxZBg6gUgravrY88CdSFhs6D**G4/**hgHTzeFFKzBicZhlz5ctrBgsI3k5Zz**f
> 8dFdVNC6KSpjLT4WJu5w0xUiVllvds**2DtdSzYYjLZUD15JB6LtgrhCz6hMxO**Wo/M
> XNbdAn3u9az6tcchmtCudYMmMWZJ+**SytPtlByJGT3opV9w/**MiJaCKxeJFlzODe8=
> =XNID
> -----END PGP SIGNATURE-----
> ______________________________**_________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/**mailman/listinfo/chugalug<http://chugalug.org/cgi-bin/mailman/listinfo/chugalug>
>
>
> ______________________________**_________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/**mailman/listinfo/chugalug<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/a7eacc9e/attachment.html>


More information about the Chugalug mailing list