[Xitami] Php problems

Russel Olinger rolinger1 at hotmail.com
Fri Aug 15 06:00:05 CEST 2008


MessageFrom a command prompt have you verify the php script works properly?

When installing PHP there is an option to select which webserver you are installing for and it lists Xitami - make certain you select that.  But what Brian stated below should be sufficient to get things working.

  ----- Original Message ----- 
  From: Donna Kordell 
  To: Xitami Users General Discussion 
  Sent: Thursday, August 14, 2008 7:46 PM
  Subject: Re: [Xitami] Php problems


  I tried everything you said and I still see nothing in the browser. I used the php installer to install php. Should I go back and do it manually?
    ----- Original Message ----- 
    From: Brian Kowald 
    To: Xitami Users General Discussion 
    Sent: Thursday, August 14, 2008 9:34 PM
    Subject: Re: [Xitami] Php problems


    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.

    --
    Xitami Users Mailing List -- For Xitami support
    To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami


------------------------------------------------------------------------------



  --
  Xitami Users Mailing List -- For Xitami support
  To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xitami.org/pipermail/xitami/attachments/20080814/924e929a/attachment.htm 


More information about the Xitami mailing list