<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041260" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041260</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Hmm. Migrating to PHP4?
This</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1231660</link>
    <description> &lt;p&gt;Hmm. Migrating &lt;strong&gt;to PHP4&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;This is from &lt;a href=&quot;http://www.developertutorials.com/blog/javascript/migrating-legacy-php-4-applications-to-php-5-320/&quot;&gt;Migrating legacy PHP 4 applications to PHP 5&lt;/a&gt; -&lt;br /&gt;
&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;Quote:&lt;/div&gt;PHP 4 has been discontinued for some time... Major legacy applications should be ported as quickly as possible to avoid security issues;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Jul 2008 03:20:25 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1231660 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The problem was actually</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1231657</link>
    <description> &lt;p&gt;The problem was actually migrating a PHP5 script to PHP4 &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
- no strpbrk() in PHP4 -&lt;/p&gt;
&lt;p&gt;As for the web hosting problem, I have had Paul, who runs an &lt;a href=&quot;http://www.webscribble-webdate-support.com/&quot;&gt;independent Webscribble WebDate forum&lt;/a&gt;, look it over and he&#039;s scratching his head. Next stop is changing the DNS (app is licensed to a specific domain) and trying out on my server for proof it works.&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Jul 2008 01:04:51 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1231657 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Does this help? &quot;Migrating</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1231646</link>
    <description> &lt;p&gt;Does this help? &quot;&lt;a href=&quot;http://www.developertutorials.com/blog/javascript/migrating-legacy-php-4-applications-to-php-5-320/&quot;&gt;Migrating legacy PHP 4 applications to PHP 5&lt;/a&gt;&quot;&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Jul 2008 06:05:28 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1231646 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Well, I had a nasty surprise</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1231639</link>
    <description> &lt;p&gt;Well, I had a nasty surprise with an email validation script I wrote and tested on PHP5 but client&#039;s server was running PHP4&lt;/p&gt;
&lt;p&gt;PHP4 does not support the strpbrk() function, eg &lt;code&gt;$invalidChar = strpbrk($fromEmail, &amp;#039;!#$%^&amp;amp;*()_+=-{}|\][&amp;quot;\&amp;#039;:;?/&amp;gt;&amp;lt;,&amp;#039;);&lt;/code&gt; - I had to replace this one line with a whole list of &lt;code&gt;$invalidChar .= strpos($fromEmail, &amp;quot;!&amp;quot;);&lt;/code&gt; statements&lt;/p&gt;
&lt;p&gt;Another place I just did the validation with JavaScript...&lt;/p&gt;
&lt;p&gt;When I asked, the server admin said &quot;PHP5 is not stable&quot; I think that is BS, I have had no problems with PHP5&lt;/p&gt;
&lt;p&gt;However I have another client whose WebScribble WebDate platform just stopped working suddenly. Been around the bush several times with fresh installs etc. I see they are running PHP 5.25 but they won&#039;t give me a straight answer about when it began. My hunch is that is the cause, or maybe a MySQL misconfiguration. The script connects with the db on install to create all the tables, but in use it does not connect....&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jul 2008 20:24:41 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1231639 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>How does PHP5 differ from</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1231638</link>
    <description> &lt;p&gt;How does PHP5 differ from PHP4?&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jul 2008 14:31:26 +0000</pubDate>
 <dc:creator>ohrana</dc:creator>
 <guid isPermaLink="false">comment 1231638 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>If you run the update</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1230648</link>
    <description> &lt;p&gt;If you run the update commands, your config files won&#039;t change.  You will risk broken sites if you upgrade to PHP 5.  That&#039;s why many hosts are lazy to do it.&lt;/p&gt;
&lt;p&gt;I would back up all the config files and then upgrade to PHP5.  You may have some downtime reconfiguring some things, but PHP4 is no longer supported and if your version is out of date, you are running a security risk which could result in unplanned downtime.&lt;/p&gt;
 </description>
     <pubDate>Mon, 16 Jun 2008 16:15:37 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1230648 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>So if i install php 5 as</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1230645</link>
    <description> &lt;p&gt;So if i install php 5 as above it wont change anything with my current setup with php4 - meaning my websites will be ok and all configuration?&lt;/p&gt;
&lt;p&gt;To use php 5 i should just change apache config to point to php 5 rather than php4?&lt;/p&gt;
 </description>
     <pubDate>Mon, 16 Jun 2008 15:52:12 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1230645 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>What happens if you try</title>
    <link>https://www.webmaster-forums.net/server-management/how-upgrade-php#comment-1230637</link>
    <description> &lt;p&gt;What happens if you try running:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade &amp;amp;&amp;amp; sudo apt-get dist-upgrade&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;That should update it. Checking my Ubuntu install, PHP5 is in a seperate package to version four, so if you want to install it run:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;sudo apt-get install php5&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 16 Jun 2008 07:41:52 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1230637 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
