php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37930 Fatal error: Call to undefined function mssql_pconnect()
Submitted: 2006-06-27 14:49 UTC Modified: 2006-06-27 19:05 UTC
From: nusepas at gmail dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 5.1.4 OS: Fedora Core 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 37 = ?
Subscribe to this entry?

 
 [2006-06-27 14:49 UTC] nusepas at gmail dot com
Description:
------------
I have configured the last freetds package 
ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz

with ./configure -enable-msdblib

and the php 5.1.4 with --with-mssql

I restart the httpd service and load the page that contains a funcion to connect to a mssql database appears that message at the browser:
Fatal error: Call to undefined function mssql_pconnect() in /var/www/html/solid/funcions.php on line 11

and the logs says me:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mssql.so' - /usr/lib/php/modules/mssql.so: undefined symbol: empty_string in Unknown on line 0


before to configure the php and the freetds I moved of directory the old mssql.so file, so, that now I have 3, the php4.0, the php5.0 and the now I have compiled now.

Expected result:
----------------
in php4 worked, updating to php5 it don't worked anymore :(

Actual result:
--------------
not work

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-27 14:59 UTC] tony2001@php.net
>undefined symbol: empty_string in Unknown on line 0
This means that this module was from 5.0.x.
Not PHP problem.
 [2006-06-27 19:05 UTC] nusepas at gmail dot com
and about the compilation? all I generated is from sources
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC