post install steps? (after sudo port -v install php5 +mysql5)

Ryan Schmidt ryandesign at macports.org
Fri Aug 17 21:50:48 PDT 2007


On Aug 17, 2007, at 21:10, isao wrote:

> I want to use macports (v 1.520) to maintain and
> switch between versions of php & mysql (client &
> server), ideally wih the stock OS X httpd (using
> 10.4.10). I had previously used .dmg installers from
> entropy.ch and mysql.com, but love macports and keep
> things together...
>
> Command used:
>
>   % sudo port -v install php5 +mysql5

You haven't built php5 with any apache support; you've just got the  
command-line interpreter. You probably wanted instead to do:

sudo port install mysql5 +server
sudo port install php5 +apache +mysql5

Soon, "mysql5 +server" will be replaced with "mysql5_server"; there  
is a ticket for this.

> Installation was fine, but it looks like some
> post-installation instructions got cut-off.
>
>   (bunch of stuff deleted)
>   --->  Installing php5 5.2.3_0+darwin_8+macosx+mysql5
>
>   If this is your first install, you might want
>   --->  Activating php5 5.2.3_0+darwin_8+macosx+mysql5
>   --->  Cleaning php5
>   --->  Removing build directory for php5
>
> What are the approved post-install steps to get php to
> work with /usr/sbin/httpd, assuming the preceeding was
> correct? or where do i find more info on port AMP
> variants?





More information about the macports-users mailing list