setting up laravel on IIS7

前端 未结 8 1886
别那么骄傲
别那么骄傲 2020-12-15 02:11

I want to set up my IIS7 server in order to let it works with a web application written in laravel (php framework).

I found something simil

8条回答
  •  借酒劲吻你
    2020-12-15 02:43

    Just got it working after long hours of google and testing. Here is my steps:

    laravel5 with IIS 8.5

    1. install window platform installer
    2. install php-5.6 with window platform installer
    3. install php-manager for IIS with window platform installer (optional)
    4. install Visual C++ Redistributable for Visual Studio 2012 (version x86)
      Without this, FastCgi process excited unexpected (php_info() will not works)
    5. install composer.exe
    6. export composer vendor bin path to path
      set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
    7. run composer global require "laravel/installer=~1.1"
    8. run lavarel new app
    9. create new application in IIS and point to /public

    That's it, Happy Lavarel!

    Reference: http://alvarotrigo.com/blog/installing-laravel-4-in-windows-7-with-iis7/

提交回复
热议问题