01-06-2009
are you running mysqli ? if not don't compile php with it.
10 More Discussions You Might Find Interesting
1. Solaris
I'm trying to build 64 bit mysql-5.0.37 on Solaris 10.
CFLAGS="-O3" CXX='gcc -m64 -mcpu=v9' CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure -disable-shared --prefix=/usr/local/mysql --datadir=/home1/mysql_data --with-mysqld-user=mysql
... (0 Replies)
Discussion started by: csross
0 Replies
2. AIX
I recently compile some code in 32 bit mode on a AIX 5.3 server that has its kernal set to 64 bit mode. The compile was successful and the code works great. That being the case I use the model of the successful makefile on some other code but ended up getting errors that looked like this......
... (2 Replies)
Discussion started by: morrisey
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I am using mysql at sun solaris unix(Hp) server. I logged into mysql server with root as user. its logged in properly. Then i used 'show databases' mysql command. its display all the available databases.
for example
mysql > show databases;
It displayed as follows.
exampledb1... (1 Reply)
Discussion started by: dbsurf
1 Replies
4. Solaris
I'm trying to compile tacacs+-F4.0.4.18 on Solaris 10 (sparc based server). It fails during the "./configure" phase with the following error:
checking whether to use libwrap... yes
configure: error: Could not find libwrap. You must first install tcp_wrappers.
I do a have tcpwrappers... (4 Replies)
Discussion started by: pingmeback
4 Replies
5. Solaris
I'm trying to install PHP 5.3 on Solaris 10 .
I'm using etc/apache2
and installed mysql 5.1.39.
When I tried to compile PHP 5.3, with the following configure text,
./configure --with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib-dir=/usr/local \... (21 Replies)
Discussion started by: ppa108
21 Replies
6. Solaris
how dow you complie perl module DBI with mysql from /usr/local/mysql/bin
keeps going to mysql client for /usr/sfw/bin
is it the LD_PATH ???...:confused:
error is
# perl login.cgi
DBI connect('customers;mysql_socket=/tmp/mysql.sock:localhost','root',...) failed: Client does not... (1 Reply)
Discussion started by: photon
1 Replies
7. Solaris
I have curl compiled into /usr/local. I needed to install another version into /usr/local/curl-7.19.5 and compile php using that directory. I believe I had done that but an ldd run against php shows it is using /usr/local/lib. I have my configure script below showing how it was built and php -i... (1 Reply)
Discussion started by: csgonan
1 Replies
8. Solaris
Hello,
I'm trying to compile PHP 5.3.6 with Apache2 and MySql 5.5.12. I hit a problem that I can't seem to resolve by myself and I could not find a solution on the web.
It looks like Apache and MySql installed ok, I can start/stop them with no problem.
When I try to compile PHP the... (4 Replies)
Discussion started by: pn8830
4 Replies
9. Red Hat
I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before.
How can I install php together with mysql.
# rpm -qa | grep mysql*
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.77-4.el5_4.2
mysql-server-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
##... (5 Replies)
Discussion started by: getrue
5 Replies
10. Solaris
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies
MYSQLI(3) 1 MYSQLI(3)
The mysqli class
INTRODUCTION
Represents a connection between PHP and a MySQL database.
CLASS SYNOPSIS
mysqli
mysqli
Properties
o
int$mysqli->affected_rows
o
string$mysqli->client_info
o
int$mysqli->client_version
o
int$mysqli->connect_errno
o
string$mysqli->connect_error
o
int$mysqli->errno
o
array$mysqli->error_list
o
string$mysqli->error
o
int$mysqli->field_count
o
int$mysqli->client_version
o
string$mysqli->host_info
o
string$mysqli->protocol_version
o
string$mysqli->server_info
o
int$mysqli->server_version
o
string$mysqli->info
o
mixed$mysqli->insert_id
o
string$mysqli->sqlstate
o
int$mysqli->thread_id
o
int$mysqli->warning_count
Methods
o
mysqli::__construct ([string $host = ini_get("mysqli.default_host")], [string $username = ini_get("mysqli.default_user")], [string
$passwd = ini_get("mysqli.default_pw")], [string $dbname = ""], [int $port = ini_get("mysqli.default_port")], [string $socket =
ini_get("mysqli.default_socket")])
o
bool mysqli::autocommit (bool $mode)
o
bool mysqli::change_user (string $user, string $password, string $database)
o
string mysqli::character_set_name (void )
o
bool mysqli::close (void )
o
bool mysqli::commit ([int $flags], [string $name])
o
bool mysqli::debug (string $message)
o
bool mysqli::dump_debug_info (void )
o
object mysqli::get_charset (void )
o
string mysqli::get_client_info (void )
o
bool mysqli::get_connection_stats (void )
o
mysqli_warning mysqli::get_warnings (void )
o
mysqli mysqli::init (void )
o
bool mysqli::kill (int $processid)
o
bool mysqli::more_results (void )
o
bool mysqli::multi_query (string $query)
o
bool mysqli::next_result (void )
o
bool mysqli::options (int $option, mixed $value)
o
bool mysqli::ping (void )
o publicstatic int mysqli::poll (array &$read, array &$error, array &$reject, int $sec, [int $usec])
o
mysqli_stmt mysqli::prepare (string $query)
o
mixed mysqli::query (string $query, [int $resultmode = MYSQLI_STORE_RESULT])
o
bool mysqli::real_connect ([string $host], [string $username], [string $passwd], [string $dbname], [int $port], [string $socket],
[int $flags])
o
string mysqli::escape_string (string $escapestr)
o
bool mysqli::real_query (string $query)
o public mysqli_result mysqli::reap_async_query (void )
o public bool mysqli::refresh (int $options)
o
bool mysqli::rollback ([int $flags], [string $name])
o
int mysqli::rpl_query_type (string $query)
o
bool mysqli::select_db (string $dbname)
o
bool mysqli::send_query (string $query)
o
bool mysqli::set_charset (string $charset)
o
bool mysqli::set_local_infile_handler (mysqli $link, callable $read_func)
o
bool mysqli::ssl_set (string $key, string $cert, string $ca, string $capath, string $cipher)
o
string mysqli::stat (void )
o
mysqli_stmt mysqli::stmt_init (void )
o
mysqli_result mysqli::store_result ([int $option])
o
mysqli_result mysqli::use_result (void )
PHP Documentation Group MYSQLI(3)