Re: Obtaining mysql for php 4.1.2 on Linux
| From: | Cristian MARIN | Date: | Tue, 01 Jul 2003 17:04:00 +0000 |
| Subject: | Re: Obtaining mysql for php 4.1.2 on Linux | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28990@lists.php.net to get a copy of this message | ||
./configure --with-mysql
if you have the sources of php 4.1.2 please read the manual on how to build
him. It's very important to know what do you whant to do with php in order
to compile him. A configuration line that could help you and will build
modules is:
'./configure' 'i386-redhat-linux' '--prefix=/usr'
'--exec-prefix=/usr'
'--bindir=/usr/bin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec'
'--localstatedir=/var' '--mandir=/usr/share/man'
'--infodir=/usr/share/info'
'--enable-force-cgi-redirect' '--program-prefix=/usr'
'--disable-debug'
'--enable-pic' '--disable-rpath' '--with-curl=shared'
'--with-exec-dir=/usr/bin' '--enable-gd-native-ttf' '--with-ncurses'
'--with-layout=GNU' '--with-config-file-path=/etc' '--with-openssl'
'--with-dmalloc' '--with-dom=shared' '--with-bz2=shared'
'--enable-calendar=shared' '--with-dom-xslt'
'--enable-mbstring=shared'
'--with-dom-exslt' '--enable-ftp=shared' '--with-gd=shared,/usr'
'--with-gettext=shared' '--with-imap=shared' '--with-imap-ssl=shared'
'--with-jpeg=shared' '--with-png=shared' '--with-tiff=shared'
'--with-pgsql=shared' '--enable-sysvsem=shared'
'--enable-sysvshm=shared'
'--enable-sockets' '--enable-tokenizer' '--with-zlib=shared'
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
'--enable-mbregex=shared' '--enable-safe-mode'
'--enable-bcmath=shared'
'--with-ttf' '--with-mod-charset' '--with-mysql=shared'
'--with-ldap=shared'
'--with-xml=shared' '--with-xslt=shared' '--with-pear=shared'
'--enable-mcrypt=shared' '--with-mhash=shared' '--with-kerberos'
'--enable-xslt=shared' '--enable-xslt-sablot=shared,/usr'
'--with-sablot-js=shared,/usr' '--enable-debugger'
'--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-memory-limit'
'--enable-versioning' '--enable-shmop' '--with-expat-dir=/usr'
'--enable-exif' '--with-xslt-sablot=/usr'
modify it as you want your php to do.
---------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel: +4021 312.53.12
Tel/Fax: +4021 312.51.91
cristic@interakt.ro
"Php" <brian@ideaslive.com> wrote in message
news:20030630161513.79915.qmail@pb1.pair.com...
> Hello,
>
> I'm trying to find the mysql.so module for php 4.1.2 on Linux. I don't
know
> which version to use or if mysql is already embedded in the php build.
> Another option - how do I build php with mysql enabled?
>
> Thanks,
>
> Brian
>
>