From owner-freebsd-questions Thu Jul 25 15:52:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D3EA37B400 for ; Thu, 25 Jul 2002 15:52:40 -0700 (PDT) Received: from boris.st.hmc.edu (boris.ST.HMC.Edu [134.173.63.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F74E43E6A for ; Thu, 25 Jul 2002 15:52:40 -0700 (PDT) (envelope-from jeff@boris.st.hmc.edu) Received: from boris.st.hmc.edu (localhost [127.0.0.1]) by boris.st.hmc.edu (8.12.3/8.12.3) with ESMTP id g6PMqdLL079211; Thu, 25 Jul 2002 15:52:39 -0700 (PDT) Received: from localhost (jeff@localhost) by boris.st.hmc.edu (8.12.3/8.12.3/Submit) with ESMTP id g6PMqdh3079208; Thu, 25 Jul 2002 15:52:39 -0700 (PDT) (envelope-from jeff@boris.st.hmc.edu) Date: Thu, 25 Jul 2002 15:52:39 -0700 (PDT) From: Jeff Jirsa To: RDWestSr Cc: Subject: Re: Who-is-the-list-GuRu??? (must read) In-Reply-To: <3D407E84.8B414CF1@hotpop.com> Message-ID: <20020725154753.D79159-100000@boris.st.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter on boris.st.hmc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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