Changes between Initial Version and Version 1 of configtest.php


Ignore:
Timestamp:
Apr 12, 2006, 11:38:31 PM (13 years ago)
Author:
rjl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • configtest.php

    v1 v1  
     1= The configtest.php script =
     2
     3The configtest.php script (found in the php/admin subdirectory) performs tests on your web server, verifying that you have the necessary PHP and PEAR prerequisites in place to host a Maia Mailguard installation. Load this page in a web browser to receive a summary diagnostic. If the script determines that you're missing something, it will also indicate whether that item is optional or mandatory, so you'll know whether you absolutely need to install the missing component before proceeding.
     4
     5The output looks similar to this:
     6
     7{{{
     8#!html
     9<div align="center"><table border="0" cellspacing="2" cellpadding="2" width="100%">
     10<tr><td bgcolor="#CCCCCC" align="center" colspan="2">
     11<h1>Maia Mailguard Configuration Tester</h1></td></tr>
     12<tr><td bgcolor="#CCCCCC">File Permissions</td>
     13<td bgcolor="#00DD00" width="75%"><b>OK</b>  </td></tr>
     14<tr><td bgcolor="#CCCCCC">PHP</td>
     15<td bgcolor="#00DD00" width="75%"><b>OK</b>: 4.3.8 </td></tr>
     16<tr><td bgcolor="#CCCCCC">register_globals</td>
     17<td bgcolor="#00DD00" width="75%"><b>OK</b>  </td></tr>
     18
     19<tr><td bgcolor="#CCCCCC">Smarty Template Engine</td>
     20<td bgcolor="#00DD00" width="75%"><b>OK</b>  </td></tr>
     21<tr><td bgcolor="#CCCCCC">MySQL Support</td>
     22<td bgcolor="#00DD00" width="75%"><b>OK</b>: MySQL support available </td></tr>
     23<tr><td bgcolor="#CCCCCC">PostgreSQL Support</td>
     24<td bgcolor="#DDDD00" width="75%"><b>SKIPPED</b>: PostgreSQL support not available </td></tr>
     25<tr><td bgcolor="#CCCCCC">Database Support</td>
     26
     27<td bgcolor="#00DD00" width="75%"><b>OK</b>: Database support is ok </td></tr>
     28<tr><td bgcolor="#CCCCCC">PEAR</td>
     29<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.4.8 </td></tr>
     30<tr><td bgcolor="#CCCCCC">PEAR::Mail_Mime</td>
     31<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.3.1 </td></tr>
     32<tr><td bgcolor="#CCCCCC">PEAR::DB</td>
     33<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.7.6 DB.php installed as: /usr/share/pear/DB.php </td></tr>
     34
     35<tr><td bgcolor="#CCCCCC">PEAR::DB_Pager</td>
     36<td bgcolor="#00DD00" width="75%"><b>OK</b>: 0.7 </td></tr>
     37<tr><td bgcolor="#CCCCCC">PEAR::Net_Socket</td>
     38<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.0.6 </td></tr>
     39<tr><td bgcolor="#CCCCCC">PEAR::Net_SMTP</td>
     40<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.2.8 </td></tr>
     41<tr><td bgcolor="#CCCCCC">PEAR::Auth_SASL</td>
     42
     43<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.0.1 </td></tr>
     44<tr><td bgcolor="#CCCCCC">PEAR::Net_IMAP</td>
     45<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.0.3 </td></tr>
     46<tr><td bgcolor="#CCCCCC">PEAR::Net_POP3</td>
     47<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.3.6 </td></tr>
     48<tr><td bgcolor="#CCCCCC">PEAR::Log</td>
     49<td bgcolor="#00DD00" width="75%"><b>OK</b>: 1.9.3 </td></tr>
     50
     51<tr><td bgcolor="#CCCCCC">IMAP library</td>
     52<td bgcolor="#00DD00" width="75%"><b>OK</b>: 2000 </td></tr>
     53<tr><td bgcolor="#CCCCCC">LDAP library</td>
     54<td bgcolor="#FE899B" width="75%"><b>FAILED</b>: Not installed, but only required if you want to be able to authenticate with LDAP.  See <a href="http://www.php.net/ldap/">this page</a> for more information about downloading the LDAP extensions to PHP, and instructions for recompiling PHP with the --with-ldap flag. </td></tr>
     55<tr><td bgcolor="#CCCCCC">MCrypt library</td>
     56<td bgcolor="#00DD00" width="75%"><b>OK</b>: &gt;= 2.4.x  with Blowfish and CBC </td></tr>
     57
     58<tr><td bgcolor="#CCCCCC">BC math library</td>
     59<td bgcolor="#00DD00" width="75%"><b>OK</b>  </td></tr>
     60<tr><td bgcolor="#CCCCCC">gd graphics library</td>
     61<td bgcolor="#00DD00" width="75%"><b>OK</b>: bundled (2.0.23 compatible) </td></tr>
     62</table></div>
     63}}}
     64
     65'''NOTE:''' The configtest.php script only tests the web server and PHP components that Maia Mailguard requires.  To test the amavisd-maia, Perl scripts, and SpamAssassin components, use the [wiki:configtest.pl configtest.pl] script.
     66