[Xitami] Xitami and PHP ??

Thomas J. Hruska xitami@lists.xitami.org
Mon, 17 Jun 2002 22:15:20 -0400


At 03:02 PM 6/17/2002 -0700, Liz Marr writeth:
>I've tried asking this question on the PHP lists, but all I've gotten for 
>answers is "fix the CGI" (it's been working fine as far as I can tell) and 
>"Use something other than Xitami" (duh - if I wanted to use something else, 
>I would)

Open Source mailing lists are usually not very helpful in my own personal
experience (others may have experienced otherwise).  I'm on this list to
help people...sometimes I do, other times I don't.  Hey, that's life!  :)

>I'm running a fairly customized Win98 machine.  There is plenty of 
>memory, plenty of hard drive.  It's my workstation, so it's sharing a bunch 
>of apps with the system, but Xitami seems to run fine.  I've got CGI 
>working and the one script I run (a very simple mail client called 
>ThinMailer) is working fine except for the fact that my inbox often has 300 
>messages or so - it times out on that one.  So, I've downloaded 
>Squirrelmail and PHP and have attempted to make them work.  No good.  

I personally know the Ehresmans (founders of SquirrelMail).  So, I have a
small amount of knowledge of how it works.

>Currently, the "test" page grinds and grinds forever, and the status line
says, 
>"Web site found, waiting for reply" (how long does it take to connect to 
>"localhost"?) Then  I get, "This server is currently overloaded - please try 
>again later " - what overload? theres's only one program running on the 
>server.
>
>Anyway, any hints?

Ahh...I've had this problem before with Xitami.  This is (most likely)
related to the PHP Header("Location: ...") function.  The problem is that
the PHP script is causing the browser to redirect to a non-HTTP-standard
page since PHP is _assuming_ the server will do the re-direct (such scripts
are designed for Apache with PHP as a compiled module).  Now, don't get
your hopes up, but I would give XiFusion v2.5 a shot.  You can get it from
the Shining Light Productions website:

<http://www.shininglightpro.com/>

Follow the 'readme.txt' file and let us know if it works.  If it doesn't,
try again when XiFusion v2.6 comes out (v2.6 does re-direction differently).

Hope this helps!


          Thomas J. Hruska -- shinelight@shininglightpro.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
                  http://www.shininglightpro.com/