Page 3 of 3

Posted: Mon Jan 08, 2007 2:12 pm
by lorikay4
Your script now outputs:

Code: Select all

ini: C:\php\php.ini perm: -rw-
-- ini parameters --
extension_dir = c:\php\ext
; extension_dir directive above.
; Be sure to appropriately set the extension_dir directive.
extension=php_mysql.dll
-- parameter test --
c:/php/ext/php_mysql.dll perm: -rw-
c:/php/ext/php_tidy.dll perm: -rw-
-- PATH test --
path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\PROGRA~1\SecureFX;C:\mysql\bin;c:\php
C:/WINDOWS/system32/libmysql.dll perm: -no such file-
C:/WINDOWS/libmysql.dll perm: -no such file-
C:/WINDOWS/System32/Wbem/libmysql.dll perm: -no such file-
C:/Program Files/ATI Technologies/ATI Control Panel/libmysql.dll perm: -no such file-
C:/Program Files/IDM Computer Solutions/UltraEdit-32/libmysql.dll perm: -no such file-
C:/PROGRA~1/SecureFX/libmysql.dll perm: -no such file-
C:/mysql/bin/libmysql.dll perm: -rw-
c:/php/libmysql.dll perm: -rw-

Posted: Mon Jan 08, 2007 2:15 pm
by volka
and

Code: Select all

<?php
if ( function_exists('mysql_connect') ) {
	echo 'should be working now';
}
else {
	echo 'grrr';
}
?


edit:
C:/mysql/bin/libmysql.dll perm: -rw-
c:/php/libmysql.dll perm: -rw-
you can rename c:/php/libmysql.dll to c:/php/libmysql.dll.old
It's probably already using the file provided by your mysql server installation in C:/mysql/bin/libmysql.dll

Posted: Mon Jan 08, 2007 2:19 pm
by lorikay4
Volka, thank you so much. The mySQL block in the phpinfo() test returns:

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.27

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

And your script says 'should be working now'. So NOW I can start LEARNING how to use this darn thing. Again, many thanks for the patient assistance you all have given me.

Posted: Mon Jan 08, 2007 2:21 pm
by volka
excellent.