Jump to content
The Uniform Server Community

UniServer 5.6.7-Nano


Ric
 Share

Recommended Posts

UniServer 5.6.7-Nano

 

This release of Uniform Server is a maintenance update.

 

MySQL updated to 5.1.48

Updated PHP info page

Updated server certificate and key generation - reduction in size

Corrected hungry replace in shebang update

Removed SSL duplication

 

Download 5.6.7-Nano

 

 

Wiki page support

Server key and certificate generation revisited.

 

 

Regards,

The Uniform Server Development Team :angry:

Link to comment
Share on other sites

Corrected hungry replace in shebang update :angry:

 

It’s a shame seems I corrected it in one place however it occurs in two places :angry:

 

The one I missed is in file:

UniServer\unicon\main\includes\functions.php

Edit file and locate this section:

	//=== Update shebang in all files in folder cgi-bin and sub-folders ===========
if (perl_installed()){					// Only update if Perl installed
  $start_dir   = US_CGI_BIN;			  // Main Perl folder
  $file_type   = '/(\.pl|\.cgi)/';	   // List of file types
  $search_str  = "/#!.*/";				// Old shebang
  $replace_str = "#!".US_BASE_F."/usr/bin/perl.exe"; // New shebang
  recursive_search_replace($start_dir,$file_type,$search_str,$replace_str);
 }

Change fifth line to:

$search_str  = "/^#!.*/";				// Old shebang

 

All the best

Ric :)

Link to comment
Share on other sites

 Share

×
×
  • Create New...