Author Topic: Help with RoundCube / HMailServer Install on IIS 6.0  (Read 7936 times)

Offline OhYa

  • Newbie
  • *
  • Posts: 5
Help with RoundCube / HMailServer Install on IIS 6.0
« on: March 09, 2008, 07:28:15 PM »
::Please Skip to Updated Reply Below::


Well, I thought I had everything correct, but I guess I am missing something...
This is on WINDOWS 2003 Server R2
(((All Newest Stable Versions)))
I got HMS installed, Easy!!!
PHP & Perl, Both Up and Runing!!!
RoundCube, Ya, lets just say, What am I missing here?
Ok, I used SQLyog & created the table in my HM DB
I changed the default port in the php.ini
mysql.default_port = 3307
Uncommented the extntn
extension=php_mysql.dll

made the logs & temp folders and updated the location in the main_inc.php file
$rcmail_config['temp_dir'] = 'c:/Mail/temp/';
$rcmail_config['log_dir'] = 'c:/Mail/logs/';

and I copied all the files into a /mail folder in my sites root folder
MyStite.com/mail
If I go to /mail I get a generic 500 error

Offline methilnet

  • Jr. Member
  • **
  • Posts: 16
Re: Help with RoundCube / HMailServer Install on IIS 6.0
« Reply #1 on: March 10, 2008, 01:00:29 AM »
Make sure you give IIS user (iusr / networks service) enough right to read and write in webmail temp & log folders, php extention dir, php session folder etc.

Start by trying to load phpinfo in a stand alone file to see if your php installation is good.
Once it good and working properly, have a look at windows event viewer :)

Offline OhYa

  • Newbie
  • *
  • Posts: 5
Re: Help with RoundCube / HMailServer Install on IIS 6.0
« Reply #2 on: March 11, 2008, 09:25:38 PM »
::Updated::


Im having trouble getting RoundCube to function on my WINDOWS 2003 Server

Im using All the Newest Stable Versions of the following,
hMailServer, Perl & PHP

I got HMS installed with the built in MySQL, I am thinking about Installing MySQL 5 & using that.
hMailServer is Tested & Running with no problems & I can send and receive using Outlook Express just fine.
 
I have tested PHP with sessions & server variable & they come back fine too.

RoundCube, Ya, lets just say, What am I missing here?

Ok, I used SQLyog & created the table in my HM DB
I changed the default port in the c:\PHP\php.ini
mysql.default_port = 3307

c:\PHP is in the path
and I Uncommented the extension
extension=php_mysql.dll


just to make things as easy as possible I made my user name and password both roundcube in MySQL & sat the following
$rcmail_config['db_dsnw'] = 'mysql://roundcube:roundcube@localhost:3307/roundcubemail';


I made the logs & temp folders and updated the location in the main_inc.php file
$rcmail_config['temp_dir'] = 'c:/Mail/temp/';
$rcmail_config['log_dir'] = 'c:/Mail/logs/';
I Gave the USERS group & Everyone Modify Permissions to those folders

and I copied all the files into a /mail folder in my sites root folder
MyStite.com/mail

If I go to /mail I got a generic 500 error
So I Renamed the .htaccess file in the mail folder so I could see if it was a problem & then I could
get to the index.php page, but it has the following error.
---------------------------------------
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact server-administrator.
---------------------------------------

NOTE:
I gave Everyone Modify to the folders just to save time & see if things work.
after I get it all working I plan on fixxing the permissions & changing my DB user & PW to a stronger one...


Anyone know where I can find a good walk through for the latest version?
BTW, I see MsSql.initial.sql, will it work with MSsql? if so I would rather go that way!

Thanks For any help

Offline methilnet

  • Jr. Member
  • **
  • Posts: 16
Re: Help with RoundCube / HMailServer Install on IIS 6.0
« Reply #3 on: March 12, 2008, 09:37:53 AM »
Quote
---------------------------------------
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact server-administrator.
---------------------------------------
I never used the built-in MySQL server.
Are you sure it is listening on port localhost:3307?
Have you try machinename:3307?

Quote
I got HMS installed with the built in MySQL, I am thinking about Installing MySQL 5 & using that.
That how hMail is installed for me. Testing webmail app like RoundCube is easier with that kind of setup.

btw dont change your php.ini default port. Leave it to 3306.

0.1 stable come with some kind of installer, have you tried it?
http://your.server.com/mail/installer/


Offline OhYa

  • Newbie
  • *
  • Posts: 5
Re: Help with RoundCube / HMailServer Install on IIS 6.0
« Reply #4 on: March 12, 2008, 08:22:22 PM »
ok, Much Better!
Thanks, I went ahead and installed MySQL 5 instead of using the default 4 that came with hMs & boom boom boom, it connects!

So Now I just gota play around with the settings and stuff & figure out why it wont send outgoing mail...
LoL, if its not 1 thing its 10

anyways, Thanks Again!

Offline gloowee

  • Newbie
  • *
  • Posts: 5
Help with RoundCube / HMailServer Install on IIS 6.0
« Reply #5 on: February 13, 2009, 05:30:07 PM »
Quote from: OhYa;10798
ok, Much Better!
Thanks, I went ahead and installed MySQL 5 instead of using the default 4 that came with hMs & boom boom boom, it connects!

So Now I just gota play around with the settings and stuff & figure out why it wont send outgoing mail...
LoL, if its not 1 thing its 10

anyways, Thanks Again!


I have done everything you have done and it doesn't work for me.