hello (DSL -- should be: installing PHP5)

Kevin Kinsey kdk at daleco.biz
Fri May 12 12:24:46 PDT 2006


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



More information about the freebsd-questions mailing list