PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Christian Vigh  >  PHP Wamp Server Installation Manager  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Wamp Server Installation Manager
Monitor and manage a Wamp setup on Windows
Author: By
Last change:
Date: 5 years ago
Size: 1,564 bytes


Class file image Download

    Example script that prints out your current configuration of WAMP.

    Note that the WampManager class package has the following dependencies :


    However, for your own convenience, the Src directory which contains the WampManager classes has a
    subdirectory called Dependencies, which contains all the required source files. Note however that they
    may not be the latest releases ! but the current versions are sufficient to make the package working.


require ( 'Src/WampManager.phpclass' ) ;

if (
php_sapi_name ( ) != 'cli' )
    echo (
"<pre>" ) ;

// Create a WampManager instance - the installation directory will be searched first in the path pointed to by
// the WAMPDIR environment variable (if you defined it) then on all the non-removable drives present on your system.
$wamp = new WampManager ( ) ;

print_r ( $wamp ) ;