Hi guys,
i copied my working site made in php from godaddy in local. Xampp works pefectly , even if much slow, with a wordpress site.
I had to change the basehost from this
define('debug_ip', "localhost,127.0.0.1");
define("basehost", '/home/nysite/public_html/');
define("root_dir", '/');
define("root_dir", '');
define("host", $_SERVER["HTTP_HOST"]);
define("protocol", empty($_SERVER["HTTPS"]) ? 'http' : 'https');
define("url", protocol."://".$_SERVER["HTTP_HOST"].root_dir);
define("path", basehost.root_dir);
define("image_path", url.template_dir.'/image/public/');
To this
define('debug_ip', "localhost,127.0.0.1");
define("basehost", D:/xampp/htdocs/cmb/');
define("root_dir", '/');
define("root_dir", '');
define("host", $_SERVER["HTTP_HOST"]);
define("protocol", empty($_SERVER["HTTPS"]) ? 'http' : 'https');
define("url", protocol."://".$_SERVER["HTTP_HOST"].root_dir);
define("path", basehost.root_dir);
define("image_path", url.template_dir.'/image/public/');
but i get this errors when i try open index.php
Fatal Error: ezSQL_mysql requires mySQL Lib to be compiled and or linked in to the PHP engine
The first line are this
/* Bootstrap */
include_once dirname(__FILE__)."/framework/init.php";
/* Applications */
include_once dirname(__FILE__)."/framework/modules.php";
/* Closing (and debug)... */
include_once dirname(__FILE__)."/framework/close.php";
Thanks
Ale