<?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"
	>
<channel>
	<title>Comments on: iPod Touch - Apache and PHP 5.2.3</title>
	<atom:link href="http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/</link>
	<description>Flash Platform Consultant</description>
	<pubDate>Fri, 04 Jul 2008 02:46:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: shedali &#187; Blog Archive &#187; Home server</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-18598</link>
		<dc:creator>shedali &#187; Blog Archive &#187; Home server</dc:creator>
		<pubDate>Sat, 14 Jun 2008 13:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-18598</guid>
		<description>[...] apache server and serve up web pages. In fact, anyone with an ipod touch or iphone can do the same! even with php which opens the way for people to serve up dodgy content over your internet connection - [...]</description>
		<content:encoded><![CDATA[<p>[...] apache server and serve up web pages. In fact, anyone with an ipod touch or iphone can do the same! even with php which opens the way for people to serve up dodgy content over your internet connection - [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @eventtrack &#187; Blog Archive &#187; iPod Touch and PHP native?</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-18073</link>
		<dc:creator>@eventtrack &#187; Blog Archive &#187; iPod Touch and PHP native?</dc:creator>
		<pubDate>Wed, 23 Apr 2008 18:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-18073</guid>
		<description>[...] out on my 8GB iPod Touch. I loaded both Apache and PHP on the iPod Touch, did a few edits (check here) and there you go PHP running on the iPod [...]</description>
		<content:encoded><![CDATA[<p>[...] out on my 8GB iPod Touch. I loaded both Apache and PHP on the iPod Touch, did a few edits (check here) and there you go PHP running on the iPod [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17962</link>
		<dc:creator>Ali</dc:creator>
		<pubDate>Thu, 10 Apr 2008 09:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17962</guid>
		<description>how to download PFP on iphone plz let me know and from wher i can downalod php</description>
		<content:encoded><![CDATA[<p>how to download PFP on iphone plz let me know and from wher i can downalod php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17939</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 07 Apr 2008 19:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17939</guid>
		<description>Thank you very much -- worked great!</description>
		<content:encoded><![CDATA[<p>Thank you very much &#8212; worked great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17772</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 11 Mar 2008 10:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17772</guid>
		<description>That works perfectly.

Does anyone know how to get SQLite 3 to work?
SQLite 2 is included, - but I really ned SQLite 3</description>
		<content:encoded><![CDATA[<p>That works perfectly.</p>
<p>Does anyone know how to get SQLite 3 to work?<br />
SQLite 2 is included, - but I really ned SQLite 3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17745</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 06 Mar 2008 00:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17745</guid>
		<description>David,

I've got an httpd folder in /private/etc , but it only contains 5 config files and no subfolder.

But I just saw that Apache's error_log (in /private/var/log/httpd) kept increasing since I installed Apache, with the same errors every 10 seconds :

[Thu Mar  6 00:30:04 2008] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Mar  6 00:30:04 2008] [crit] (48)Address already in use: make_sock: could not bind to port 80

So I stopped added a line in httpd.conf for ServerName (127.0.0.1), and the same in resolv.conf, and... now PHP seems to works !

But I still have the second error (port 80 already used)... So I checked the running processes, and I saw there was 3 instances of httpd : one was run by root user, and the 2 others by "nobody" !
I could kill both, but one keeps coming back (with a new PID) whenever I kill it !

According to my iPod's Sysinfo app, the httpd run by user root uses /bin/sh as shell, but the one run by user "nobody" uses /usr/bin/false !

If I stop Apache with apachectl stop, the httpds keep coming back some seconds later...

There's something I don't understand here... It's been many years since I last used as much Unix commands :-))

And I still don't understand where's Apache's "icons" folder ! :-D</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>I&#8217;ve got an httpd folder in /private/etc , but it only contains 5 config files and no subfolder.</p>
<p>But I just saw that Apache&#8217;s error_log (in /private/var/log/httpd) kept increasing since I installed Apache, with the same errors every 10 seconds :</p>
<p>[Thu Mar  6 00:30:04 2008] [alert] httpd: Could not determine the server&#8217;s fully qualified domain name, using 127.0.0.1 for ServerName<br />
[Thu Mar  6 00:30:04 2008] [crit] (48)Address already in use: make_sock: could not bind to port 80</p>
<p>So I stopped added a line in httpd.conf for ServerName (127.0.0.1), and the same in resolv.conf, and&#8230; now PHP seems to works !</p>
<p>But I still have the second error (port 80 already used)&#8230; So I checked the running processes, and I saw there was 3 instances of httpd : one was run by root user, and the 2 others by &#8220;nobody&#8221; !<br />
I could kill both, but one keeps coming back (with a new PID) whenever I kill it !</p>
<p>According to my iPod&#8217;s Sysinfo app, the httpd run by user root uses /bin/sh as shell, but the one run by user &#8220;nobody&#8221; uses /usr/bin/false !</p>
<p>If I stop Apache with apachectl stop, the httpds keep coming back some seconds later&#8230;</p>
<p>There&#8217;s something I don&#8217;t understand here&#8230; It&#8217;s been many years since I last used as much Unix commands :-))</p>
<p>And I still don&#8217;t understand where&#8217;s Apache&#8217;s &#8220;icons&#8221; folder ! <img src='http://www.peterelst.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17744</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 05 Mar 2008 22:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17744</guid>
		<description>Hi Joe,

Can you try looking for the folder in /private/etc/ ?

Cheers
Davd</description>
		<content:encoded><![CDATA[<p>Hi Joe,</p>
<p>Can you try looking for the folder in /private/etc/ ?</p>
<p>Cheers<br />
Davd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17743</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 05 Mar 2008 22:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17743</guid>
		<description>Hi,

I installed Apache and PHP on my iPod Touch, and modified the HTTP daemon config.
Apache runs well, but it doesn't seem to recognize the PHP extension.
I also remarked that the alias /icons points to a folder that is not created on my iTouch : &lt;b&gt;/usr/share/httpd/icons&lt;/b&gt;
Indeed, I don't have a httpd folder under share !

I tried to uninstall / reinstall Apache, but still no httpd folder there...
Any ideas ? Or a listing of all the files installed by Apache, so that I can see what else is missing on my iPod...

Thanks !</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I installed Apache and PHP on my iPod Touch, and modified the HTTP daemon config.<br />
Apache runs well, but it doesn&#8217;t seem to recognize the PHP extension.<br />
I also remarked that the alias /icons points to a folder that is not created on my iTouch : <b>/usr/share/httpd/icons</b><br />
Indeed, I don&#8217;t have a httpd folder under share !</p>
<p>I tried to uninstall / reinstall Apache, but still no httpd folder there&#8230;<br />
Any ideas ? Or a listing of all the files installed by Apache, so that I can see what else is missing on my iPod&#8230;</p>
<p>Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17629</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Wed, 13 Feb 2008 14:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17629</guid>
		<description>Hmm, can't get it to work on 1.1.3. I've did what you said but I just see the PHP code in Safari (as if PHP wasn't installed). But I did! :o The strange this is, is that I had a profile file. I already tried it in 1.1.2 and it worked, but after my (Dev-Team)upgrade...

Any advice on this one?</description>
		<content:encoded><![CDATA[<p>Hmm, can&#8217;t get it to work on 1.1.3. I&#8217;ve did what you said but I just see the PHP code in Safari (as if PHP wasn&#8217;t installed). But I did! <img src='http://www.peterelst.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> The strange this is, is that I had a profile file. I already tried it in 1.1.2 and it worked, but after my (Dev-Team)upgrade&#8230;</p>
<p>Any advice on this one?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17620</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 12 Feb 2008 12:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterelst.com/blog/2007/10/12/ipod-touch-apache-and-php-523/#comment-17620</guid>
		<description>@hexcode

I'm in the same boat (1.1.3) - I just created a file called "profile" in that location and copied the code from the top of that page into it.  Next I restarted the phone for the changes to take affect - php seems to be working now.</description>
		<content:encoded><![CDATA[<p>@hexcode</p>
<p>I&#8217;m in the same boat (1.1.3) - I just created a file called &#8220;profile&#8221; in that location and copied the code from the top of that page into it.  Next I restarted the phone for the changes to take affect - php seems to be working now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
