From owner-freebsd-questions Mon Jul 2 8:44:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id 4393737B403 for ; Mon, 2 Jul 2001 08:44:06 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f62Fiau21142; Mon, 2 Jul 2001 11:44:36 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Mon, 2 Jul 2001 11:44:36 -0400 (EDT) From: Joe Clarke To: Jim Freeze Cc: Subject: Re: php install and ./configure -with-mysql In-Reply-To: Message-ID: <20010702114324.E21126-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 You should consider installing PHP/Apache from the ports or packages collection. I install from ports, and it has all the hooks built-in. It makes doing this _much_ easier. However, I think the path you need is /usr/local. Joe Clarke On Mon, 2 Jul 2001, Jim Freeze wrote: > Hi: > > I am following the article "Installing Apache and PHP" found in the > May/June issue of Daemon News - issue 4. In the article it says to > configure apache like so: > > ./configure -with-mysql -with-apache=../apache_1.3.20 > > I did this and received the following message at the end of the configure: > +--------------------------------------------------------------------+ > | *** WARNING *** | > | | > | You chose to compile PHP with the built-in MySQL support. If you | > | are compiling a server module, and intend to use other server | > | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | > | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | > | instead build it with your local MySQL support files, by adding | > | --with-mysql=/path/to/mysql to your configure line. | > +--------------------------------------------------------------------+ > > > If I choose to use the --with-mysql=/path/to/mysql, what do I use as my > path? I installed mysql via pkg_add. Is the path the path to the > executable or header files or what? > > Thanks > > Jim > > > find /usr -name mysql\* > /usr/local/bin/mysql > /usr/local/bin/mysqladmin > /usr/local/bin/mysqldump > /usr/local/bin/mysqlimport > /usr/local/bin/mysqlshow > /usr/local/bin/mysqltest > /usr/local/bin/mysql_config > /usr/local/bin/mysql_convert_table_format > /usr/local/bin/mysql_find_rows > /usr/local/bin/mysql_fix_privilege_tables > /usr/local/bin/mysql_install_db > /usr/local/bin/mysql_setpermission > /usr/local/bin/mysql_zap > /usr/local/bin/mysqlaccess > /usr/local/bin/mysqlbinlog > /usr/local/bin/mysqlbug > /usr/local/bin/mysqld_multi > /usr/local/bin/mysqldumpslow > /usr/local/bin/mysqlhotcopy > /usr/local/etc/rc.d/mysql-server.sh > /usr/local/include/mysql > /usr/local/include/mysql/mysql.h > /usr/local/include/mysql/mysql_com.h > /usr/local/include/mysql/mysql_version.h > /usr/local/include/mysql/mysqld_error.h > /usr/local/info/mysql.info > /usr/local/lib/mysql > /usr/local/libexec/mysqld > > > > ========================================================= > Jim Freeze > jim@freeze.org > --------------------------------------------------------- > No comment at this time. > http://www.freeze.org > ========================================================= > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message