Posted by David Haynes on 02/17/06 05:01
Shelly wrote:
> So far, all my database programming in php has been with a mysql database.
> I need to connect to a SQL Server database. I looked in the manual and it
> seemed rather easy. It seemed that all I had to do was replace mysql with
> mssql everywhere I had coded before.
>
> So, naturally, on my first call which was to mssql_pconnect I received the
> following message:
>
> Fatal error: Call to undefined function mssql_pconnect()
>
> Now I must say that php was not previously installed on this server. I had
> the admin fellow install it (and this was his first time). Are the
> database routines some sort of additional installation that simply haven't
> been installed?
>
> Thanks for any help
>
> Shely
>
>
uncomment the php_mssql.dll in the extensions section of php.ini
(assuming you're using a windows box) or recompile using --with-mssql if
using Linux.
-david-
[Back to original message]
|