Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache, Perl and SuSE 8.2

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  configuration problem  
Author Message
lesley_b_linux

External


Since: Oct 16, 2004
Posts: 7



(Msg. 1) Posted: Mon Oct 25, 2004 1:15 am
Post subject: Apache, Perl and SuSE 8.2
Archived from groups: alt>apache>configuration (more info?)

Hi

I have Apache 1.3.27 installed via SuSE 8.2.
When I installed it v 5.8.0 of Perl was also installed along with mod_perl
1.27 and a few other modules.

As this was done at install time via YaST2 no parameters were modified by me.

I have since installed Perl v5.8.5

While playing around with Apache configs I noticed that my Apache v1.3.27 uses
@INC which has in it 5.8.0 paths.

I then checked under rpm and that returned 5.8.0 as the Perl version
installed. I took it out under rpm (forced -e option) but couldn't get past
LoadModule /usr/lib/apache/libperl.so in /etc/httpd/suse_loadmodule.conf when
i tried to restart Apache. Despite the fact that /usr/lib/apache/libperl.so
was there.

So I tried to re-install Apache from YaST2 in the hope that it might recognise
that Perl v5.8.5 was on the system, but this install was pre-requisite on Perl
v5.8.0.

The question is : how do I control what version of Perl my Apache web server
is using?

Regards

Lesley


/usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.4.20-4gb, archname=i686-linux
uname='linux linux 2.4.20-4gb #1 mon jun 28 16:21:04 utc 2004 i686 unknown unknown gnulinux '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3 20030226 (prerelease) (SuSE Linux)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Aug 4 2004 17:06:17
@INC:
/usr/local/lib/perl5/5.8.5/i686-linux
/usr/local/lib/perl5/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/i686-linux
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl

 >> Stay informed about: Apache, Perl and SuSE 8.2 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Oct 25, 2004 7:44 am
Post subject: Re: Apache, Perl and SuSE 8.2 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-10-24, lesley_b_linux.TakeThisOut@yahoo.co.yuk <lesley_b_linux.TakeThisOut@yahoo.co.yuk> wrote:
 > The question is : how do I control what version of Perl my Apache
 > web server is using?

I think it's defined at compile time in mod_perl itself. So you
need to recompile mod_perl with the new version of perl.

Davide

--
Wow, the great ZDNET actually corrected a mistake! Of course, if they did
that to all of Jesse Berst's columns, they'd lose 2/3 of their content...

-- From a Slashdot.org post<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache, Perl and SuSE 8.2 
Back to top
Login to vote
lesley_b_linux

External


Since: Oct 16, 2004
Posts: 7



(Msg. 3) Posted: Mon Oct 25, 2004 10:24 am
Post subject: Re: Apache, Perl and SuSE 8.2 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi <davideyeahsure.TakeThisOut@onlyforfun.net> writes:

 > On 2004-10-24, lesley_b_linux.TakeThisOut@yahoo.co.yuk <lesley_b_linux.TakeThisOut@yahoo.co.yuk> wrote:
  > > The question is : how do I control what version of Perl my Apache
  > > web server is using?
 >
 > I think it's defined at compile time in mod_perl itself. So you
 > need to recompile mod_perl with the new version of perl.
 >
Thank you Davide.

Just to confirm then, mod_perl on Apache v 1.3.27 would be expecting perl
v5.8.0. But CGI scripts written in perl would use v5.8.5 if the first line of
the script is #!/usr/bin/perl -wT and

/usr/bin/perl -v

This is perl, v5.8.5 built for i686-linux
<other output snipped>
?

And how do I build libperl.so ?

TIA

Regards

Lesley.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache, Perl and SuSE 8.2 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Mon Oct 25, 2004 10:24 am
Post subject: Re: Apache, Perl and SuSE 8.2 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-10-25, lesley_b_linux DeleteThis @yahoo.co.yuk <lesley_b_linux DeleteThis @yahoo.co.yuk> wrote:
 > And how do I build libperl.so ?

Download the source code and recompile it.
Davide

--
We are using Linux daily to UP our productivity -- so UP yours, Microsoft!<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache, Perl and SuSE 8.2 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SuSE 9.0, Apache 2.0.47, Tomcat 4.1.27, JK2 - Dear Experts, under SuSE 9.0 (Kernel 2.4) I have installed an Apache 2.0.47 and Tomcat 4.1.27. The Apache is listening on Port 80 and Tomcat on Port 8080, both installed with YaST - so far: no big deal. The last two days I searched through the Internet,...

Apache 1.3.23 (Suse Linux8.0): CGI - Hi, I am very new to Apache. I successfully installed Apache and localhost is displaying the default page. However my primitive Perl CG Script (Hello World) copied into /usr/local/httpd/cgi--bin/ invoked Internal Error due to missconfiguration. What ist...

Apache 2.0.49 / SuSe 9.1 / SSL certificate not loaded - Hi, I have set up Apache 2.0.49 on SuSe 9.1. A friend of mine configured mod_SSL since I'm not really familiar with it. It worked fine that evening, on both 80 and 443. Today it doesn't. The only thing that changed since then was probably the reboot....

why do I need "AddModule mod_php4.c" ? Apache 2.0.44, PHP .. - Hi ! After few problems, we got Apache running with PHP-4. Our server provides "simple" PHP pages. Last improvement was to add LoadModule php4_module modules/libphp4.so in /etc/apache2/httpd.conf I see in some messages to add there also a ...

setting up Apache Server - using SUSE 9.0 Professional - Here is my goal. I wish to host a couple of websites on my server. I'm using SUSE Linux 9.0 Professional which has Apache2 How do I go about setting up my two websites I wish to host from my server. I need a step by step guide through this. The..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]