Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #3749

Re: php development environment in windows problems

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: php development environment in windows problems
Date 2011-11-10 17:49 +0100
Organization A noiseless patient Spider
Message-ID <4EBC0094.3000705@arnowelzel.de> (permalink)
References <31372438.1123.1320862770001.JavaMail.geo-discussion-forums@yqie15>

Show all headers | View raw


Brian FitzGerald, 2011-11-09 19:19:

> I have been attempting to develop PHP on a windows laptop and then deploy
> to a production Linux server.  The problem I'm running into is
> apparently PHP doesn't run well on windows dev environments... ?

At least with DokuWiki (with proper image scaling using GDLib), Typo3,
Contao, phpMyAdmin and a number of other tools i never had problems with
Windows.

> For example:
>  - certain php functions are missing because apparently windows lacks
> strfmon capabilities

Therefore it is a good idea to avoid functions, which rely on the
existance of certain C library functions, which may not exist on every
platform or may behave different.

> As a result, many things you would expect to run correctly, don't.

*Some* things may not work.

> For example, timthumb, various WordPress themes, well, just about
> any PHP code is really going to be unreliable.

The question is, *why* does timthumb not work? Maybe you just forgot to
enable certain extensions or to configure GDLib or ImageMagick properly
(ImageMagick exists for Windows as well). Some extensions may need
additional stuff, which has to be installed separately.

The same applies to the "various" WordPress themes - you should check,
what *exactly* does not work (check your Apache error logs and/or
configure PHP to log errors and warning).

> Is there a way to make PHP run reliably as a Windows dev environment?

Well - as i already said - i have no problems at all and i also just use
"vanilla" Apache, PHP and MySQL and no prebuilt packages.

Another way would be to use a Linux within a VM. VMware player is for free.



-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

php development environment in windows problems Brian FitzGerald <bmfitzgerald3@gmail.com> - 2011-11-09 10:19 -0800
  Re: php development environment in windows problems www.1-script.com <info_at_1-script_dot_com@foo.com> - 2011-11-09 19:44 +0000
    Re: php development environment in windows problems Brian FitzGerald <bmfitzgerald3@gmail.com> - 2011-11-09 22:01 -0800
      Re: php development environment in windows problems www.1-script.com <info_at_1-script_dot_com@foo.com> - 2011-11-10 23:54 +0000
  Re: php development environment in windows problems Hans Olo <doctor@vaderlishious.com> - 2011-11-10 00:21 -0600
  Re: php development environment in windows problems "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-11-10 09:54 +0100
  Re: php development environment in windows problems Arno Welzel <usenet@arnowelzel.de> - 2011-11-10 17:49 +0100

csiph-web