Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 12:21:08 -0800
From:      Beecher Rintoul <akbeech@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can't install php5-apache20 combination
Message-ID:  <200508101221.09223.alaska@vfemail.net>
In-Reply-To: <42FA5EE6.1000500@charter.net>
References:  <42FA5EE6.1000500@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 August 2005 12:09 pm, bob self wrote:
> I have a new installation of 5.4-RELEASE and am trying to get apache2
> with php5 support installed.
> No luck so far. In what order should I do this? I've tried this:
>
> *portupgrade -vN php5*
>     These are the options that I selected
>
>     APACHE2        (yes. I changed this from 'no')
>     DEBUG            (no)
>     MULTIBYTE    (no)
>     IPV6            (yes. It was the default)
>
> *portupgrade -vN php5-extensions*
>     I selected the following additional options (I've used gd, imagick,
> etc in the past with php, so I'll be wanting these.
>     Does it hurt to just select all options in case you might need them
> later?)
>
>     BZ2
>     CALENDAR
>     CURL
>     GD
>     IMAGICK
>     MYSQL
>     NCURSES
>     PDF
>     READLINE
>     ZIP
>     ZLIB
>
>
> That seemed go ok, but my phpinfo() does not show anything about mysql,
> which is the main php support that I'm trying to get.
> Then I tried this:
>
> *portupgrade -vN apache20*
>
> But I get an error message "No such installed package or port:
> apache20", which exists in /usr/ports/www/apache20.
>
>
> I uninstalled php5 to start over.
>
> So, how can I install apache2 with php5 and the necessary extensions? Is
> there a way just install apache20 and make the
> installation install whatever you need, including php5 in the right order?
>
> thanks,
> Bob
>
>
Since you have apache installed, install /usr/ports/www/mod_php5

That will do what you want.

Beech
---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech@gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---------------------------------------------------------------------------------------














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