Skip to Content.
Sympa Menu

freetds - Re: problems getting apache to load after installing PHP/freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ryan Hatch" <ryan AT alpinenetworking.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: problems getting apache to load after installing PHP/freetds
  • Date: Wed, 5 Sep 2001 21:18:46 -0400


Put /usr/local/freetds/lib at the end of your /etc/ld.so.conf and then run
ldconfig . This will update your lib config and allow you to reference sybase
through php.

Ryan
-----Original Message-----
From: "Bruce" <brucenation AT hotmail.com>
Date: Wed, 5 Sep 2001 21:14:35 -0400
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Subject: [freetds] problems getting apache to load after installing
PHP/freetds

I get this error message when trying to start apache after loading freetds
and PHP:

Starting httpd: Syntax error on line 260 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: libsybdb.so.0:
cannot load shared object file No such file or directory

I compiled freetds with:

$ ./configure --prefix=/usr/local/freetds
$ gmake
$ su root
Password:
$ gmake install

and PHP with

$ ./configure --with-sybase=/usr/local/freetds --with-apxs
$ gmake
$ su root
Password:
$ gmake install

that all seemed to work fine:

FYI I'm running RedHat 7.0 with the 2.4.2-2 kernel

PHP version 4.0.6

Freetds 0.52


Thanks in advance for any help you can give me.

--Bruce

---
You are currently subscribed to freetds as: [Ryan AT alpinenetworking.com]
To unsubscribe, forward this message to $subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page