Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-17-2005, 03:57 AM   #1
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Rep: Reputation: 15
configure php5 and mysql issue

hello everybody!

I wanna install php5 with mysql support by the option --with-mysql[-dir=]

./configure --prefix=/home/php5 \
--with-apxs2=/home/apache2/bin/apxs \
--with-zlib-dir=/usr/lib \
--enable-trace-vars \
--enable-mbregex \
--enable-calendar \
--with-libxml-dir=/usr/include/libxml2/libxml \
--with-curl=/usr/include/curl \
--with-iconv=/usr/local/libiconv \

but ...
I don't want to install mysql really,

so, whether or not have a method that let php5 with mysql support and without install mysql

thx for any reply very much.
Old 08-17-2005, 03:34 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
It needs a number of MySQL files to compile the support, so it doesn't work this way, I'm afraid.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php5 ./configure error: Cannot find MySQL header files ldp Linux - Software 28 08-26-2011 12:25 PM
php5 and mysql eric_f Slackware 2 10-05-2006 08:19 AM
php5 configure with different php.ini file dtra Linux - Software 2 01-19-2005 08:04 PM
MySQL - PHP5 - phpMyAdmin 2.6.0 Fuel Linux - Software 2 07-25-2004 01:39 PM
./configure php5 error - log included Transition Linux - Newbie 4 07-16-2004 08:11 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration