Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 23:35:34 -0800
From:      "Majid Almassari" <majid@ibroadcast.net>
To:        "sylaw" <sylaw@singnet.com.sg>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Help
Message-ID:  <010501bf574f$7ae4a160$1791ddd1@balfourplace.com>
References:  <3872EFB8.41C3A605@singnet.com.sg>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes you need to re-compile the Apache+PHP module using MySQL Libraries.
Your Makefile should include the following:
NC= -I/usr/local/include
LIBS= -L/usr/local/lib/mysql -lmysqlclient -lm
CFLAGS= -Wall -g
CC=gcc

Hopefully that helps.

Majid Almassari, MSEE, MCP.
System Administrator.
iBroadcast, Inc.
(206) 223-5540
http://www.ibroadcast.net
----- Original Message -----
From: sylaw <sylaw@singnet.com.sg>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, January 04, 2000 11:16 PM
Subject: Help


> HI,
>
> I am running on FreeBSD and installed Apache+php-1.3.9+3.0.13.tgz.
> However, when I write a PHP3 script to access MySQL server, my browser
> tell me undefined function mysql_connect(). Do I need to re-compile my
> Apache+php module to include in MySQL module ? I fso, can you briefly
> explain how can I do it ? Thank you.
>
> Regards,
> Sie Yong
>
>
>
>
>
> 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?010501bf574f$7ae4a160$1791ddd1>