Macports-tickets Archive

List Statistics

  • Total Threads: 18434
  • Total Posts: 59396
  #1  
28-07-2011 09:56 AM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by ryandesign@…):

I'm not familiar with how Ubuntu or other package managers do it, but what
you've described sounds like what I planned to do; see #19091.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #2  
28-07-2011 10:15 AM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by andreas@…):

Yeah something like that. I dont know how they do it either but they have
php5-cgi , php5-cli, php5-fpm.

Are we not getting fpm before 5.4 or how does your plan look like ryan?

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #3  
28-07-2011 11:47 PM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by andy@…):

FWIW, I gave up on maacports and have a great php-fpm setup running on
homebrew.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #4  
29-07-2011 07:59 AM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by andreas@…):

I know about brew. Just didnt have the engery to get my fingers into it
yet since i never really had any problems with macports.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #5  
22-08-2011 05:54 AM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by foolswisdom@…):

ryandesign thank you for maintaining so many essential ports!

I recently met the nginx developers and mentioned to them that I felt the
lack of an official php fpm mac port is working against nginx adoption in
PHP projects like the one I contribute to, WordPress.

Whether this approach or #19091 is there something that they can do to
assist getting an official php fpm port? It seems like resolving the
issues you describe in 26039#comment:10 would be essential to get this
moving forward.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #6  
21-12-2011 03:31 PM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

* cc: christopher.pesto@… (added)


Comment:

I've been working on the afore-mentioned php port rewrite, currently
underway in [browser:users/ryandesign/ports/lang/php54 the new php54 port
in my user directory] of the repository. I just added the php54-fpm
subport in r88174. It compiles for me. Can someone test whether it works,
and/or let me know if the port should be printing some setup instructions?
Should there be a startupitem?

Instructions for testing:

First time setup: Get the port definition:

{{{
svn checkout
https://svn.macosforge.org/repository/macports/users/ryandesign/ports/lang/php54
}}}

For all of the below you need to be in the php54 directory, i.e. do this
first:

{{{
cd php54
}}}

To later update the port definition:

{{{
svn update
}}}

To install the php fpm sapi:

{{{
sudo port install subport=php54-fpm
}}}

To see what got installed:

{{{
port contents php54-fpm
}}}

For now you have to deactivate your existing php ports first; I intend to
correct this later.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #7  
21-12-2011 03:34 PM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by ryandesign@…):

You will probably also need to install the main php54 port first with:

{{{
cd php54
sudo port install
}}}

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #8  
13-02-2012 10:02 PM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by MailToArlo@…):

I've successfully installed the fpm subport together with the
apache2handler. I've had no issues on my local environment.
In my opinion there should be some setup instructions as well as a
StartupItem. I have created a patch containing these two additions.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #9  
14-02-2012 02:35 AM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

* cc: MailToArlo@… (added)


Comment:

I committed a different version of these changes in r89882. fpm seems to
work. But the error log file is always empty, even if I load a PHP file
with an error in it. Not sure if I've done something wrong there.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets


  #10  
14-02-2012 10:17 AM
Macports-tickets member admin is online now
User
 

#26039: php5: add fpm support
--------------------------------+-------------------------------------------
Reporter: info@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: php5
--------------------------------+-------------------------------------------

Comment(by MailToArlo@…):

I could successfully install that revision.

Would a PHP error actually show up in the php-fpm logs? Shouldn't that
show up in the file specified by php.ini's error_log directive?

But still php-fpm prints no logs. As far as I can see the problem is that
with daemonize=no the logs are printed only to stdout/err.
IMHO daemonize=yes should be used together with the wrapper shell script
provided by php-fpm which I've used in my patch.
For sudo load to work without an existing config the {{{ --with-fpm-pid
}}} [http://php-fpm.org/wiki/Configuration_File] compile option can be
used.

--
Ticket URL:
MacPorts
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets






NewsArc Lists  |  Culture Pages   |  Computing Archive  |  Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site: