Note: PHP for Windows comes in two flavors, Non Thread Safe (NTS) and Thread Save (TS). If you are using PHP as a FastCGI or CGI executable you need to use the NTS flavor. This is the only flavor you should be using for IIS and NginX. It’s also the preferred way to set up PHP on Apache. Reference
php_pdo_sqlsrv_74_nts_x64.dll php_sqlsrv_74_nts_x64.dll
extension_dir = "ext"
extension=openssl
extension=fileinfo
; Microsoft SQL for Laravel extension=php_pdo_sqlsrv_74_nts_x64.dll extension=php_sqlsrv_74_nts_x64.dll
Note - the installer auto updates the PHP ini file and enables the following two extensions:
extension=curl extension=mbstring
composer global require laravel/installer
laravel new <project>
composer require laravel/ui
php artisan ui vue --auth
C:\inetpub\laravel\<projectname>\public\
<configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="default.aspx" /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="index.html" /> </files> </defaultDocument> <rewrite> <rules> <rule name="Imported Rule 1" stopProcessing="true"> <match url="^(.*)/$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Redirect" redirectType="Permanent" url="/{R:1}" /> </rule> <rule name="Imported Rule 2" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> <httpErrors errorMode="Detailed" /> </system.webServer> </configuration>
<?php phpinfo(); ?>