Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:laravel:iis [2020/10/27 15:01] – [Configure IIS for your laravel project] gerardorourkecode:laravel:iis [2021/05/15 20:22] (current) – [Install PHP with Microsoft SQL Drivers] gerardorourke
Line 12: Line 12:
     * Reboot     * Reboot
     * Rename php.ini-production -> php.ini     * Rename php.ini-production -> php.ini
 +
 +  * Download and install Microsoft Visual C++ Visual Studio 2017 (required for PHP on Windows)
 +    *X64
 +      *https://go.microsoft.com/fwlink/?LinkId=746572
 +    * x86 (this is not needed - but here in case you are installing PHP 32 bit).
 +      *https://go.microsoft.com/fwlink/?LinkId=746571
  
   * Enable php for SQL   * Enable php for SQL
Line 26: Line 32:
   * Uncomment the line: <code>extension_dir = "ext"</code>   * Uncomment the line: <code>extension_dir = "ext"</code>
   * Uncomment the line: <code>extension=openssl</code>   * Uncomment the line: <code>extension=openssl</code>
 +  * Uncomment the line: <code>extension=fileinfo</code>
  
     * Add the following lines at the end of the php.ini file:     * Add the following lines at the end of the php.ini file:
Line 74: Line 81:
   * Create a virtual Directory for your Default Site to the public folder of your laravel project, e.g.    * Create a virtual Directory for your Default Site to the public folder of your laravel project, e.g. 
     <code>C:\inetpub\laravel\<projectname>\public\</code>     <code>C:\inetpub\laravel\<projectname>\public\</code>
-e.g. {{:code:virtualdirectory.png?400|}}+    * Example: {{:code:laravel:virtual-directory.jpg?400|}} 
 +     
   * enable full access for the user <servername>\IIS_IUSRS for the laravel **storage** folder   * enable full access for the user <servername>\IIS_IUSRS for the laravel **storage** folder
   * Add the below IIS web.config file to the public folder   * Add the below IIS web.config file to the public folder
  • code/laravel/iis.1603810861.txt.gz
  • Last modified: 2020/10/27 15:01
  • by gerardorourke