httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Pettijohn <ed...@pettijohn.no-ip.biz>
Subject Re: [users@httpd] Re: Apache 2.4 PHP 5.5
Date Thu, 07 Aug 2014 21:17:49 GMT
Of course we don't know what if anything you are attempting to use to
serve php content because you have not supplied your configuration file.

On 08/07/2014 09:20 AM, Francois Gingras wrote:
> D'arcy,
>
> Those are actually erroneous responses.
>
> You do not need mod_php to serve php content; that's the legacy
> approach. Also, AddType should never be used for dynamic content. The
> purpose of that directive is to change the content type for static files.
>
> Nowadays, you can use fcgi and even php-fpm as a fcgi backend, and
> those solutions perform far better.
>
> Please see http://wiki.apache.org/httpd/php for recipes on the various
> configuration options.
>
>
>
> On Thu, Aug 7, 2014 at 9:59 AM, D'Arcy J.M. Cain <darcy@vex.net
> <mailto:darcy@vex.net>> wrote:
>
>     On Thu, 7 Aug 2014 06:42:31 -0700
>     motty cruz <motty.cruz@gmail.com <mailto:motty.cruz@gmail.com>> wrote:
>     > I am not getting anything similar to the example you have, I get a
>     > blank page, (using chrome) then I get "file download"
>
>     Sounds like one of three things.
>
>     1. You have not built the PHP Apache module.  How to do this
>     depends on
>     the system that you are using.
>
>     2. You have built but have not installed the PHP Apache module.  Run
>     httpd with the -M option (as well as any other options that you
>     normally use) to see if this is the case.  Search for LoadModule for
>     instructions on loading it.
>
>     2.  If the module is loaded then you may not have added php file
>     types.  Search for AddType if that is the case.
>
>     --
>     D'Arcy J.M. Cain
>     System Administrator, Vex.Net
>     http://www.Vex.Net/ IM:darcy@Vex.Net
>     VoIP: sip:darcy@Vex.Net
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>     <mailto:users-unsubscribe@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <mailto:users-help@httpd.apache.org>
>
>


Mime
View raw message