First create sample PHP file for testing bind and search
http://www.developer.com/open/print.php/10930_3100951_2
If ok then set same settings for mantis as in -
http://manual.mantisbt.org/manual.configuration.authentication.php
I have created a bank of URLs which were helpfull for me for getting appropriate solutions for problems. Also i am writing solutions for faced problems.