Archive for November, 2010

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

23,659 views

PoorFairAverageGoodExcellent (2 votes, average: 4.00 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

14,681 views

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

Recently Published Articles