Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 09:13:31 -0600
From:      Tony.Tocco@fluor.com
To:        freebsd-questions@freebsd.org, php3@lists.php.net
Subject:   Apache/PHP/Openlink ODBC
Message-ID:  <85256889.00539900.00@fdlnata10.fdnet.com>

next in thread | raw e-mail | index | archive | help



I have downloaded the precompiled binaries for FreeBSD3 for the combined
iODBC SDK and installed them.  The test program works and with the help of
ahill@openlinksw.com I was able to get apache1.3.11 and php compiled with odbc
unified support.
(the suggestion was to add -lc_r to the linking because the odbc libraries
complained in the apache
log that pthread_mutex_lock was an Undefined Stub whenever an odbc function was
called.)

Here's the problem I'm having.

Whenever a php page with odbc functions is called, the apache process that is
created does not exit
and begins eating up all available cpu cycles.  One process eventually wants to
control the entire machine.
Multiple processes being created equally share available cpu time.  The only way
 this will stop is to SIGKILL
those processes.  I'm getting the feeling this is some sort of thread confusion
and although the lc_r allowed
compilation and execution it probably wasn't exactly what was required.

I'm at a dead end.  Any ideas?

FreeBSD 3.4 stable
PHP 3.0.14
The OpenLink iODBC binary SDK available at
ftp://www.openlinksw.com/open32/f3kozzzz.taz

If anyone has this combination working or has an alternative or any thoughts at
all please let me know;
after two weeks of struggling with this I've somewhat compiled myself into a
corner.

Please cc my email in replies.

TTocco
Fluor Corp.
tony.tocco@fluor.com

                                                                
 -------------------------------------------------------------- 
 The information transmitted is intended only for the person or 
 entity to which it is addressed and may contain confidential   
 and/or privileged material. If you are not the intended        
 recipient of this message you are hereby notified that any     
 use, review, retransmission, dissemination, distribution,      
 reproduction or any action taken in reliance upon this message 
 is prohibited. If you received this in error, please contact   
 the sender and delete the material from any computer.  Any     
 views expressed in this message are those of the individual    
 sender and may not necessarily reflect the views of the        
 company.                                                       
 -------------------------------------------------------------- 
                                                                







To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85256889.00539900.00>