<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sat May 25, 2013 12:32 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sat May 25, 2013 12:32 pm</pubDate>
  <lastBuildDate>Sat May 25, 2013 12:32 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: PHP Coding Academy Project 2</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91386#91386</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=6'&gt;Hudzilla&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jul 29, 2010 8:26 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hey!&lt;br /&gt;
&lt;br /&gt;
Yes, restarting Apache is the correct solution. I think in the mini-book I just tell people to restart their whole computer, because it saves having to explain the various different ways of restarting services on Linux &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paul</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91386#91386</comments>
                                        <author>Hudzilla</author>
                                        <pubDate>Thu Jul 29, 2010 8:26 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91386#91386</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy Project 2</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91362#91362</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=66604'&gt;Crispy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jul 29, 2010 1:00 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I tried that but all I got was Firefox asking where to save the file.  I managed to find the solution though on here&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://help.ubuntu.com/community/ApacheMySQLPHP#Installing%20Apache%202&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://help.ubuntu.com/community/ApacheMySQLPHP#Installing%20Apache%202&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
All I had to do was restart the service using&lt;br /&gt;
&lt;br /&gt;
sudo /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
and it now works.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91362#91362</comments>
                                        <author>Crispy</author>
                                        <pubDate>Thu Jul 29, 2010 1:00 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91362#91362</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy Project 2</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91337#91337</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jul 28, 2010 6:35 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Try:&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;http&amp;#58;//localhost/project2.php&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as &lt;a href=&quot;http://localhost/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://localhost/&lt;/a&gt; will only load the default index file, hence the reason you see it works.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91337#91337</comments>
                                        <author>Ram</author>
                                        <pubDate>Wed Jul 28, 2010 6:35 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91337#91337</guid>
                                      </item>
                                      <item>
                                        <title>PHP Coding Academy Project 2</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91335#91335</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=66604'&gt;Crispy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jul 28, 2010 5:44 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi,&lt;br /&gt;
&lt;br /&gt;
I am working my way through Project2 and I can't seem to get it to display the php file in Firefox.  All I get is it asking where to save the .php file.&lt;br /&gt;
&lt;br /&gt;
If I run &lt;a href=&quot;http://localhost/,&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://localhost/,&lt;/a&gt; i get a message saying &amp;quot;It Works!&amp;quot; but that there are no files eventhough I have copied project2.php into /var/www&lt;br /&gt;
&lt;br /&gt;
Do I need to tell Apache to accept php? I have installed all the packages given in the introduction so do not understand whats gone wrong?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Chris</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91335#91335</comments>
                                        <author>Crispy</author>
                                        <pubDate>Wed Jul 28, 2010 5:44 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91335#91335</guid>
                                      </item></channel></rss>