[PHPLIB] Installation Questions on WinNT From: Rob Tolman (rtolman <email protected>)
Date: 03/30/00

Hi List,

I'm having troubles with this installation of PHPLib on a NT Box running Apache, MySQL and PHP already. What bothers me is I
shouldn't because the installation is fairly straight forward. I've been trying to figure out what went wrong, and everything I've
read in archives doesn't seem to help. Below is some of my setup files.
I have phpMyAdmin running fine still, if this gives any clues.
And I have another application that has database access and it shows as a session in the active_sessions table, well something is
adding records to active_sessions anyways.

What I can't run is the phpLib test files like index.php3 and showoff.php3, I get errors like this
index.php3 gives me this
Fatal error: Call to unsupported or undefined function mysql_pconnect() in db_mysql.inc on line 73
showoff.php3 gives me this
Warning: Access denied for user: 'webuser <email protected>' (Using password: YES) in db_mysql.inc on line 73
Database error: pconnect(localhost, webuser, $Password) failed.
MySQL Error: ()
Session halted.

Any help will be greatly appriciated Thanks
Rob

================

phpinfo() has this
Extensions and MySQL is one of them Client API version 3.22.9-beta
================

Changes I've made in local.inc
  /* public: connection parameters */
  var $Host = "localhost";
  var $Database = "phplib";
  var $User = "webuser";
  var $Password = "";
================

Changes I've made in php.ini
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
magic_quotes_gpc = On
magic_quotes_runtime= Off
magic_quotes_sybase = Off
track_vars = On
auto_prepend_file = "d:\www\phplib\php\prepend.php3"
auto_append_file =

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path = ".;.\include;\www\phplib\php\"
doc_root =
user_dir =
extension_dir = ./ ; directory in which the loadable extensions (modules) reside

;Windows Extensions
extension=php3_mysql.dll
extension=php3_calendar.dll
extension=php3_gd.dll
extension=php3_imap4r1.dll
extension=php3_crypt.dll

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.