Not sure why this is in the PHP section as it has nothing to do with PHP.
Since the error is a forbidden and not a not found, that would indicate to me that you have a security issue. Make sure the apache user has access to the resources for D:\5.
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php