[Xitami] Php problems

Brian Kowald bkowald at synergybroadcast.com
Fri Aug 15 04:34:24 CEST 2008


Donna,
 
You should have a php.ini in your php folder.
Did you copy "php.ini-recomended" to "php.ini" ?
 
In xitami add this line in xitami.cfg or defaults.cfg under the
[Filters] section
For php 5:
    .php = "C:\\php\\php-cgi.exe"
for php 4:
    .php = "C:\\php\\php.exe"    

You must set this in php.ini to get output back through the server to
the browser:
cgi.force_redirect = 0

make this file and try to access it though a browser:
Quick test file:
<?php
phpinfo();
?>

Look at cgierr.log in c:\xitami for errors.
 
That should give you some stuff to get going,
Brian
 
 
 



-----Original Message-----
From: Donna Kordell [mailto:DKordell at msn.com] 
Sent: Thursday, August 14, 2008 10:14 PM
To: xitami at lists.xitami.org
Subject: [Xitami] Php problems


Hello,
 
I am new here and have very little clue what I am doing. I am basically
just trying to get PHP to work on my home computer. I tried
unsuccessfully to download apache. Having no other places to turn to, I
found xitami. I followed the instruction in the FAQ to install php and
they worked, sort of. The code printed out fine in DOS but still
wouldn't function in a regular browser window. All the php tags were
completely ignored.
 
Please, I have no idea what I'm doing here. Any advice would be helpful.
Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xitami.org/pipermail/xitami/attachments/20080814/f6e7640e/attachment.htm 


More information about the Xitami mailing list