Jump to content


Photo

I Need PHP

build

  • Please log in to reply
7 replies to this topic

#1 bsmither

bsmither

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts
  • LocationRocky Mountains

Posted 12 June 2014 - 04:40 PM

I need a location where I can download a build of PHP 5.4 or 5.5 for Windows (Server 2008) with FPM compiled within it.

 


Just waiting until my question gets answered.


#2 trq

trq

    Advanced Member

  • Administrators
  • 30,995 posts
  • LocationSydney, Australia.

Posted 12 June 2014 - 06:00 PM

http://php.net

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#3 bsmither

bsmither

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts
  • LocationRocky Mountains

Posted 13 June 2014 - 12:22 AM

Nope.

 

For Windows, with FPM compiled in it.

 

I've been to windows.php.net/download/ numerous times (see http://forums.phpfre...ariants-of-php/), tried a large number of packages.

 

I need the FPM compiled in it. I've not found a repository that explicitly or implicitly hints that FPM is compiled in the binary -- or however it comes.


Just waiting until my question gets answered.


#4 Psycho

Psycho

    Advanced Member

  • Gurus
  • 10,778 posts
  • LocationCanada

Posted 13 June 2014 - 02:14 AM

According to the FPM site

PHP-FPM is now included in PHP core as of PHP 5.3.3. This website does not have much information on it anymore, as the documentation and support should be moving and integrated into the main PHP website.

The quality of the responses received is directly proportional to the quality of the question asked.

I do not always test the code I provide, so there may be some syntax errors. In 99% of all cases I found the solution to your problem here: http://www.php.net

#5 bsmither

bsmither

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts
  • LocationRocky Mountains

Posted 13 June 2014 - 11:10 AM

Been to that site as well. It is virtually abandoned and completely irrelevant.
 
The documentation and support that is supposed to be at the main PHP website is incredibly sparse.
 
In PHP 5.5.6, phpinfo(), says, in parts:
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--with-enchant=shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
 
Server API CGI/FastCGI

SAPI Modules
Contribution: Authors
CGI / FastCGI: Rasmus Lerdorf, Stig Bakken, Shane Caraveo, Dmitry Stogov
FastCGI Process Manager: Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet
ISAPI: Andi Gutmans, Zeev Suraski
NSAPI: Jayakumar Muthukumarasamy, Uwe Schindler

 

I notice how the configure disables isapi and nsapi, yet the modules are still listed in the credits. That leads me to believe that even though FPM is listed in the credits, that is not to assume the module is compiled in.

 

Also, there is no distinct section for FPM, like 'filter', 'ftp', and 'gd'.

 

I have a file called 'snapshot.txt' (came with the PHP package) that lists all the built-in extensions. FPM isn't listed.

 

So, I appreciate the replies, but they are not an answer to the request.


Just waiting until my question gets answered.


#6 bsmither

bsmither

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts
  • LocationRocky Mountains

Posted 18 July 2014 - 11:03 PM

Stumbled across this stack: WempServer

 

Claims to have PHP-FPM, and indeed, once installed, I see the php-fpm.exe file.

 

I put the executable in my PHP 5.5.6 x64 folder but realize this WempServer stack is x86. So I create a PHP 5.5.14 x86 folder and use that.

 

Just to what would happen, I started (double-clicked on) the php-fpm.exe file. I get a custom (that is, not within the cmd window) alert window that says the proper usage is: php\php-fpm -b 9000 (1-65535)

which I take to mean I can use any number between 1 and 65525 instead of 9000.

 

This command format is almost identical to the php-cgi command line format, I figure it should work, and if it doesn't, I would expect a more detailed cause of what's wrong.

 

But, no!! Every time I try to start this puppy, I get the Incorrect Usage window (as I said, a custom alert window with "See website for info"). There is no info!

 

Q: Will php-fpm.exe run, if given proper command line parameters, without a php-fpm.conf file? (php.ini is in the installed directory)


Edited by bsmither, 18 July 2014 - 11:04 PM.

Just waiting until my question gets answered.


#7 Ch0cu3r

Ch0cu3r

    Advanced Member

  • Moderators
  • 2,221 posts

Posted 19 July 2014 - 03:23 AM

 

 

I put the executable in my PHP 5.5.6 x64 folder but realize this WempServer stack is x86. So I create a PHP 5.5.14 x86 folder and use that.

Why dont you just use php-fpm with WEMPServer? The php-fpm exe is most likely compiled to the PHP version bundled with WEMPServer, which means you cannot just copy it from one installation of PHP to another.

 

Commands to use WEMPSever are here


Edited by Ch0cu3r, 19 July 2014 - 03:24 AM.


#8 bsmither

bsmither

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts
  • LocationRocky Mountains

Posted 19 July 2014 - 08:05 AM

I am sorry to say that your "Why don't you..." response is disagreeable to me on several levels.

 

Primarily, if I were to have already accepted the inscrutable reality of all of this and dumped my initial (and still current) environment, I would have gone the "can't be bothered to understand" user route and installed a preconfigured LAMP image (similar to pfSense).


Just waiting until my question gets answered.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com