Jump to content
Larry Ullman's Book Forums

Newbie Here Sorry.... Firefox Can't Establish A Connection To The Server At Localhost.


Recommended Posts

Can't connect to localhost for some reason. 

 

Running MAMP - just updated it.

 

Here is what I have for my config.inc.php file:

<?php
if (!defined('LIVE')) DEFINE('LIVE', false);
DEFINE('CONTACT_EMAIL', 'you@example.com');  // Send error messages to this email address when site is live
DEFINE('BASE_URI', '/MAMP/htdocs');  // Should point to the PARENT of the web root directory
DEFINE('BASE_URL', 'localhost:8888/');  // eg. www.example.com,  localhost:8888/ 
DEFINE('MYSQL', BASE_URI . '/includes/mysql.inc.php');
session_start();

My mysql.inc.php file is in the includes folder.

 

 

 

Any thoughts??

Link to comment
Share on other sites

 Share

×
×
  • Create New...