Can&#39;t you specify the version of PHP in .htaccess or something? <br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 3:02 PM, andy baxter <span dir="ltr">&lt;<a href="mailto:andy@earthsong.free-online.co.uk">andy@earthsong.free-online.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don&#39;t really have much choice about the PHP version we&#39;re using<br>
unfortunately. I have been contracted to design an interactive site for<br>
a university department, and they are very keen to have it running on<br>
their own server, which runs 5.3. It might possibly be an option to move<br>
the site to a commercial server, but so far most of the errors I am<br>
getting seem to be non-fatal, so I am thinking to try and make the best<br>
of things on this server rather than ask them to switch.<br>
<font color="#888888"><br>
andy<br>
</font><div><div></div><div class="h5"><br>
Michael Prasuhn wrote:<br>
&gt; I wouldn&#39;t recommend 5.3 for Drupal for a long time.<br>
&gt;<br>
&gt; PHP 5.2 series is still getting updates and is at 5.2.11.<br>
&gt;<br>
&gt; While Drupal 6.14 is technically compatible with 5.3 (it suppresses<br>
&gt; deprecated warnings for use of ereg) it is highly doubtful that much<br>
&gt; of contrib is compatible, and probably won&#39;t be for a long long time.<br>
&gt;<br>
&gt; -Mike<br>
&gt; __________________<br>
&gt; Michael Prasuhn<br>
&gt; 503.512.0822 office<br>
&gt; 503.539.3864 cell<br>
&gt; 503.661.7574 home<br>
&gt; <a href="mailto:mike@mikeyp.net">mike@mikeyp.net</a><br>
&gt; <a href="http://mikeyp.net" target="_blank">http://mikeyp.net</a><br>
&gt;<br>
&gt; On Oct 13, 2009, at 9:30 AM, andy baxter wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I have recently moved a site from my test server (which is running php<br>
&gt;&gt; 5.2) to the live server (which is running php 5.3).<br>
&gt;&gt;<br>
&gt;&gt; Since doing this, a lot of pages are throwing error messages about a<br>
&gt;&gt; function expecting a reference argument.<br>
&gt;&gt;<br>
&gt;&gt; I have done enough research to get some idea of what the basic problem<br>
&gt;&gt; is, but still don&#39;t feel that I understand it well enough to dive in<br>
&gt;&gt; to<br>
&gt;&gt; trying to patch the code. So far all I have done is add something to<br>
&gt;&gt; the<br>
&gt;&gt; template to suppress warnings for non-admin users.<br>
&gt;&gt;<br>
&gt;&gt; If anyone can help with this, I would appreciate it - the site is<br>
&gt;&gt; going<br>
&gt;&gt; public in two days and I still have some other things I need to sort<br>
&gt;&gt; out<br>
&gt;&gt; before then. Does anyone know of any well written explanations on-line<br>
&gt;&gt; of how this issue has come about and how it affects drupal? Or if<br>
&gt;&gt; someone on the list could take the time to explain to me what the<br>
&gt;&gt; issue<br>
&gt;&gt; is, that would be good as well.<br>
&gt;&gt;<br>
&gt;&gt; cheers,<br>
&gt;&gt;<br>
&gt;&gt; andy<br>
&gt;&gt; --<br>
&gt;&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>