

If you can't find the extension, add it to the end of the file. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. These methods facilitate a wide variety of I/O operations on. If the extension is commented out (line begins with a semicolon ), delete the semicolon. W3Schools offers free online tutorials, references and exercises in all the major languages of the web. PHP provides a variety of file-related functions, such as fopen(), fclose(), fread(), and fwrite(). Search the file for the extension you want to configure.In a text editor, open the php.ini file.
#Phpfile zip#
#Phpfile download#
#Phpfile how to#
The following procedure shows how to download and install a PHP extension. Recycle the IIS Application Pools for PHP to pick up the configuration changes. If you can't find the setting, add the line to the end of the file. If the setting is commented out (line begins with a semicolon ), delete the semicolon and set the value. Search the file for the setting you want to change. In Windows Explorer, open your PHP installation folder, for example C:\PHP.

For more information about PHP settings, see 2.2. The following procedure explains how to configure PHP settings in the php.ini file. Warning: Delete the phpinfo.php file when it's no longer needed. The server finds out that this file needs to be interpreted by PHP because you used the '. Note that the file does not need to be executable or special in any way. All it does is display: Hello World using the PHP echo statement.

The WinCache settings appear in a section called wincache. This program is extremely simple and you really did not need to use PHP to create a page like this. A nicely formatted web page is displayed showing the current PHP settings. Open a browser and enter the following URL: To view WinCache configuration and other PHP settings Recycle the IIS Application Pools for PHP to pick up the configuration changes.In a text editor, open the php.ini file and added the following line at the end of the file: extension = php_wincache.dll.Choose either the php.ini - development or php.ini - production file, and rename it php.ini.In Windows Explorer, open your PHP installation folder, for example C:\PHP.For more information about WinCache, see 2.1. When you complete these tasks, continue to Step 3: Configure PHP Application Security.īefore you perform this procedure, you should download in install PHP and WinCache as described in 1.2 Download and Install PHP. In this step of building a PHP website on IIS, you configure the WinCache PHP extension, configure PHP settings, and download and configure any other PHP extensions that your application requires.
