Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-08 Thread Yu Di
Hi, I upgraded my gcc to 2.95.2, re-compiled Perl 5.6.0, Apache 1.3.12, and mod_perl 1.22. I put "PerlModule Apache::ASP" and "PerlModule Apache::DBI" in the httpd.conf. Then it worked. I guess the problem was some confliction between mod_perl and other Apache modules (I installed PHP 4RC1 and fas

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Yu Di
Hi, my modperl & apache are compiled by myself, Perl 5.005_03 was included in Redhat, Perl 5.6.0 was compiled by myself. I will try modperl 1.21 and apache 1.3.11, and see which one's new version is causing troubles. Di, Yu 4.7 On Fri, 7 Apr 2000, Joshua Chamas wrote: > I would recompile all of

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Joshua Chamas
I would recompile all of your perl from scratch, as well as modperl & apache. The RedHat guys are notorious for building perls and modperl that don't work sometimes. --Joshua Yu Di wrote: > > Hi, I also changed Perl to 5.005_03, and this problem still exists, so I > think it is the problem be

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Yu Di
Hi, I also changed Perl to 5.005_03, and this problem still exists, so I think it is the problem between Apache 1.3.12, mod_perl 1.22, and DBI or DBD::mysql. More likely, I think it is with DBI, because if I put "PerlModule Apache::DBI" in my httpd.conf, this error will also occur if I visit an AS

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Joshua Chamas
Sounds like an odd conflict between 5.6, mod_perl and DBI or DBD::mysql. Anyone know how to work through these issues? This is likely platform dependent, so will need relevant advice, what O/S are you running again? --Joshua Yu Di wrote: > > Hi, I have isolated the problem, but it just mad

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-06 Thread Yu Di
Hi, I have isolated the problem, but it just made me more puzzled. The problem is not in that file itself, but in "homepage.htm" which is also an ASP file, in which I tried to open a MySQL connection. When I call DBI->connect("DBI:mysql:database=...;host=...","myusername","mypasswd"), it will gene

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Joshua Chamas
Yu Di wrote: > > This program has been tested under Perl5.005_03, Apache 1.3.11, mod_perl > 1.21 on another machine. my.conf is a configuration file for this program. > > Lynx will report "Alert!: Unexpected network read error; connection > aborted." while I try to connect to it, and the server

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Yu Di
I added that before my "", no change. BTW, the Apache::Registry test program always worked correctly. Di, Yu 4.4 On Tue, 4 Apr 2000, Doug MacEachern wrote: > On Tue, 4 Apr 2000, Yu Di wrote: > > > Hi, I did compile it statically. But currently for my program, I always > > get such errors. > >

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: > Hi, I did compile it statically. But currently for my program, I always > get such errors. > > My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. > > The relevant part in my httpd.conf is: any difference if you pre-load: PerlModule Apache::Registry Apache

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Yu Di
Hi, I did compile it statically. But currently for my program, I always get such errors. My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. The relevant part in my httpd.conf is: SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI SetHandler perl-script

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-03 Thread Joshua Chamas
Yu Di wrote: > > Hi, after I reported the last error, I found that Apache::ASP was still > not working correctly, as when I try to access an ASP file, sometimes the > server will report > "[notice] child pid 561 exit signal Segmentation fault (11)" > and the file will not be able to be accessed.

Another Error in Apache::ASP and Perl 5.6.0

2000-04-02 Thread Yu Di
Hi, after I reported the last error, I found that Apache::ASP was still not working correctly, as when I try to access an ASP file, sometimes the server will report "[notice] child pid 561 exit signal Segmentation fault (11)" and the file will not be able to be accessed. Is this an error of Apac