FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php development environment in windows problems
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php development environment in windows problems [message #175959 is a reply to message #175939] Thu, 10 November 2011 16:49 Go to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HELP!!! from PHP 5.16 to 5.3 Unable to load dynamic library
Next Topic: displaying random images with an appropriate caption
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Feb 16 21:10:56 GMT 2025

Total time taken to generate the page: 0.05829 seconds