There's a PEAR module (PHP_CompatInfo, I think) that will parse a  
script and give you a minimum version that it can run on.
---
Simon Welsh
Admin of http://simon.geek.nz/
Sent from my iPhone (+64-21-849025)

On 10/11/2008, at 11:19, "Chris Hope" <[EMAIL PROTECTED]> wrote:

>
> How about running virtual machines with something like virtualbox or
> vmware? That way you can set up each as you wish and it's just a
> matter of booting up the appropriate virtual machine to test from.
> Easy to move from host machine to host machine that way and no "real"
> hardware required for each instance.
>
>
> 2008/11/10 matt_thomson <[EMAIL PROTECTED]>:
>>
>> Hi, has anyone had situations where they needed a script to run on  
>> any
>> version of PHP, from 4.2 up (inc PHP5). I released a commercial  
>> Joomla
>> component last week that I tested on a couple of PHP 5.2 servers, as
>> you can guess there were mixed results when it was run on servers  
>> that
>> were not updated for up to 3 years.
>>
>> I was thinking I could run an old xammp on another partition, or even
>> buy a couple of cheap plans on servers with php4.
>>
>> Also, are there any versions that would be best to choose, I won't be
>> able to do all of 4.2, 4.3 ,5.0, 5.1 etc etc.
>>
>> Thanks,
>>
>> Matt.
>>>
>>
>
>
>
> -- 
> Chris Hope
> The Electric Toolbox Ltd
>
> Email: [EMAIL PROTECTED]
> Web: www.electrictoolbox.com
> Phone: +64 9 522 9531
> Mobile: +64 21 866 529
>
> >

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to