[Xitami] Xitami and PHP

Michael diLorenzo xitami@lists.xitami.org
Sat, 17 Apr 2004 13:08:36 -0400


I'm running Xitami with the latest version of PHP.  Everything about PHP 
seems to work just fine, except that I can't connect to any other TCP 
address.  Particularly, the mail() function doesn't work.  I get an error 
telling me that I can't connect to "localhost" on port 25.  It seems that 
no connections at all are possible.  Using other PHP commands that make 
FTP connections, etc. I get the same error, unable to connect to (IP 
Address) on (port #).

Here's the strange thing:  If I run the same PHP scripts from the PHP 
command line, they work just fine.  The only time they don't work is when 
I try to run them by visiting them with Xitami.

I have the following two entries in my Xitami.cfg:

[Mime]
    php=application/x-httpd-php

[Filter]
.php=C:\web\PHP\php.exe


I like Xitami a lot, and I don't want to switch servers.  I'm not sure how 
to get this to work....

Thanks in advance
Michael