[unixODBC-support] help :

YooSang kwak kaokys at gmail.com
Wed Jul 18 06:46:49 BST 2007


After install php+unixODBC+apache,
I got the run time error like this :

*Fatal error*: Call to undefined function odbc_connect()

my host is HP-UX  B.11.11 9000/800
php version : 5.2.0
unixODBC version : 2.2.12

my configure option to build php+unixODBC
./configure \
--prefix=/CASWEB/php \
--with-apxs2=/CASWEB/apache/bin/apxs \
--with-oci8=/CASWEB/oracle \
--with-oracle=/CASWEB/oracle \
--enable-libgcc \
--enable-ftp \
--enable-calendar \
--enable-track-vars \
--enable-trans-sid \
--enable-sigchild \
--libexecdir=/CASWEB/apache/libexec \
--with-config-file-path=/CASWEB/php \
  --with-libxml-dir \
  --with-unixODBC=shared,/CASWEB/unixODBC \
  --without-pear \
  --without-mysql \
        --with-language=korean \
        --with-charset=euc_kr \
        --with-gettext \
        --with-zlib \
  --without-sqlite \
  --with-libxml-dir \
  --enable-dom \
  --enable-soap \
  --enable-iconv \
  --enable-sockets \
  --enable-bcmath \
  --enable-sysvsem \
  --enable-sysvshm \
  --enable-sysvmsg \
  --enable-freetype \
  --enable-expat \
  --enable-mm

after install, change the php.ini like this
extension_dir = "/CASWEB/php/lib/php/extensions/no-debug-non-zts-20060613/"
extension=odbc.sl

I think I did all the manual (
http://www.easysoft.com/developer/languages/php/apache_odbc.html ) said.

what's problem?

-- 
YooSang,Kwak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20070718/c6c501ed/attachment.html>


More information about the unixODBC-support mailing list