::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
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 :)
::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
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?
QuoteI 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/
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!
Quote from: OhYa;10798ok, 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.