I already have PHP 5.3.6 installed, is there a way to direct WebMatrix to make use of the installed PHP?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WebMatrix uses IIS Express webserver (IIS Express gets installed along with WebMatrix) and you need to configure IIS Express to use installed PHP. Run the following two commands from IIS Express installation folder (%programfiles%\IIS Express) and restart WebMatrix.
appcmd.exe set config /section:system.webServer/fastCGI /+[fullPath=’c:{php_installation-folder}\php-cgi.exe’]
appcmd.exe set config /section:system.webServer/handlers /+[name=’PHP_via_FastCGI’,path=’.php’,verb=’‘,modules=’FastCgiModule’,scriptProcessor=’c:{php_installation-folder}\php-cgi.exe’,resourceType=’Unspecified’]