<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for and thus goes by another day</title>
	<atom:link href="http://hex.ro/wp/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://hex.ro/wp</link>
	<description>wondering</description>
	<lastBuildDate>Sun, 13 May 2012 15:14:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1121</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Sun, 13 May 2012 15:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1121</guid>
		<description>You can also use an Android emulator which is part of the Android dev kit and emulate any official version on your Mac / Linux / Windows PC.</description>
		<content:encoded><![CDATA[<p>You can also use an Android emulator which is part of the Android dev kit and emulate any official version on your Mac / Linux / Windows PC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1110</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Sun, 13 May 2012 08:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1110</guid>
		<description>BTW if you have an S2 (or another Android phone for which ICS is officially released) you can just install &#039;Mobile Odin Pro&#039; ($2), download an official ICS 4.0 kernel from www.sammobile.com. Mobile Odin Pro flashes any kernel (also an official) on the device itself and roots it on the fly. I did this and after 4.0.3 was flashed, the root was retained.</description>
		<content:encoded><![CDATA[<p>BTW if you have an S2 (or another Android phone for which ICS is officially released) you can just install &#8216;Mobile Odin Pro&#8217; ($2), download an official ICS 4.0 kernel from <a href="http://www.sammobile.com" rel="nofollow">http://www.sammobile.com</a>. Mobile Odin Pro flashes any kernel (also an official) on the device itself and roots it on the fly. I did this and after 4.0.3 was flashed, the root was retained.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1109</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Sun, 13 May 2012 07:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1109</guid>
		<description>Additional options:

[code]
php var/www/phpinfo.php
[/code]
issues &#039;No input specified&#039; but 

[code]
cat  var/www/phpinfo.php &#124; php
[/code]

issues the expected output.
But in the fcgiserver script changing the script to
[code]
cat - &#124; php -b 127.0.0.1:9001 -c /data/systemfolder/php.ini &gt;&gt; /data/systemfolder/var/log/fcgiserver.log 2&gt;&amp;1
[/code]
does not work (same &#039;no input file specified&#039; error). I googled around on the &#039;no input file specified&#039; and there are lots of hits, but no tips for this.</description>
		<content:encoded><![CDATA[<p>Additional options:</p>
<pre class="brush: plain; title: ; notranslate">
php var/www/phpinfo.php
</pre>
<p>issues &#8216;No input specified&#8217; but </p>
<pre class="brush: plain; title: ; notranslate">
cat  var/www/phpinfo.php | php
</pre>
<p>issues the expected output.<br />
But in the fcgiserver script changing the script to</p>
<pre class="brush: plain; title: ; notranslate">
cat - | php -b 127.0.0.1:9001 -c /data/systemfolder/php.ini &gt;&gt; /data/systemfolder/var/log/fcgiserver.log 2&gt;&amp;1
</pre>
<p>does not work (same &#8216;no input file specified&#8217; error). I googled around on the &#8216;no input file specified&#8217; and there are lots of hits, but no tips for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1106</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Sun, 13 May 2012 06:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1106</guid>
		<description>Hi,

Maybe it&#039;s easier to communicate via email you should have my email address.
I tried it:


[code]
strace -f php var/www/phpinfo.php &gt; log.txt 2&gt;&amp;1
[/code]
did issue an error message that php does not exist.
So I tried:
[code]
localhost:systemfolder # strace -f xbin/php-cgi var/www/phpinfo.php 
strace: xbin/php-cgi: command not found
localhost:systemfolder # ls -al xbin/php-cgi                        
-rwxr--r--    1 root     root      10806533 Sep 22  2011 xbin/php-cgi
localhost:systemfolder # 
[/code]
Strange that it issues &#039;command not found&#039;.
I have an official Samsung ROM (XWLP7) so no custom ROMs..</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Maybe it&#8217;s easier to communicate via email you should have my email address.<br />
I tried it:</p>
<pre class="brush: plain; title: ; notranslate">
strace -f php var/www/phpinfo.php &gt; log.txt 2&gt;&amp;1
</pre>
<p>did issue an error message that php does not exist.<br />
So I tried:</p>
<pre class="brush: plain; title: ; notranslate">
localhost:systemfolder # strace -f xbin/php-cgi var/www/phpinfo.php
strace: xbin/php-cgi: command not found
localhost:systemfolder # ls -al xbin/php-cgi
-rwxr--r--    1 root     root      10806533 Sep 22  2011 xbin/php-cgi
localhost:systemfolder #
</pre>
<p>Strange that it issues &#8216;command not found&#8217;.<br />
I have an official Samsung ROM (XWLP7) so no custom ROMs..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx on Android! by aite.me</title>
		<link>http://hex.ro/wp/blog/nginx-on-android/comment-page-1/#comment-1104</link>
		<dc:creator>aite.me</dc:creator>
		<pubDate>Sun, 13 May 2012 04:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1242#comment-1104</guid>
		<description>--enable-fpm</description>
		<content:encoded><![CDATA[<p>&#8211;enable-fpm</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by viulian</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1048</link>
		<dc:creator>viulian</dc:creator>
		<pubDate>Fri, 11 May 2012 20:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1048</guid>
		<description>Ok, there are two things:

a) if you could find a strace that could help what goes on. I have one compiled for 2.6 kernels and it might work : http://hex.ro/tracker/EasyTracker.php?id=46 (just unpack the .zip and copy the binary to /system/xbin)

Then issue:

[sourcecode language=&quot;&quot;]strace -f php var/www/phpinfo.php &gt; log.txt 2&gt;&amp;1[/sourcecode]

I&#039;m curious if it is working, then if it produces results, what could be the problem. Please give me a link to the log file if you get one usable.

2) The trouble is that none of my phones have official ICS - I was able to put a ICS ROM on one of them (the S5570) but it comes with kernel 2.6.35 so ... I suspect something in the kernel has changed - since really none of the other Android libs are used by the project.

I am waiting for S3 to appear then drop price and hopefully be rooted - I can&#039;t afford now a phone with better kernel and ICS.

Tell me please if you are also using the official ROM of the phone - or some custom made cyanogenmod ROM ?</description>
		<content:encoded><![CDATA[<p>Ok, there are two things:</p>
<p>a) if you could find a strace that could help what goes on. I have one compiled for 2.6 kernels and it might work : <a href="http://hex.ro/tracker/EasyTracker.php?id=46" rel="nofollow">http://hex.ro/tracker/EasyTracker.php?id=46</a> (just unpack the .zip and copy the binary to /system/xbin)</p>
<p>Then issue:</p>
<p>strace -f php var/www/phpinfo.php &gt; log.txt 2&gt;&amp;1</p>
<p>I&#8217;m curious if it is working, then if it produces results, what could be the problem. Please give me a link to the log file if you get one usable.</p>
<p>2) The trouble is that none of my phones have official ICS &#8211; I was able to put a ICS ROM on one of them (the S5570) but it comes with kernel 2.6.35 so &#8230; I suspect something in the kernel has changed &#8211; since really none of the other Android libs are used by the project.</p>
<p>I am waiting for S3 to appear then drop price and hopefully be rooted &#8211; I can&#8217;t afford now a phone with better kernel and ICS.</p>
<p>Tell me please if you are also using the official ROM of the phone &#8211; or some custom made cyanogenmod ROM ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1042</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Fri, 11 May 2012 18:43:01 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1042</guid>
		<description>Kernel is 3.0.15-i9100-XWLP7-CL340913

It is pure in the php kernel, it is probably not a lighttpd issue.
I reproduce it also without lighttpd being loaded.
when I run :
[code]
cat var/www/phpinfo.php &#124; php
[/code]
it worrks fine (at least in a terminal.

But 

[code]
php  var/www/phpinfo.php 
[/code]

issues the &#039;No input file specified&#039; error.
Strange. the 5.4.2 has the same issue. Seems that piping / redirecting is different in the 3.0 / ICS 4 kernel.</description>
		<content:encoded><![CDATA[<p>Kernel is 3.0.15-i9100-XWLP7-CL340913</p>
<p>It is pure in the php kernel, it is probably not a lighttpd issue.<br />
I reproduce it also without lighttpd being loaded.<br />
when I run :</p>
<pre class="brush: plain; title: ; notranslate">
cat var/www/phpinfo.php | php
</pre>
<p>it worrks fine (at least in a terminal.</p>
<p>But </p>
<pre class="brush: plain; title: ; notranslate">
php  var/www/phpinfo.php
</pre>
<p>issues the &#8216;No input file specified&#8217; error.<br />
Strange. the 5.4.2 has the same issue. Seems that piping / redirecting is different in the 3.0 / ICS 4 kernel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by viulian</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1038</link>
		<dc:creator>viulian</dc:creator>
		<pubDate>Fri, 11 May 2012 17:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1038</guid>
		<description>Can you please tell me what kernel version you have ?</description>
		<content:encoded><![CDATA[<p>Can you please tell me what kernel version you have ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1036</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Fri, 11 May 2012 17:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1036</guid>
		<description>By the way I did NOT change any config files and used 5.3.8 + lighty 1.4.19.</description>
		<content:encoded><![CDATA[<p>By the way I did NOT change any config files and used 5.3.8 + lighty 1.4.19.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP and Lighttpd for Android by phpdeveloper</title>
		<link>http://hex.ro/wp/blog/php-and-lighttpd-for-android/comment-page-1/#comment-1033</link>
		<dc:creator>phpdeveloper</dc:creator>
		<pubDate>Fri, 11 May 2012 16:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://hex.ro/wp/?p=1121#comment-1033</guid>
		<description>On Android 4 ICS it does not work anymore.

[code]
php /system/var/www/index.php
[/code]

results in

[code]
Status: 404 Not Found
X-Powered-By: PHP/5.3.8
Content-type: text/html

No input file specified.

[/code]

Is this a known problem ?</description>
		<content:encoded><![CDATA[<p>On Android 4 ICS it does not work anymore.</p>
<pre class="brush: plain; title: ; notranslate">
php /system/var/www/index.php
</pre>
<p>results in</p>
<pre class="brush: plain; title: ; notranslate">
Status: 404 Not Found
X-Powered-By: PHP/5.3.8
Content-type: text/html

No input file specified.
</pre>
<p>Is this a known problem ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

