Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 15:52:39 -0700 (PDT)
From:      Jeff Jirsa <jeff@boris.st.hmc.edu>
To:        RDWestSr <rdwestsr@hotpop.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Who-is-the-list-GuRu??? (must read)
Message-ID:  <20020725154753.D79159-100000@boris.st.hmc.edu>
In-Reply-To: <3D407E84.8B414CF1@hotpop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jul 2002, RDWestSr wrote:

>
> while installing PHP the ./configure goes like this -
> ./configure --with-mysql=/usr/local/mysql  \
> --with-xml  --with-apache=../apache_1.3.xx  \
> --with-curl=/usr/local/curl  \
> --with-pspell=/usr/local/pspell  \
> --with-jpeg-dir=path
> --with-t1lib=path
> --enable-shared-pdflib  \
> --enable-track-vars  \
>
> mysql compiles without any errors  i just can't get it started...
> i don't have a clue how to setup the start up scripts or whatever
>
> i need ./configure  prefix=/usr/local/mysql
>
> so what would the prefix be if i just add the port?
> the port installs to local everywhere   files are scattered all over
> that i seen...
> so i dunno how to prefix php for build?
>

Make sure you have the ports collection installed ( check /usr/ports ..
if it's not there, or it's empty, you don't have them installed - either
download them from http://www.freebsd.org/ports or run /stand/sysinstall
), and install php from the ports:

cd /usr/ports/www/mod_php4 && make install

It will prompt you for the options you want to include, including curl,
xml, apache, pspell, jpeg, AND mysql. It'll even build mysql for you if
you don't already have it installed.

The start scripts will be placed in /usr/local/etc/rc.d/ , check them over
and then rename the sample scripts to .sh so that they'll be executed when
the system starts. Then you can just: '/usr/local/etc/rc.d/mysqld start'
and you'll be ready to go.

- Jeff Jirsa


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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