Re: Unthreaded Perl and Apache mod_perl

2006-01-06 Thread Linas Zvirblis
Does anyone have a good step by step how to source for recompiling a 
debian package?


Take a look at "apt-src" and "apt-build" packages.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Unthreaded Perl and Apache mod_perl

2006-01-06 Thread Steve Lilley

Steve Lilley wrote:

I am switching one of my servers over to unthreaded perl in order to 
use the IMA::DBI module which warns against using threaded perl.


I may be asking an obvious question, but would it be necessary to 
recompile the mod_perl debian package as well as the perl package?  
This would insure the removal of threaded perl, but is it necessary?


The server is running Sarge - stable.

Does anyone have a good step by step how to source for recompiling a 
debian package?



Steve


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: Unthreaded Perl and Apache mod_perl

2006-01-04 Thread David Christensen
Debian user:

I am running Debian GNU/Linux i386 31r0a "Stable" (Sarge) and am using it for
Linux/ Apache/ MySQL/ Perl development.  The following Apt packages are
installed:

kernel-image-2.4.27-2-686
apache-perl (Apache 1.3.33/mod_perl 1.29)
mysql-server (MySQL 4.0)
perl (5.8.4-8)
 
I have read that for Perl/CGI and mod_perl scripts, it is best to run
Perl/mod_perl non-threaded, for both performance and compatibility reasons (not
all packages are thread-safe?).


For testing, I sometimes run Perl/CGI scripts from the command line.  It looks
like my system Perl does have threading enabled:

$ /usr/bin/perl -V
...
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define

Is there a way to disable threading or to start Perl single-threaded?  perldoc
perlrun doesn't reveal any clues.


I do not know how to determine if the Perl inside apache-perl is compiled with
or without multi-threading.  Is there a way to determine this?  Is there any way
to control it?


TIA,

David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Unthreaded Perl and Apache mod_perl

2006-01-04 Thread Steve Lilley
I am switching one of my servers over to unthreaded perl in order to use 
the IMA::DBI module which warns against using threaded perl.


I may be asking an obvious question, but would it be necessary to 
recompile the mod_perl debian package as well as the perl package?  This 
would insure the removal of threaded perl, but is it necessary?


The server is running Sarge - stable.

--

Steve Lilley, CISSP
www.PrivaSign.com




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]