Skip to content

Add opcache#1487

Closed
tomberek wants to merge 2 commits intoNixOS:masterfrom
tomberek:addOpcache
Closed

Add opcache#1487
tomberek wants to merge 2 commits intoNixOS:masterfrom
tomberek:addOpcache

Conversation

@tomberek
Copy link
Contributor

Adding OPcache to nixpkgs. Works well with and integrated with e08c7d0. Did not test without that commit, but it should work. I can cherry-pick this off, but I also want to encourage #487

MarcWeber and others added 2 commits January 6, 2014 06:29
php nixpkgs:
  PHP: fpm support (including patches for systemd socket activation)
  nixos systemd unit implementation
  keep old PHP-5.2 working even though its horrible outdated.

  make PHP know about /var/setuid-wrappers/sendmail (path is configurable)

  keep everything in one file, because most code is the same, eg the code to
  build extensions (apc, xdebug, ..)

  Well - yes - there have been quite a lot of changes in nixpkgs master.
  I tried to keep my branch up to date.

nixos:
  provide php-fpm module which figures out how many php-fpm daemoens to use
  automatically. Its still your task to to configure apache/ nginx.
  You do so by using a function returning the socket path based on
  your configuration.
  nixos/modules/services/misc/phpfpm.nix contains a usage example.

  Enabling xdebug is very easy now.

Till this gets merged you can follow the topic branch experimental/php at
github.com/MarcWeber/nixpkgs.

Signed-off-by: Marc Weber <marco-oweber@gmx.de>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be one of stdenv.lib.licenses not string if possible

@peti
Copy link
Member

peti commented Jan 11, 2014

-1

This patch includes massive and seemingly unrelated changes to PHP! I don't like this.

@tomberek
Copy link
Contributor Author

@peti : Yes, as stated in the initial PR, it depends on MarcWeber's pull request #487

@garbas : http://www.php.net/license/ if there is a better way to express that, I'll do it.

@tomberek tomberek mentioned this pull request Jan 13, 2014
@shlevy
Copy link
Member

shlevy commented Mar 14, 2014

@tomberek #487 has been closed, as @MarcWeber doesn't want to bring it in line with the current conventions in nixpkgs. Please feel free to reopen this if you're willing to remove that dependency.

@shlevy shlevy closed this Mar 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants