Приглашаем посетить
Кулинария (cook-lib.ru)

Section 2.3.  Testing Your Configuration

Previous
Table of Contents
Next

2.3. Testing Your Configuration

To test your configuration, create the file info.php in your HTML directory. Enter this text in there, and save it:

    <?php
            phpinfo( ) 
;
    ?>

That calls the phpinfo( ) function, which outputs basic configuration information about your PHP installation. To access this script, go to http://localhost/info.php in your web browser. All being well, you should see a lot of information printed out about your PHP configuration. This is actually a handy script to keep around for debugging purposes, as it tells you exactly what extensions you have installed and what their configuration options are. Of course, it also tells any hackers about your system configuration , so don't advertise its existence!


Previous
Table of Contents
Next