[freetds] problem with FreeTDS compiling with PHP 5

Lowden, James K LowdenJK at bernstein.com
Mon Oct 17 11:51:28 EDT 2005


> From: Owen, Robert
> Sent: Monday, October 17, 2005 11:41 AM
> 
> On my old slackware box the apachectl script appears to kill -HUP
> on restart.
> 
> Have a look in /lib.   Is everything world executable?   I don't
> have TDS+Linux+php to hand at the moment to compare.  Anyone out
> there able to help?

"make install" from distributed source should normally yield world
execute rights for shared objects:

$ ls -l /usr/local/lib |awk '{print $1}' |sort |uniq -c
  10 -rw-r--r--
  71 -rwxr-xr-x
   1 drwxr-xr-x
  75 lrwxr-xr-x
   1 total

$ ls -l /usr/local/lib |grep '\-rw-r--r--'
-rw-r--r--  1 jklowden  wheel  1516276 Oct 11 11:15 libct.a
-rw-r--r--  1 jklowden  wheel   216138 Oct  2  2003 libfribidi.a
-rw-r--r--  1 jklowden  wheel  5494188 Mar 28  2003 libmlview.a
-rw-r--r--  1 jklowden  wheel  2678938 Apr  4  2005 libodbcpsql.a
-rw-r--r--  1 jklowden  wheel  4880102 Apr  4  2005 libodbctxt.a
-rw-r--r--  1 jklowden  wheel  1618128 Oct 11 11:15 libsybdb.a
-rw-r--r--  1 jklowden  wheel  1191364 Oct 11 11:15 libtds.a
-rw-r--r--  1 jklowden  wheel  1785696 Oct 11 11:15 libtdsodbc.a
-rw-r--r--  1 jklowden  wheel  1306050 Oct 11 11:15 libtdssrv.a
-rw-r--r--  1 jklowden  wheel   374886 Jan 15  2004 libtidy.a

HTH.

--jkl

> 
> -----Original Message-----
> From: Aaron (Rusty) Lloyd
> Sent: 17 October 2005 16:09
> 
> I am not restarting with kill -HUP, I am just running the restart
> script.
> 
> In the script, it does have the user 'apache' and group 'apache'.
> I wondered the same thing you did, and tried changing it to root
> (which bombed, unless I wanted to comment out things that would
> open apache up like swiss cheese) or the user that I am running
> everything else as, which failed too.

-----------------------------------------
The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, any review, dissemination,
distribution or duplication of this communication is strictly prohibited. If you are
not the intended recipient, please contact the sender immediately by reply e-mail
and destroy all copies of the original message. Please note that we do not accept
account orders and/or instructions by e-mail, and therefore will not be responsible
for carrying out such orders and/or instructions.  If you, as the intended recipient
of this message, the purpose of which is to inform and update our clients, prospects
and consultants of developments relating to our services and products, would not
like to receive further e-mail correspondence from the sender, please "reply" to the
sender indicating your wishes.  In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.



More information about the FreeTDS mailing list