LVKNET.com

Insure your business

500 – internal server error
Author: admin

December 31, 2013

Posted in PHP,Windows Server | |

You got this error when you test .php.
error500

It happened to new Windows Server setup that need vcredist_x64.exe

vcredist_x64

  

PHP
Author: admin

December 23, 2013

Posted in PHP | |

Install PHP on Windows Server 2012

1. Download from http://windows.php.net/download/

downloadPHP

2. Extract to C:\
    Using C:\ will make it easy for you when you install PHPmanager and when you troubleshoot the problem.

3. You have to download and run vcredist_x64.exe http://www.microsoft.com/en-us/download/details.aspx?id=30679
vcredist_x64

4. Download and run PHPmanager from http://phpmanager.codeplex.com/releases/view/69115
downloadPHPmanager

5. Config PHPmanager in IIS.

PHPmanager RegisterPHP PHPcgi
 6. Create index.php in you web folder.

<?php
// prints e.g. ‘Current PHP version: 5.3.62.0’
echo ‘Current PHP version: ‘ . phpversion();

// prints e.g. ‘2.0’ or nothing if the extension isn’t enabled
echo phpversion(‘tidy’);
?>

7. Finished