Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 14:24:31 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        justin <justins@justnosweat.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hello  (DSL -- should be: installing PHP5)
Message-ID:  <4464E0EF.9020106@daleco.biz>
In-Reply-To: <20060512185626.D57174@justnosweat.net>
References:  <20060512185626.D57174@justnosweat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
justin wrote:
> 
> I `ve got a question about installing the php5 module.
> I`m installing it from the /usr/ports/www/php5-session port.
>


Interesting; that's not the usual place.


> Everything runs ok and it seems like the module is installed.
> There is only one problem, in the httpd.conf there is a LoadModule 
> php5_module refering to libexec/apache/libphp5.so.
> 
> The library libphp5.so is not made by the install and so my appache will 
> not start with the php5 enabled.
> 
> What is wrong and what can i do to let the install make the libphp5.so.

php5-session is a "sub-port" if you will; it's supposed to be an
extension to /usr/ports/lang/php5.  IIRC, this was "split out"
from PHP5 quite some time ago.  So, you should *probably* install
/usr/ports/lang/php5 first, and then install the php5-session
port; or, even better, install lang/php5 and then lang/php5-extensions,
and you can get sessions and all other kinds of 'neat stuff', too.

HTH,

Kevin Kinsey

-- 
All other things being equal, a bald man cannot be elected President of
the United States.
		-- Vic Gold




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4464E0EF.9020106>