Can'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"><<a href="mailto:andy@earthsong.free-online.co.uk">andy@earthsong.free-online.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don't really have much choice about the PHP version we'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>
> I wouldn't recommend 5.3 for Drupal for a long time.<br>
><br>
> PHP 5.2 series is still getting updates and is at 5.2.11.<br>
><br>
> While Drupal 6.14 is technically compatible with 5.3 (it suppresses<br>
> deprecated warnings for use of ereg) it is highly doubtful that much<br>
> of contrib is compatible, and probably won't be for a long long time.<br>
><br>
> -Mike<br>
> __________________<br>
> Michael Prasuhn<br>
> 503.512.0822 office<br>
> 503.539.3864 cell<br>
> 503.661.7574 home<br>
> <a href="mailto:mike@mikeyp.net">mike@mikeyp.net</a><br>
> <a href="http://mikeyp.net" target="_blank">http://mikeyp.net</a><br>
><br>
> On Oct 13, 2009, at 9:30 AM, andy baxter wrote:<br>
><br>
><br>
>> Hi all,<br>
>><br>
>> I have recently moved a site from my test server (which is running php<br>
>> 5.2) to the live server (which is running php 5.3).<br>
>><br>
>> Since doing this, a lot of pages are throwing error messages about a<br>
>> function expecting a reference argument.<br>
>><br>
>> I have done enough research to get some idea of what the basic problem<br>
>> is, but still don't feel that I understand it well enough to dive in<br>
>> to<br>
>> trying to patch the code. So far all I have done is add something to<br>
>> the<br>
>> template to suppress warnings for non-admin users.<br>
>><br>
>> If anyone can help with this, I would appreciate it - the site is<br>
>> going<br>
>> public in two days and I still have some other things I need to sort<br>
>> out<br>
>> before then. Does anyone know of any well written explanations on-line<br>
>> of how this issue has come about and how it affects drupal? Or if<br>
>> someone on the list could take the time to explain to me what the<br>
>> issue<br>
>> is, that would be good as well.<br>
>><br>
>> cheers,<br>
>><br>
>> andy<br>
>> --<br>
>> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>><br>
><br>
><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>