473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Trying to install mysqli extension for PHP

the instructions read as follows:
To install the mysqli extension for PHP, use the
--with-mysqli=mysql_config_path/mysql_config configuration option where
mysql_config_path represents the location of the mysql_config program
that comes with MySQL versions greater than 4.1.

I do not have any idea what this means. Can someone help.

TIA
Jul 17 '05 #1
2 3315
On Wed, 15 Jun 2005 01:40:16 GMT, stevek <so*****@somewhere.org> wrote:
the instructions read as follows:
To install the mysqli extension for PHP, use the
--with-mysqli=mysql_config_path/mysql_config configuration option where
mysql_config_path represents the location of the mysql_config program
that comes with MySQL versions greater than 4.1.

I do not have any idea what this means. Can someone help.


On my server:

andyh@server:~$ which mysql_config
/usr/bin/mysql_config

So, I'd use --with-mysqli=/usr/bin/mysql_config

In fact, I just used --with-mysqli, since mysql_config is in a "standard"
location that the configure script found automatically.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2
Thanks Andy, but it looks like your using unix/linux and I did not do
the courteous thing and state I am using NT4.0.

Andy Hassall wrote:
On Wed, 15 Jun 2005 01:40:16 GMT, stevek <so*****@somewhere.org> wrote:

the instructions read as follows:
To install the mysqli extension for PHP, use the
--with-mysqli=mysql_config_path/mysql_config configuration option where
mysql_config_path represents the location of the mysql_config program
that comes with MySQL versions greater than 4.1.

I do not have any idea what this means. Can someone help.

On my server:

andyh@server:~$ which mysql_config
/usr/bin/mysql_config

So, I'd use --with-mysqli=/usr/bin/mysql_config

In fact, I just used --with-mysqli, since mysql_config is in a "standard"
location that the configure script found automatically.

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pjotr Wedersteers | last post by:
I noticed both dlls in the package. I read MySQLi offers Improved MySQL support when using MySQL 4.1 or higher Can anyone tell me in layman's terms why and when I want to use this instead of...
0
by: yzzzzz | last post by:
Hi, I am compiling PHP 5.0.2 myself with MySQL support. I did a ./configure --with-mysqli=/usr/local/mysql/bin/mysql_config (see end of post for complete configure) Note: I also have...
6
by: Christopher Watson | last post by:
Have been running PHP 5.1.1 successfully for quite some time as CGI in IIS 5.1 on my Windows XP Pro SP2 laptop, with MySQL Server 5.0.18 and the mysqli extension. I wanted to see if I could get...
2
by: ojorus | last post by:
Hi! Some questions regarding the mysqli-extension (php5) 1) Prepared statements: If I understand things right, prepared statements will give better performance if you make several similar...
5
by: davids58 | last post by:
I installed the english.zip file from http://www.phpmyadmin.net/home_page/downloads.php. When I attempt to access phpMyAdmin I get an error page the routes me to...
12
by: davids58 | last post by:
trying to figure out how to use a mysql database with PHP. I ran the following code: <?php // defines database connection data define('DB_HOST', 'localhost'); define('DB_USER', 'ajaxuser');...
0
by: ojorus | last post by:
Hi; I am using the mysqli-extension on all my database queries. Everything worked just fine when I used MySQL 4, but when the database was upgraded to MySQL 5 (5.0.22), I got a strange error....
0
by: anonymous | last post by:
I had a tough time getting PHP to connect to MySQL using mysqli on XP. The following code from the php documentation on mysqli failed to work on xp. $mysqli = new mysqli( "localhost", "user",...
3
code green
by: code green | last post by:
I am still using the mysql extension rather than the mysqli. Moving to mysqli would be realively simple in my case because all mysql_ procedural calls are wrapped in a class MySqlDB(). As are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.