Page Index Toggle Pages: 1 Print
shebang (Path to Perl) on Windows. (Read 3820 times)
Captain John
Ex Member


shebang (Path to Perl) on Windows.
Jan 31st, 2009 at 5:10pm
Print Post  
For Apache on Windows:

Before uploading YaBB software to any Apache server .... be sure you have edited YaBB.pl, AdminIndex.pl, Setup.pl in the yabb2 folder, also Admin/ModuleChecker.pl and Sources/SpellChecker.pl for the proper Path to Perl

Generally, the default is correct on most Linux/*nix systems ( On a Linux host, the path is usually #!/usr/bin/perl), but Perl can be installed in different locations. For example on a Windows or WinNT host, your Perl path should probably be set to #!C:/Perl/Bin/Perl.exe. Check with your host or check your server for the proper path and change the file path accordingly in each of the files.

Code
Select All
#!/usr/bin/perl --	<-----  shebang

###############################################################################
# YaBB.pl											   #
###############################################################################
# YaBB: Yet another Bulletin Board							  #
# Open-Source Community Software for Webmasters					 #  



For Windows Server 2000/IIS 5 or Server 2003/ IIS 6. with Active States Perl.

It is not necessary to update the Shebang line as the Active States install has configured IIS to see Perl as an application in Application Pools - DefaultAppPool - PerlEx.

Updated by JonB - Jun 27 2009
« Last Edit: Jan 2nd, 2010 at 6:34pm by »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Print
 
  « Board Index ‹ Board  ^Top