[Xitami] PHP problems

Brian Kowald bkowald at synergybroadcast.com
Thu Jun 14 18:46:27 CEST 2007


Did you try enabling debuging and looking at the logs under
c:\xitami\logs?

In xitami.cfg set
debug=1

Then look at (you guess it) debug.log

For the filter did you try TWO slashes? (probably grasping at straw
here)
.php=c:\\php\\php.exe


Can you run your php scrips from a command prompt? This would indicate
if your php.exe is good.
php  phptest.php



Brian


-----Original Message-----
From: Russel Olinger [mailto:rolinger1 at hotmail.com] 
Sent: Thursday, June 14, 2007 10:38 AM
To: Xitami Users General Discussion
Subject: Re: [Xitami] PHP problems


I ran two seperate scripts, both with the same outcome.

First:  /phptest.php
<?php
   phpinfo();
?>

second: /php/testpage.php
<?php
$section1= "Test Page";
$i = 1;
echo "$section1" . "$i";
?>

So, I know the scripts aren't the problem, what else could I look at? 
Beyond what I have done below I haven't been able to find any references
to 
other configurations that I need to be aware of.

Server win2003, windows file association "php = c:\php\php.exe" Xitami
runs in "d:\xitami"  (v2.4d9) Xitami Filter ".php = c:\php\php.exe"
(v4.3.11) Xitami Mime "Php=application/x-httpd-php c:\php\php.ini :
"cgi.force_redirect = 0 ;" c:\php\php.ini-dist : "cgi.force_redirect = 0
;"

----- Original Message ----- 
From: "Francis Turner" <francis.turner at gmail.com>
To: "Xitami Users General Discussion" <xitami at lists.xitami.org>
Sent: Thursday, June 14, 2007 2:27 AM
Subject: Re: [Xitami] PHP problems


> That error is basically that PHP or something is going into an 
> infinite loop and not returning
>
> On 6/14/07, R O <rolinger1 at hotmail.com> wrote:
>> Oh, and the error I do get from the server in the browser is:
>>
>> "This server is currently overloaded - please try again later "
>>
>> >
>> >I don't use php much and last I recall it was working.  Trying to
>> >implement
>> >a new script and php isn't working at all.
>> >
>> >Windows Server 2003
>> >Xitami v2.4d9  (In the defaults.cfg file)
>> >      * filter : .php=c:\php\php.exe (even tried / slashes and in 
>> >quotes
>> >"c:\php\php.exe")
>> >      * mime : Php=application/x-httpd-php
>> >
>> >PHP 4.3.11 (in php.ini and php.ini-dist)
>> >      * cgi.force_redirect  = 0 ;
>> >
>> >And I have restarted Xitami after each change.  No matter what I do 
>> >it won't execute the simple test.php file
>> ><?php
>> >   phpinfo();
>> >?>
>> >
>> >What am I doing wrong or what more could I look at?
>> >
>> >Thanks all.
>> >
>> >
>> >Russel P. Olinger
>> >(310) 466-3399
>> >rolinger1 at hotmail.com
>> >
>> >
>> >
>> >--
>> >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
>>
>
>
> --
> http://www.di2.nu/blog.htm
> Faber's Fourth Law:
>  Necessity is the mother of strange bedfellows.
>
>
> --
> 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



More information about the Xitami mailing list