If you are seeing this in your browser, PHP is not installed on your web server!!! *******************************************/ @require 'common.php'; ?> phpLDAPadmin - <?php echo pla_version(); ?>

Configure phpLDAPadmin



You need to configure phpLDAPadmin. Edit the file 'config.php' to do so.

An example config file is provided in 'config.php.example'
\n"; ?> phpLDAPadmin - <?php echo pla_version(); ?> $function()' " . "phpLDAPadmin requires this function to work properly." ); return false; } } /* Make sure the config file is readable */ //if( ! is_readable( 'config.php' ) ) if( ! is_readable(realpath( 'config.php' )) ) { echo "The config file 'config.php' is not readable. Please check its permissions."; return false; } /* Make sure their PHP install is up to snuff */ if( version_compare( phpversion(), "4.1.0" ) < 0 ) { echo "You are using php version " . phpversion() . ". phpLDAPadmin requires version 4.1 or greater."; return false; } /* check for syntax errors in config.php */ // capture the result of including the file with output buffering ob_start(); include 'config.php'; $str = ob_get_contents(); ob_end_clean(); if( $str && false !== strpos( $str, 'error' ) ) { $str = strip_tags( $str ); $parse_error = preg_match( "/on line (\d+)/", $str, $matches ); $line_num = $matches[1]; $file = file( 'config.php' ); ?> phpLDAPadmin Config File Error

Config file error

Syntax error on line

Looks like your config file has a syntax error on line . Here is a snippet around that line

"; if( $i < 0 ) continue; echo "" . ($i+1) . ": " . htmlspecialchars($file[ $i ]) . "
"; if( $i+1 == $line_num ) echo "
"; } ?>
Hint: Sometimes these errors are caused by lines preceding the line reported. $server ) if( $server['host'] ) $count++; if( $count == 0 ) { echo "None of the " . count($servers) . " servers in your \$servers array is "; echo "active in config.php. phpLDAPadmin cannot proceed util you correct this."; return false; } return true; } ?>