From owner-freebsd-questions Mon Jul 2 8:38:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freeze.org (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id 0449737B403 for ; Mon, 2 Jul 2001 08:38:16 -0700 (PDT) (envelope-from jim@freeze.org) Received: (from jim@localhost) by freeze.org (8.11.3/8.11.2) id f62Fc6w77448; Mon, 2 Jul 2001 11:38:06 -0400 (EDT) (envelope-from jim) X-Authentication-Warning: www.stelesys.com: Processed from queue /var/spool/alt_queue X-Authentication-Warning: www.stelesys.com: Processed by jim with -C /web/siteinfo/freeze/mail/sendmail.cf Date: Mon, 2 Jul 2001 11:38:05 -0400 (EDT) From: Jim Freeze X-X-Sender: To: Subject: php install and ./configure -with-mysql Message-ID: 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 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