Hello everybody

Since several months I have a problem with apache, mod_perl and php. After some 
testing I think now that it is a mod_perl problem and I have no idea where to 
start to find a solution. So I would be glad to hear something from the 
mod_perl specialists. Here is my situation:

1.) I've installed apache with the following configuration (short description) 
under SuSE-Linux 6.2:
   ./configure  \
   "--prefix=/testwww" \
   "--enable-module=unique_id" \
   "--enable-module=rewrite" \
   "--enable-module=info" \
   "--enable-module=so" \
   "--enable-module=headers" \
   "--enable-module=expires" \
   "--activate-module=src/modules/perl/libperl.a" \
   "--activate-module=src/modules/php3/libphp3.a"
Everything went fine, no warnings, no errors, httpd runs fine.

2.) Same thing under solaris 2.6. Everything went fine, no warnings, no errors, 
httpd runs fine with normal .html-files.

3.) The following happens only under Solaris (on Linux everything runs fine) . 
First I recognized a problem with DBI-Scripts on the Solaris machine. They 
wrote an error-message in the log-file (just don't have it available) when 
calling $sth->execute. The execute was not succesfull but the my "die" 
afterwards was not executed. So the script stoped when trying to get the data 
out of $sth. First I thougt of an error in my script.

4.) Afterwards I saw under /perl-status that my private @INC part was not 
there. I've included two further subdirectorys into @INC via the startup.pl 
mechanism explained in various publications on perl.apache.org (FAQ for 
example). I was not able to put them into @INC.

5.) After compiling apache once again without PHP everything was also fine on 
the Solaris machine. The @INC-mechanism was working, my DBI-scripts worked 
again, ... .

So I'm at the end. I do not know where to start changing anything. Is there an 
error in my configuration or is there something wrong in mod_perl under 
Solaris. I would be very glad for help by the mod_perl specialists since I have 
to integrate a php-driven application in my webserver.


Andreas
____________________________________________________________________

Elektronikschule Tettnang   http://www.elektronikschule.de/~grupp
Oberhofer Str. 25           mailto:[EMAIL PROTECTED]
88069 Tettnang              PGP-Key available via mail. Use subject
Tel.: +49 7542 9372-33              Use subject: send pgp-public-key
Fax.: +49 7542 9372-40      Open Minds. Open Sources. Open Future

Privat: Quellenhalde 1, 88069 Tettnang, +49 7542 6462

Reply via email to