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 #175952 is a reply to message #175939] Thu, 10 November 2011 08:54 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 09/11/2011 19:19, Brian FitzGerald escribió/wrote:
> 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... ?

First news I have about that, and I've been developing on Windows for years.

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

And certain PHP functions are missing in Unix because they are only
implemented for Windows but that doesn't imply that PHP does not run
well on Unix. You simply have to read the documentation for every new
function you use, and not only for that. Pretty often, your hosting
environment uses an old PHP version and many interesting features are
not available yet.

Whatever, I couldn't find strfmon in the PHP manual. It appears to be a
function from the C standard library. With no PHP code to inspect, it's
hard to suggest a solution about that.


> As a result, many things you would expect to run correctly, don't.
> For example, timthumb, various WordPress themes, well, just about any
> PHP code is really going to be unreliable.

Again, if you are having issues with a third-party library, you should
try to:

1. Read the library specs to know whether your system is supported. The
most typical issue you find with third-party code is that your PHP
version is either too old or too new.

2. Try to solve the precise issue, rather than assuming that there is
not way to fix it unless you buy a new computer.


> Is there a way to make PHP run reliably as a Windows dev environment?
> I really can't just go uninstalling all my development software (PHP,
> Apache, mySQL) and then reinstalling a prebuilt package (xampp, wamp)
> because that's going to create a bunch of problems for me.

What makes you think that using different binaries generated from the
same source code will fix problems with third-party PHP code?



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[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: Sat Nov 23 12:38:06 GMT 2024

Total time taken to generate the page: 0.04445 seconds