Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:06:44 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        byrnejb@harte-lyne.ca
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD running PHP on Apache24
Message-ID:  <alpine.BSF.2.20.1701130905130.1006@mail.fig.ol.no>
In-Reply-To: <4138b6f141eb85bd1ae4a887eb2d2e13.squirrel@webmail.harte-lyne.ca>
References:  <fda6dee5bd29f8a19874760237927eb1.squirrel@webmail.harte-lyne.ca> <4138b6f141eb85bd1ae4a887eb2d2e13.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jan 2017 10:08-0500, James B. Byrne via freebsd-questions wrote:

> 
> On Wed, January 11, 2017 17:11, James B. Byrne wrote:
> > I cannot seem to discover where one obtains the php5 module for
> > apache24.  On my CentOS6.8 boxes running Apache2.4.9 I do this in
> > php.conf
> >
> > LoadModule php5_module modules/libphp5.so
> >
> > But I cannot even locate a libphp5.so for FreeBSd to load. How is php
> > invoked?
> 
> Thank you for the guidance.  I had everything installed except
> mod_php5.  Which is why I could not find it.  Why I could not see it
> listed at the top of my pkg search results remains one of life's
> little mysteries.

I usually add a small file, /usr/local/etc/apache24/Includes/php5.conf, containing:

<IfModule mime_module>                                                                                                                                                                                               
AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps                                                                                                                                                                 
</IfModule>
                                                                                                                                                                                                                 
<IfModule dir_module>
    DirectoryIndex index.php index.html                                                                                                                                                                          
</IfModule>

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Fri Jan 13 08:44:35 2017
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89743CA5E85
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Fri, 13 Jan 2017 08:44:35 +0000 (UTC)
 (envelope-from jacob@webpromotiontechnologies.com)
Received: from mail-ua0-x241.google.com (mail-ua0-x241.google.com
 [IPv6:2607:f8b0:400c:c08::241])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4D6FA1001
 for <freebsd-questions@freebsd.org>; Fri, 13 Jan 2017 08:44:35 +0000 (UTC)
 (envelope-from jacob@webpromotiontechnologies.com)
Received: by mail-ua0-x241.google.com with SMTP id i68so3588794uad.1
 for <freebsd-questions@freebsd.org>; Fri, 13 Jan 2017 00:44:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=webpromotiontechnologies-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=+HpaQlI+7nOWmPQ6XQNz907rnLgW5I+AVfZYWs3E+ec=;
 b=LXaO4hf141iB3NeG+eRXhaQwdvQW2YUVmJJqhksIJIuUgE5Kw3GXRMuZopy0w/pG7d
 cJNZ1v3+zbJ6ya9zyfGm4OcZCaD4bvFpoECEF8V5uZYvdrgkK08IXw45g1tcv1OjzDz1
 OLuWqZErjfWxqnpSEgTT2gMkCc3w6nfRJ6hh5NOiq5yeQHJMqXrQg0w5wKcg5NQKCfSj
 D4pabn0bpdEETP22Eg0wjFZ6Y4SQC/qMIcZZpkTGLrV32WOEl1HsUFr/jO688sULLHZE
 VKoSlpRLo2gd4tVE/WaRRowVa64d9F/ExyKV6TNMXWnWCxxUtE81sx0QQ9SrhRW46MtO
 UB5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=+HpaQlI+7nOWmPQ6XQNz907rnLgW5I+AVfZYWs3E+ec=;
 b=ENg/791aoxqhxeFBQPOANcFeIn8Y+Pbs6aI0tfTZWe2OKmNXUDuiRHJVPN0cORI/hg
 b4ij7mwyYY4+inOL4uidNkKpBMcdJRItvxwQtk44e4egXJTFlwUeuHwpFOeJ/WFvQMuU
 B4fprbtSBKoXva77yyK34Fs2YI4FRaKAYGCLZyE4XmsZBnCfZAy97QiLi8ncugxGldKA
 qnJh03Meq2MBioztXuFYFaRHlmSFIhurUH+uYSR8++mOWn5Wl4c1RMJwSMNQl1UTtpgo
 IOVRUqvQqNrlwwcx+qYzFnMxB4+lty7z3WK0C1V2d5bfA1X/B988Zi/3YsX+MhjrQXIy
 6ASw==
X-Gm-Message-State: AIkVDXLYmNFajx6tzb+B7ZV0QXKqc51frsbl2qGzYoCuHMX8+viiEJeX5RXMFRm9JotytL+AqY38QVH5GIdamg==
X-Received: by 10.176.2.14 with SMTP id 14mr10256660uas.8.1484297073970; Fri,
 13 Jan 2017 00:44:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.31.176.74 with HTTP; Fri, 13 Jan 2017 00:44:33 -0800 (PST)
X-Originating-IP: [182.69.242.45]
From: Jacob Carter <jacob@webpromotiontechnologies.com>
Date: Fri, 13 Jan 2017 14:14:33 +0530
Message-ID: <CA+fHaY-yyq3aNp=sQhP6hUWe+CPWO5J4irGzxuAcWZdt7yzA_Q@mail.gmail.com>
Subject: Website Maintenance Expert-Hire us
To: freebsd-questions@freebsd.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.23
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2017 08:44:35 -0000

Dear Customer,

Keeping your website current is very important, for *appearance* and *fresh
content* as well as *security* and *search performance*. We will recommend
updates to your site as needed. We always quote a price before beginning
any work.

*  If your website is out of date, please call for a free consultation and
quote.*

We can provide any type of website update you may need:

=C2=B7  new responsive design

=C2=B7  updated site layout

=C2=B7  mobile website design

=C2=B7  theme and plugin updates

=C2=B7  new pages and navigation

=C2=B7  updated and resized images

=C2=B7         new features, functions, addons

=C2=B7         expert copywriting

=C2=B7         new fonts

=C2=B7         security updates

=C2=B7         WordPress & Zen Cart updates

=C2=B7         *SEO* updates

*Web Redesign & Updates*

To improve the appearance, performance, security and maintainability of
your site, we may recommend a *Website Update* or a complete *Website
Redesign*. As with every new design, we implement the latest *Search Engine
Optimization* (SEO) techniques for every website we redesign.

If you are not comfortable updating your CMS website, please let us help to
you get best appearance online.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1701130905130.1006>