Hi,
I'm trying to install WebsiteBaker 2.8.2 on a Windows 2008 Webserver with PHP (5.3.6.0) FastCGI. According the information in the Install form the prerequisites are met (see attachment). And when the Install form is submitted a config.php file is created. But after that a blank screen (/install/save.php) is shown.
When I try to access the site on the server I'm getting the following error message:
QuotePHP Fatal error: Call to undefined function mysql_connect() in [basefolder websites]\[site name]\framework\class.database.php on line 61
Any ideas what can be wrong?
[gelöscht durch Administrator]
Quote from: scheltel on August 11, 2011, 12:03:24 PM
Hi,
I'm trying to install WebsiteBaker 2.8.2 on a Windows 2008 Webserver with PHP (5.3.6.0) FastCGI. According the information in the Install form the prerequisites are met (see attachment). And when the Install form is submitted a config.php file is created. But after that a blank screen (/install/save.php) is shown.
When I try to access the site on the server I'm getting the following error message:
QuotePHP Fatal error: Call to undefined function mysql_connect() in [basefolder websites]\[site name]\framework\class.database.php on line 61
Any ideas what can be wrong?
look at the config.php is there something inside or is it empty?
Apache webserver or IIS?
<?php
define('DB_TYPE', 'mysql');
define('DB_HOST', 'localhost');
define('DB_USERNAME', 'test');
define('DB_PASSWORD', 'test');
define('DB_NAME', 'wb_test');
define('TABLE_PREFIX', '');
define('WB_PATH', dirname(__FILE__));
define('WB_URL', 'http://[site name]');
define('ADMIN_PATH', WB_PATH.'/admin');
define('ADMIN_URL', 'http://[site name]/admin');
require_once(WB_PATH.'/framework/initialize.php');
?>
I think this config.php looks fine.
Quote from: BlackBird on August 11, 2011, 12:09:08 PM
Apache webserver or IIS?
It's a Windows 2008 Web Server with FastCGI PHP.
It seems , thus whether the php-mysql client module is not installed.
That's way the function mysql_connect() can not be found.
Windows 2008 comes with IIS (Internet Information Services). But you can also install Apache on W2K8. So that's no answer. ;)
IIS is not supported by WB.
Quote from: DarkViper on August 11, 2011, 12:15:36 PM
It seems , thus whether the php-mysql client module is not installed.
That's way the function mysql_connect() can not be found.
The php-mysql client was not installed indeed. Thank you!
Quote from: BlackBird on August 11, 2011, 12:23:55 PM
Windows 2008 comes with IIS (Internet Information Services). But you can also install Apache on W2K8. So that's no answer. ;)
IIS is not supported by WB.
I want to try to install it on IIS 7 with FastCGI.