How To Upgrade Lower Version To Latest Php Version In Xampp On Windows

This article describes how lớn install và configure IIS 8.0 and PHP on Windows 8.

Bạn đang xem: How to upgrade lower version to latest php version in xampp on windows

Original hàng hóa version: internet Information Services 8.0, Windows 8, Windows 8 ProOriginal KB number: 2819022

Problem description

If we want khổng lồ run web application based on PHP platform, we must ensure our computer has IIS 8.0 as web server and PHP engine. By default, Windows 8 does not have one of them. But user can easily lớn activate IIS 8.0 feature and install PHP engine in Windows 8.

Solutions

We can activate IIS 8.0 in Windows 8 by using Turn Windows features on or off in Control Panel. Và there are two ways to install and configure PHP in Windows 8. First, we can install and configure PHP manually. Second, we can use web Platform Installer that can install and configure PHP automatically.

How khổng lồ do

There are three works that we will do in this section:

IIS 8.0 installation.Web Platform Installer installation.PHP installation và configuration with website Platform Installer.

IIS 8.0 Installation

These are steps to lớn activate IIS 8 in Windows 8:

Run Turn Windows features on or off with choose Settings from charms bar, then choose Control Panel.

In Control Panel window, choose Programs.

In Programs & Features, choose Turn Windows features on or off.

*

Check Internet Information Service và click OK button.

*

After the installation process is complete, we can kiểm tra whether IIS 8.0 is installed correctly by running internet Explorer. In the address bar, type . If successful, we see web page like this picture below.

*

Web Platform Installer Installation

Web Platform Installer is a simple, không tính tiền tool that automates the installation of obatambeienwasirherbal.com"s entire website Platform including PHP. We can download it size Web Platform Installer. The name of installer is wpilauncher.exe.

Run wpilauncher.exe & we will see installation status like this picture below.

*

After installation is completed, we can see Web Platform Installer 4.0 window like this picture below.

Xem thêm: Sửa Lỗi Optimum Mode " Khi Khởi Động Win 7, Sửa Lỗi Not Optimum Mode Recommended

*

PHP Installation and Configuration

These are step khổng lồ install & configure PHP with website Platform Installer:

In Web Platform Installer window, choose Products tab and search PHP version that we will install.

Click Add button as we can see in picture below.

*

After click Add button, we can see there are two items that will be installed. By click Items to be installed link, we can see danh mục of those items.

*

Click Install button.

*

Click I Accept button và it will be downloaded item và install them.

*

After the installation process is complete, click Finish button.

Testing

To check whether the installation and configuration are successful, we can chạy thử it by following steps:

Create info.php file and type this code below as content.

*

Copy info.php file to IIS"s root thư mục in C:inetpubwwwroot.

Run mạng internet Explorer, & type https://localhost/infor.php in address bar.

We will see website page like picture below if all installation và configuration are successful.

*

More information

Configuring Step 1: Install IIS and PHP

Community Solutions content Disclaimer

obatambeienwasirherbal.com CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION & RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION & RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. obatambeienwasirherbal.com AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES and CONDITIONS WITH REGARD lớn THIS INFORMATION and RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES & CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE and NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO sự kiện SHALL obatambeienwasirherbal.com AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY to USE THE INFORMATION & RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF obatambeienwasirherbal.com OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.