I have seen this addressed many places on the internet (and a few in this forum), but I haven't seen a solution that works.... (a couple of tutorials, but they dont work for me...maybe because they are older?)
I have a mac with 10.6, php 5.3.1 and I need the function mssql_connect to be recognized
i have tried to make a mssql.so but havent figured out how to make one that works or get a php_mssql.dll....At one point I made a php_mssql.lo, but nothing is working
I have installed freetbs and a unix connector and everything else that is suggested, but nothing seemss to work. When i put the library file in the php.ini file, and run a php program, I get:
$ php test2.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mssql.lo' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mssql.lo, 9): no suitable image found. Did find:
/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mssql.lo: unknown file type, first eight bytes: 0x23 0x20 0x70 0x68 0x70 0x5F 0x6D 0x73 in Unknown on line 0
I dont have a huge amount of knowledge, and dont always know what I am doing, so any help that is provided is so much appreciated!
I have a mac with 10.6, php 5.3.1 and I need the function mssql_connect to be recognized
i have tried to make a mssql.so but havent figured out how to make one that works or get a php_mssql.dll....At one point I made a php_mssql.lo, but nothing is working
I have installed freetbs and a unix connector and everything else that is suggested, but nothing seemss to work. When i put the library file in the php.ini file, and run a php program, I get:
$ php test2.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mssql.lo' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mssql.lo, 9): no suitable image found. Did find:
/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mssql.lo: unknown file type, first eight bytes: 0x23 0x20 0x70 0x68 0x70 0x5F 0x6D 0x73 in Unknown on line 0
I dont have a huge amount of knowledge, and dont always know what I am doing, so any help that is provided is so much appreciated!