macsat.com OpenWrt and ASUS WL Forum

OpenWrt (White Russian) => Tutorials => Topic started by: Chris on January 26, 2007, 03:11:04 AM



Title: xmail tutorial question..
Post by: Chris on January 26, 2007, 03:11:04 AM
Hi,

in the xmail tutorial Macsat suggests installing lighttpd with PHP5 to serve the phpxmail web interface however will Macsat's other tthttpd server http://www.macsat.com/macsat/content/view/17/37/ (http://www.macsat.com/macsat/content/view/17/37/) also work with phpxmail configuration i/f?

Thanks,

Chris


Title: Re: xmail tutorial question..
Post by: macsat on January 26, 2007, 08:20:41 AM

Yes, it should work just fine.

The reason I suggest lighttpd over thttpd is that lighttpd has proven more stable - at least to me :-)



Title: Re: xmail tutorial question..
Post by: Chris on January 26, 2007, 12:56:25 PM
Thanks for the advice.

now I'm messing with xmail & phpxmail which seems to be causing a problem.
xmail starts okay
thttp starts okay
but phpxmail server pager shows the following errors:

Fatal error: Call to undefined function: session_start() in /opt/www/phpxmail/main.php on line 5
Fatal error: Call to undefined function: session_start() in /opt/www/phpxmail/menu.php on line 6

I have installed thhtpd, xmail and phpxmail to /opt

frankly, I don't know what I should start looking at... untill  saw your reply I was about to uninstall thttpd and install lighttpd with php5 in case that was the problem.

now I'm casting about at shadows.... any further advice?

(device = Asus WL500gP, f/w = WR:RC6)

Cheers,

Chris (who spent most of Australia Day public holiday trying new stuff with OpenWRT & WL500gP)




Title: Re: xmail tutorial question..
Post by: macsat on January 26, 2007, 14:48:31 PM

You need the session() module in php.

I'm not sure this is installable in the thttpd version, or you have to go with the lighttpd solution.

I wasnt aware of the need for session()....:-)