[Tfug] Somewhat OT: php4 and odbc

Judd Pickell pickell at gmail.com
Fri Jan 5 11:42:02 MST 2007


Just to make sure the php4-odbc is installed, do you call
dl('php4_odbc.so'); to load the extension if it exists?

Also, did you remember to restart the apache server to ensure that the
apache->php4 is aware of the module?

Just some thoughts.

On 1/5/07, Christopher Robbins <robbinsc at gmail.com> wrote:
>
> It's a bit off-topic and a bit not...I'm trying to write a few php scripts
> that need to connect to an odbc database.  I'm running a Debian (Sarge)
> box
> with php4 and I've installed php4-odbc as well as all relevant updates for
> php, but nothing seems to work.  I'm still getting the
>
> Fatal error:  Call to undefined function:  odbc_connect() in
> /var/www/testing/test_swipe.php on line 6
>
> when I run the script.  Any ideas?
>
> TIA
>
> -Chris
>
> --
> Chris Robbins
> Systems Programmer
> Department of English - University of Arizona
> http://www.homerengineeringcorp.net
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>



More information about the tfug mailing list