Skip to Content.
Sympa Menu

freetds - [freetds] php undefined symbol: mssql_module_entry (cannot load phpwith --with-mssql=/usr/local/freetds)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "cgarcia AT intdatacollection.com" <cgarcia AT intdatacollection.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] php undefined symbol: mssql_module_entry (cannot load phpwith --with-mssql=/usr/local/freetds)
  • Date: Thu, 9 Nov 2006 12:39:38 -0500

Right !!

I ran php -m (without ./)
from /wwwroot/php. That's when the list did not include mssql.

If i run ./php -m
from wwwroot/php gives me the "./php: No such file or directory"

Running "which php "
gives me "/usr/local/bin/php" !!!

If it might help: in /usr/local/bin there are also this "php-config"
file I was unaware of; it contains the following:

**************************
#! /bin/sh

prefix="/usr/local"
exec_prefix="${prefix}"
version="5.1.6"
includedir="${prefix}/include/php"
includes="-I$includedir -I$includedir/main -I$includedir/TSRM
-I$includedir/Zend -I$includedir/ext"
ldflags=""
libs="-lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2
-lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz
-lm -lcrypt "
extension_dir='/usr/local/lib/php/extensions/no-debug-non-zts-20050922'
program_prefix=""
program_suffix=""
exe_extension=""
php_binary="${exec_prefix}/bin/${program_prefix}php${program_suffix}${exe_ex
tension}"

case "$1" in
--prefix)
echo $prefix;;
--includes)
echo $includes;;
--ldflags)
echo $ldflags;;
--libs)
echo $libs;;
--extension-dir)
echo $extension_dir;;
--include-dir)
echo $includedir;;
--php-binary)
echo $php_binary;;
--version)
echo $version;;
*)
echo "Usage: $0
[--prefix|--includes|--ldflags|--libs|--extension-dir|--include-dir|--php-bi
nary|--version]"
exit 1;;
esac

exit 0

******************************


So, you think I should build PHP to /usr/local/bin instead of
/wwwroot/php? should i download php again? should i remove the current
installation?, how?
Or should i adjust php.ini somewhere?


Thanks a lot for your help !!! :-)

Carlos GarcĂ­a

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .





  • [freetds] php undefined symbol: mssql_module_entry (cannot load phpwith --with-mssql=/usr/local/freetds), cgarcia AT intdatacollection.com, 11/09/2006

Archive powered by MHonArc 2.6.24.

Top of Page