Skip to content

Build shared pcntl module#3

Merged
jtarchie merged 1 commit intocloudfoundry:masterfrom
hairmare:feature/build-pcntl-extension
Jul 14, 2015
Merged

Build shared pcntl module#3
jtarchie merged 1 commit intocloudfoundry:masterfrom
hairmare:feature/build-pcntl-extension

Conversation

@hairmare
Copy link
Contributor

This builds pcntl as a shared module.

As far as I could tell the module ends up in the php tarball as intended.

Due to the fact that pcntl has been part of php for ages I do not suspect this to be any different in the various php versions supported by the php buildpack.

The pcntl module has been requested in both cloudfoundry/php-buildpack#82 and cloudfoundry/php-buildpack#78.

@hairmare
Copy link
Contributor Author

PInging @flavorjones or @jtarchie. Could you look into this?

@flavorjones
Copy link
Contributor

Pinging @dmikusa-pivotal for thoughts.

@dmikusa
Copy link
Contributor

dmikusa commented Jul 14, 2015

Don't see any reason not to include this extension, as long as it's compiled as a shared library. From what I can tell, it looks like this PR should do that. I didn't build to confirm though.

jtarchie added a commit that referenced this pull request Jul 14, 2015
@jtarchie jtarchie merged commit b608eba into cloudfoundry:master Jul 14, 2015
@jtarchie
Copy link
Contributor

Everything builds fine and tests pass with it.

@hairmare hairmare deleted the feature/build-pcntl-extension branch July 15, 2015 08:39
@flavorjones
Copy link
Contributor

@hairmare can you please confirm that you've either signed the personal CLA or that you're covered by (it looks like) Swisscom's CLA?

Our cfdreddbot missed this PR and this repository, and I'm having trouble manually figuring out if you're covered.

@hairmare
Copy link
Contributor Author

@flavorjones I'm covered by the Swisscom CLA.

Thanks, I was already wondering why @cfdreddbot wasn't pesky ;)

@flavorjones
Copy link
Contributor

Sweet, thanks!

@jtarchie
Copy link
Contributor

@hairmare, the cf-binary-beta branch of the PHP buildpack supports this latest changes. It would be awesome to get your feedback that they work for you. Thanks.

@hairmare
Copy link
Contributor Author

@jtarchie I just checked and everything looks ok on the cf-binary-beta branch. pcntl installs and also works as intended. You can find the code I used to check in my cf-ex-pcntl repo. It's basically just a quick hack based on this example from the PHP docs.

@flavorjones
Copy link
Contributor

Awesome, thanks so much for the contributions, @hairmare!

ramonskie added a commit that referenced this pull request Feb 27, 2026
- (#1) output: fix Commit() using shell || operator with Runner; now runs
  git diff --cached --quiet first and only commits when changes are staged
- (#2) fetch: add 10-minute timeout to HTTP client (was http.DefaultClient)
- (#3) archive: remove unused globs parameter from Pack
- (#4) simple: fix YarnRecipe mutating src.Version; use local var and set
  outData.Version explicitly so findIntermediateArtifact can locate the file
- (#5) nginx: fix misleading comment claiming custom args are prepended
- (#6) nginx: use slices.Concat instead of append onto package-level slice
- (#7) passthrough: extract moveFile into internal/fileutil.MoveFile with
  cross-device (EXDEV) fallback; use it in both passthrough.go and main.go
- (#8) go_recipe: move bootstrap URL from hardcoded constant into stack YAML
  (go.bootstrap_url) following the same pattern as jruby.jdk_url
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.

4 participants