WebsiteBaker Community Forum (upd)

General Community => Global WebsiteBaker 2.8.x discussion => Topic started by: scheltel on August 11, 2011, 12:03:24 PM

Title: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: 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?

[gelöscht durch Administrator]
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: badknight on August 11, 2011, 12:08:51 PM
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?
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: BlackBird on August 11, 2011, 12:09:08 PM
Apache webserver or IIS?
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: scheltel on August 11, 2011, 12:14:12 PM

<?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.
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: scheltel on August 11, 2011, 12:15:15 PM
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.
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: 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.
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: 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.
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: scheltel on August 11, 2011, 12:33:29 PM
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!
Title: Re: WebisteBaker 2.8.2 on Windows 2008 with FastCGI
Post by: scheltel on August 11, 2011, 12:34:27 PM
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.