Re: Differences between PHP on LAMP and PHP on Windows Servers
| From: | Bastien Koert | Date: | Thu, 31 May 2012 15:59:30 +0000 |
| Subject: | Re: Differences between PHP on LAMP and PHP on Windows Servers | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318041@lists.php.net to get a copy of this message | ||
On Thu, May 31, 2012 at 9:38 AM, Matijn Woudt <tijnema@gmail.com> wrote:
> On Thu, May 31, 2012 at 3:29 PM, Gates, Jeff <GatesJ@si.edu> wrote:
>> From: Matijn Woudt
>> <tijnema@gmail.com<mailto:tijnema@gmail.com>>
>> Date: Wednesday, May 23, 2012 3:59 PM
>> To:
>> "ash@ashleysheridan.co.uk<mailto:ash@ashleysheridan.co.uk>"
>> <ash@ashleysheridan.co.uk<mailto:ash@ashleysheridan.co.uk>>
>> Cc: Jeff Gates
>> <gatesj@si.edu<mailto:gatesj@si.edu>>,
>> "php-general@lists..php.net<mailto:php-general@lists.php.net>"
>> <php-general@lists.php.net<mailto:php-general@lists.php.net>>
>> Subject: Re: [PHP] Differences between PHP on LAMP and PHP on Windows Servers
>>
>>
>>
>> On Wed, May 23, 2012 at 9:35 PM, Ashley Sheridan
>> <ash@ashleysheridan.co.uk<mailto:ash@ashleysheridan.co.uk>>
>> wrote:
>> On Wed, 2012-05-23 at 20:54 +0200, Matijn Woudt wrote:
>>
>> On Tue, May 22, 2012 at 8:15 PM, Gates, Jeff
>> <GatesJ@si.edu<mailto:GatesJ@si.edu>> wrote:
>>> Can anyone tell me what differences I might encounter by working with PHP on a Unix
>>> server verses working with PHP on a Windows server. We use Windows production servers here but many
>>> of us would like to get more LAMP environments.
>>>
>>> So, I'm wondering if I can use the hive mind here to get a sense of the pros and
>>> cons of each platform.
>>>
>>> Thanks.
>>>
>>> Jeff
>>
>> Apart from all other suggestions, one of the most common errors are
>> because of different php.ini settings. If you can keep those settings
>> (mostly) equal, there will not be that many errors.
>>
>> - Matijn
>>
>>
>>
>> I would say that's not limited to the distinction between Windows and Linux but any
>> server. I've seen what appears to be an identical setup (same version of PHP, MySQL, etc) fail
>> only because of a small setting in the php.ini file, just because the default was slightly different
>> on the second system; both were running Linux.
>>
>>
>> Yes, ofcourse, that comment was meant for any two systems.
>>
>> - Matijn
>>
>> Well, let me also add a related question: what types of problems might I encounter if I was
>> trying to set up a Drupal or Wordpress instance on a Windows server running PHP as opposed to a Unix
>> server?
>>
>> Jeff
>
> You might need to change a few basic configuration options (paths,
> database, etc) inside Drupal/Wordpress/.., but otherwise those are
> perfectly compatible on Windows & Linux.
>
> - Matijn
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Why not install virtualbox or something similar and install a flavor
of linux and use that to do your dev on? It more closely mimics what
will be the operating environment and would lead to less hassles
--
Bastien
Cat, the other other white meat