Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 11:44:36 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Jim Freeze <jim@freeze.org>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: php install and ./configure -with-mysql
Message-ID:  <20010702114324.E21126-100000@shumai.marcuscom.com>
In-Reply-To: <Pine.BSF.4.32.0107021132330.73262-100000@www.stelesys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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