Re: php 4.03pl1 + mysql 3.23.27-beta won't communicate
| From: | Mikael Schmidt | Date: | Thu, 02 Nov 2000 10:40:14 +0000 |
| Subject: | Re: php 4.03pl1 + mysql 3.23.27-beta won't communicate | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4125@lists.php.net to get a copy of this message | ||
On Tue, 31 Oct 2000, Kevin McGuinness wrote:
> Have you compiled MySQL into PHP, this needs to be done for PHP to
> recognise mysql functions.
>
> --with-mysql=/<location of mysql>
yep, I did that... the problem is that it seems to be looking for something
in mySQL which it cannot find. I had this problem with snort as well (an
unidentifed symbol being called) and this I fixed by adding -lm to LDFLAGS in
the Makefile, tried this with PHP but sadly it didn't work. Perhaps you have
any other ideas that I can work on?
> Mikael Schmidt wrote:
> > Hello,
> >
> > I have installed PHP 4.03pl1 and earlier I had apache 1.3.14 with modssl
> > and mysql 3.23.27-beta up and running perfectly on the machine. However,
> > I cannot get PHP to communicate with my mySQL database. I am running
> > OpenBSD 2.7 on an i386 architecture. This is from my apache error_log;
> >
> > /usr/libexec/ld.so: Undefined symbol "_mysql_init" called from
> > httpd:/usr/local/paket/apache/libexec/libphp4.so at 0x403cd1e0
> >
> > PHP is compiled as a DSO.
> >
> > Grateful for ideas on what can be the error so that I can start searching
> > and fixing the problem.
> >
> > --
> > Mikael Schmidt - mikael.schmidt@ldc.lu.se
> > tfn: +46(0)46 - 222 47 35
> > mob: +46(0)707 - 46 60 56
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> Kevin McGuinness
> Software Developer
> iTouch Ireland
> 3050 Lake Drive
> City West Digital Park
> Co.Dublin
--
Mikael Schmidt - mikael.schmidt@ldc.lu.se
tfn: +46(0)46 - 222 47 35
mob: +46(0)707 - 46 60 56