MySQL Forums
Forum List  »  Stored Procedures

Re: Calling stored procedure from PHP
Posted by: Preston McMurry
Date: March 22, 2005 08:12AM

Or, running PHP/MySQL/Apache on a Windows-flavored box, rather than compiling, I would need to uncomment the mysqli extension in PHP.ini, correct? (Then restart Apache.)

I see a number of similar extensions in PHP.ini:

;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll

As well as a dozen of MySQLi mentions. (They don't actually say "X"):

[MySQLI]

; Maximum number of links. -1 means no limit.
mysqli.max_links = X

; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysqli.default_port = X

; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysqli.default_socket = X

; Default host for mysql_connect() (doesn't apply in safe mode).
mysqli.default_host = X

; Default user for mysql_connect() (doesn't apply in safe mode).
mysqli.default_user = X

; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
mysqli.default_password = X

; Allow or prevent reconnect
mysqli.reconnect = X

So, would I need specifically find the package that contains MySQLi, or I am sufficiently set up as is?

p.s. - I bookmarked your site ... :-)

http://prestonm.com ... http://www.mcmurry.com

Options: ReplyQuote


Subject
Views
Written By
Posted
59427
March 18, 2005 05:58PM
8440
November 26, 2008 05:09AM
Re: Calling stored procedure from PHP
8398
March 22, 2005 08:12AM
22269
April 25, 2005 01:10PM
3973
October 22, 2006 10:03PM
4062
November 03, 2006 02:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.