Skip to Content.
Sympa Menu

freetds - Re: [freetds] problem with FreeTDS compiling with PHP 5

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Aaron (Rusty) Lloyd" <rusty AT rustmon.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] problem with FreeTDS compiling with PHP 5
  • Date: Thu, 20 Oct 2005 14:53:14 -0500

I got it to work!

I downloaded version 2.055 of Apache (the machine I was using had version
2.052), and had no problems. I have some SSL issues, but I suspect delving
into
the docs will solve those.

Thank you all very much for your help!

Cheers,

Rusty

Quoting "Owen, Robert" <robert.owen AT nortonrose.com>:

> Rusty,
>
> Are you restarting with kill -HUP?
>
> If so this just causes a re-read of the httpd.conf file - not an actual
> restart.
>
> And it may just be that on the clean start it is initially running as
> root but when it reads the config before it switches to 'nobody'. On
> the restart it is already running as nobody and has insufficient
> permissions.
>
> Just a theory.
>
> Rob.
>
> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Aaron (Rusty)
> Lloyd
> Sent: 17 October 2005 15:42
> To: freetds AT lists.ibiblio.org
> Subject: [freetds] problem with FreeTDS compiling with PHP 5
>
>
> Hello!
>
> I am hoping folks can help me here.
>
> I'm using a Linux server, running this RedHat variant:
>
> Linux myhost 2.6.9-5.0.5.ELsmp #1 SMP Fri Apr 8 14:29:47
> EDT 2005 i686 i686 i386 GNU/Linux
>
> Also running:
>
> PHP 5.05, compiled with the apache2 weberver
> freeTDS distribution 0.63
>
> now, here is the thing:
>
> PHP 5 seems to make fine with both of these configurations:
>
> ./configure --with-apxs2=/usr/sbin/apxs
>
> and
>
> ./configure --with-apxs2=/usr/sbin/apxs --with-mssql=/usr/local/freetds
>
> The weird thing is that when I restart apache using the first PHP
> configuration,
> it starts fine.
>
> When I run the second configuration, I get this error:
>
> [root@myhost]# /etc/init.d/httpd restart
> Stopping httpd: [ OK ]
> Starting httpd: Syntax error on line 1026 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/libphp5.so into server: libsybdb.so.5:
> failed
> to map segment from shared object: Permission denied
>
> the libsybdb.so.5 is found here:/usr/local/freetds/lib
>
> My PATH and my LD_LIBRARY_PATH have this directory included as well as
> /usr/local/freetds/bin.
>
> Anyone know what I could be doing wrong here?
>
> Thanks for any help!
>
> Please send responses to rusty AT rustmon.org, as I do not read this group
> regularly.
>
> Thanks again!
>
> Rusty
>
>
> --
> * Aaron (Rusty) Lloyd * rusty at rustmon dot org
> * Chivalry, Honor, Courtesy * Vices to live by.
> * http://www.rustmon.org * http://www.wearyellow.com
> * Mind, Body, Soul. Relationship, Career, Life. Turn it up a notch!
> "Tiki's running like someone's chasing him!"
> "Uh - they are."
> - Stuart Scott to Kenny Mayne, ESPN:SportsCenter, 10/11/04
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ________________________________________________________
> CONFIDENTIALITY NOTICE
>
> The contents of this e-mail are confidential to the ordinary user of
> the e-mail address to which it was addressed and may also be
> privileged. If you are not the addressee of this e-mail you may not
> copy, forward, disclose or otherwise use it or any part of it in any
> form whatsoever. If you have received this e-mail in error please
> e-mail the sender by replying to this message.
>
> A list of the partners of Norton Rose, Solicitors, can be inspected at
> www.nortonrose.com
>
> Please refer to www.nortonrose.com/regulation for the firm's regulatory
> position.
>
> Regulated by the Law Society.
> ________________________________________________________
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>


--
* Aaron (Rusty) Lloyd * rusty at rustmon dot org
* Chivalry, Honor, Courtesy * Vices to live by.
* http://www.rustmon.org * http://www.wearyellow.com
* Mind, Body, Soul. Relationship, Career, Life. Turn it up a notch!
"Tiki's running like someone's chasing him!"
"Uh - they are."
- Stuart Scott to Kenny Mayne, ESPN:SportsCenter, 10/11/04




Archive powered by MHonArc 2.6.24.

Top of Page