How to enable Xdebug in WebMatrix

Xdebug is a very popular PHP extension that helps with debugging and profiling of PHP scripts by providing a lot of valuable debug information. Microsoft WebMatrix is a development tool for building web applications. When WebMatrix is used to build or modify a PHP-based web application the debugging tasks can be greatly simplified if Xdebug extension is used. This post explains how to install and use Xdebug extension with WebMatrix. Continue Reading »

7 Comments »

ruslany on February 18th 2011 in PHP

7,105 views

PoorFairAverageGoodExcellent (No Ratings Yet)

PHP Manager 1.1 available in Web PI

PHP Manager 1.1 for IIS 7 has been released today. This is an incremental release that contains all the functionality available in PHP Manager 1.0 for IIS 7 plus additional features listed below:

  • Improved detection logic for existing PHP installations. Now PHP Manager detects the location to php.ini file in accordance to the PHP specifications.
  • Configuring date.timezone. PHP Manager can automatically set the date.timezone directive which is required to be set starting from PHP 5.3.
  • Ability to add new PHP extensions. When pointed to a PHP extension file, the PHP Manager will copy it to the right location and will enable the extension in php.ini file.

In addition, several bugs were fixed in this release. The complete list of changes can be found in the change list.

PHP Manager can now be installed with Web Platform Installer. Use the link below to install it:

9 Comments »

ruslany on December 9th 2010 in PHP

3,229 views

PoorFairAverageGoodExcellent (1 votes, average: 4.00 out of 5)

How to install PHP PEAR and phploc on Windows

PEAR (short for PHP Extension and Application Repository) is a framework and distribution system for reusable PHP components. In includes many useful tools and components that can be easily downloaded and installed by using PEAR package manager. This post describes how to install and configure PEAR package manager and then how to use it to install a PEAR package. An example PEAR package used in this post is phploc, which is a tool for measuring the size of PHP projects.

Start by installing PHP on Windows by using one of the following methods:

Now open an elevated command line prompt and go to the directory where PHP was installed. For example if PHP 5.3 was installed with Web PI 3.0 then the directory path will be: Continue Reading »

4 Comments »

ruslany on November 22nd 2010 in PHP

5,190 views

PoorFairAverageGoodExcellent (2 votes, average: 4.50 out of 5)

PHP 5.3 and PEAR available in WebMatrix Beta 3

WebMatrix Beta 3 release has been announced recently. This release includes many new cool features that are described in release announcement and in the Web Deploy team blog. In addition to all those improvements, WebMatrix Beta 3 has much better support for PHP. Specifically:

  • It is now possible to enable PHP 5.3 (previous versions of WebMatrix and Web PI only supported PHP 5.2)
  • PHP can now be enabled on an empty new site in WebMatrix (previously it was required to install a PHP application in order to enable PHP on a site)
  • PEAR installation is now included when PHP is installed.

This post describes those improvements in more details. Continue Reading »

1 Comment »

ruslany on November 10th 2010 in PHP

2,390 views

PoorFairAverageGoodExcellent (No Ratings Yet)

7 Comments »

ruslany on September 29th 2010 in FastCGI, PHP

14,985 views

PoorFairAverageGoodExcellent (No Ratings Yet)

1 Comment »

ruslany on September 28th 2010 in PHP

1,998 views

PoorFairAverageGoodExcellent (No Ratings Yet)

4 Comments »

ruslany on September 22nd 2010 in PHP

7,824 views

PoorFairAverageGoodExcellent (No Ratings Yet)

PHP Manager for IIS 7 – beta release

Today I am releasing PHP Manager for IIS 7 – beta, which is an IIS extension for setting up and managing multiple PHP installations on IIS 7 servers. It can be used to:

  • Register PHP with IIS;
  • Run multiple PHP versions side by side;
  • Check PHP runtime configuration and environment (output of phpinfo() function)
  • Configure various PHP settings
  • Enable or disable PHP extensions
  • Remotely manage PHP configuration in php.ini fille

The PHP Manager installation packages can be downloaded from these locations:

The project’s home page and documentation are located at http://phpmanager.codeplex.com/. This blog post describes how the PHP Manager for IIS can be used. Continue Reading »

7 Comments »

ruslany on August 30th 2010 in FastCGI, PHP

9,940 views

PoorFairAverageGoodExcellent (1 votes, average: 5.00 out of 5)

Install PHP applications with WebMatrix

Microsoft has recently launched a beta release of a new project called WebMatrix. This is a complete web development stack that can be used to start developing and deploying web sites. One thing that may be not so obvious from all the existing announcements is the fact that WebMatrix has full support for installing, running and publishing PHP applications.

Here are the examples of how WebMatrix can be used to create and publish a PHP web site (using WordPress as a showcase). Continue Reading »

22 Comments »

ruslany on July 9th 2010 in PHP, WordPress

9,766 views

PoorFairAverageGoodExcellent (No Ratings Yet)

WinCache Extension 1.1 for PHP – Release to Web

Today IIS team has published the final release of WinCache Extension 1.1 for PHP. This is the latest stable and production ready version of the extension. The v1.1 has all the features available in version 1.0 plus the following features.

  • User Cache API’s can be used by PHP scripts to store PHP objects and variables in shared memory. This way PHP scripts may improve the execution speed by storing processed data in the cache and then using it in subsequent requests instead of re-creating the data on every request.
  • WinCache Session Handler can be used to configure PHP to store the session data in shared memory cache. Using shared memory instead of the default file session storage helps improve performance of PHP applications that store large amount of data in session objects. The content of the WinCache session cache is persisted on disk so that it is not lost during IIS worker process recycling.
  • File Change Notifications – the entries in the opcode and file caches are now updated as soon as the corresponding PHP files are modified on a file system. This is very useful for PHP applications that store its configuration in PHP files – for example Joomla!. Now the configuration changes for those applications take effect right away instead of a 30 seconds delay (default cache refresh interval).
  • Lock/Unlock API’s – these API’s can be used to obtain/release an exclusive lock on a key in the cache.

Install the Windows Cache Extension 1.1 for PHP – RTW

To install the WinCache Extension 1.1 for PHP 5.2 and PHP 5.3, use the download links at the extension’s home page at http://www.iis.net/expand/WinCacheForPhp. Continue Reading »

7 Comments »

ruslany on June 30th 2010 in PHP, WinCache

8,897 views

PoorFairAverageGoodExcellent (No Ratings Yet)

Recently Published Articles