# Dreamweaver/PHP/mySQL/Apache Connection Error!

**URL:** https://forum.kirupa.com/t/dreamweaver-php-mysql-apache-connection-error/133607
**Category:** Uncategorized
**Created:** [January 10, 2005, 2:59pm UTC](https://forum.kirupa.com/t/dreamweaver-php-mysql-apache-connection-error/133607 "2005-01-10T14:59:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![red\_A](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@red\_A](https://forum.kirupa.com/u/red_A)
#### Post date: [January 10, 2005, 2:59pm UTC](https://forum.kirupa.com/t/dreamweaver-php-mysql-apache-connection-error/133607/1 "2005-01-10T14:59:52Z")

</div>

Here’s the error:

\*\*Warning: open\_basedir restriction in effect. File is in wrong directory in NSSDATA1:/Apache2/htdocs/docs/index1.php on line 1

Fatal error: Failed opening required ‘…/Inte\_inf/Connections/my\_database.php’ (include\_path=’.;sys:/php/includes’) in NSSDATA1:/Apache2/htdocs/docs/index1.php on line 1\*\*

On line one of index1.php is the connection statment generated by DW:

**\<?php require\_once(’…/Inte\_inf/Connections/my\_database.php’); ?\>**

and there is a folder named Connections: that includes the required connection information, that was generated by DW, when i created the connection to the database, after looking at the info there, everything seems to be right, username, pw, connection name, etc etc…

When i click on “Live Data View” in Dreamweaver, i am able to see the information on my page that is being received from my\_database…i don’t know what the problem could be, if you are familar with PHP/mySQL/Apache and have done dynamic websites in DW04, let me know how it worked out!

Thanks 🙂
