---------- Initial Header ----------- >From : "$Bill Luebkert" <[EMAIL PROTECTED]> To : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Cc : perl-win32-web <[EMAIL PROTECTED]> Date : Fri, 30 Apr 2004 06:59:56 -0700 Subject : Re: Help me please about Crypt::SSLeay
[EMAIL PROTECTED] wrote: > > You need to check the path to Perl used by IIS vs commandline. > Also try printing out @INC from IIS and the commandline and compare. > There may also be a permissions problem (I don't know IIS - I use Apache). Your response was stripped off because you failed to remove my .sig and put your response after the '-- ' causing it to be considered as part of the .sig. In the future, remove the prior .sig from the '-- ' on down. Manually pasting in your reply: > The path to Perl used by IIS and commandline are same: > commandline: > C:/Perl/lib > C:/Perl/site/lib > . > IIS: > C:/Perl/lib > C:/Perl/site/lib > . > I don't understand where is the mistake!!!??? That's not the path, that's the @INC. The path to the binary would look more like 'C:/Perl/bin/perl.exe'. What does IIS have the path as vs commandline ? Try dumping $ENV{PATH} in the script. Also try these two pieces of code to make sure of things (run under IIS and commandline) : # to find the path to Perl binary print "$^X\n"; # and to find the path to the script you are executing: use FindBin qw($RealScript $RealDir); print "$::RealDir/$::RealScript\n"; -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) Here the result: ---With IIS: print "$^X\n"; : C:\Perl\bin\perl.exe print "$::RealDir/$::RealScript\n";: D:/Site Web/mysite/cgi-bin/testINC.pl The @INC C:/Perl/lib C:/Perl/site/lib . The $ENV{PATH} C:\Perl\bin\;C:\Perl\bin;C:\Perl\lib;C:\Perl\site\lib;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Fichiers communs\Network Associates\VirusScan Engine\4.0.xx\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;c:\perl2exe ---With Command Line: print "$^X\n"; : C:\Perl\bin\perl.exe print "$::RealDir/$::RealScript\n";: D:/Site Web/mysite/cgi-bin/testINC.pl The @INC C:/Perl/lib C:/Perl/site/lib . The $ENV{PATH} C:\Perl\bin\;C:\Perl\bin;C:\Perl\lib;C:\Perl\site\lib;C:\WINNT\system32;C:\WINN ;C:\WINNT\System32\Wbem;C:\Program Files\Fichiers communs\Network Associates\Vi usScan Engine\4.0.xx\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;c:\pe l2exe I don't see, it same , I check the permissions...but noyhing... Guillaume Bonnet ******ADSL Tiscali, le Haut débit au meilleur prix ****** Avec Tiscali, profitez de l'ADSL au meilleur prix partout en France ! Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl Sous réserve d'éligibilité à l'ADSL. _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs