x64architecture / wnmp

An easy Nginx, MariaDB and PHP environment for Windows.
https://wnmp.x64architecture.com
GNU General Public License v3.0
508 stars 110 forks source link

easy way to change multiple PHP version please #135

Open syarfandi opened 1 year ago

syarfandi commented 1 year ago

easy way to change multiple PHP version please

longware commented 11 months ago

private static string[] GetPHPVersions() { if (Directory.Exists($"{Program.StartupPath}\\php-bins") == false) return Array.Empty<string>(); return Directory.GetDirectories(Program.StartupPath + "\\php-bins").Select(d => new DirectoryInfo(d).Name).ToArray(); }

put your other full version PHP dir into 'php-bins' dir