Hi,
I'm trying to connect to MS Sql Server 7 with PHP4 in Linux RedHat 7.1, but I'm having problems...
I compiled php4 like this:
./configure --prefix=/usr/local/php --with-sybase=/usr/local/freetds --with-oci8=$ORACLE_HOME
No errors were found, I can connecto to Oracle, but I did this php script to connect to MS Sql Server:
<?php
$database = "mydatabase";
$user = "myuser";
$password = "mypassword";
$db_conn =
mssql_connect($database,$user,$passowrd) ;
echo ("ConnectID: $db_conn<br>\n");
mssql_select_db("Max401",$db_conn);
mssql_close($db_conn);
?>
And I'm getting this error...
Content-type: text/html
PHP Warning: Unable to load dynamic library './msql.so' - ./msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
X-Powered-By: PHP/4.2.1
Content-type: text/html
<br /><b>Fatal error</b>: Call to undefined function: mssql_connect() in <b>/var/www
/htdocs/mssql.php</b> on line <b>3</b><br />
Anyone can help me please!