Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Install Issues #45

Open
thesupremecommander opened this issue Aug 4, 2013 · 4 comments
Open

PHP Install Issues #45

thesupremecommander opened this issue Aug 4, 2013 · 4 comments
Assignees
Labels
Milestone

Comments

@thesupremecommander
Copy link
Contributor

First, php5-cli is misspelled as pgp5-cli in the script.

Second, php5-fpm fails to start after installation, logging:

[04-Aug-2013 17:19:55] ERROR: No pool defined. at least one pool section must be specified in config file
[04-Aug-2013 17:19:55] ERROR: failed to post process the configuration
[04-Aug-2013 17:19:55] ERROR: FPM initialization failed

Seems like a package error but not sure what to do in that case.

@maxexcloo
Copy link
Contributor

Thanks for the typo notification, I'll fix it ASAP.
As for the PHP FPM error, I honestly only just started testing all these
updated modules so I'll have a look when I get up to it :)

On Mon, Aug 5, 2013 at 7:23 AM, thesupremecommander <
[email protected]> wrote:

First, php5-cli is misspelled as pgp5-cli in the script.

Second, php5-fpm fails to start after installation, logging:

[04-Aug-2013 17:19:55] ERROR: No pool defined. at least one pool section must be specified in config file
[04-Aug-2013 17:19:55] ERROR: failed to post process the configuration
[04-Aug-2013 17:19:55] ERROR: FPM initialization failed

Seems like a package error but not sure what to do in that case.


Reply to this email directly or view it on GitHubhttps://github.com//issues/45
.

@maxexcloo
Copy link
Contributor

Pushed out fix for the first issue (I've been super busy with uni so I'm pretty slow unfortunately)...

@ghost ghost assigned maxexcloo Aug 10, 2013
@thesupremecommander
Copy link
Contributor Author

It seems like it's working now (probably an upstream issue), so I'll close the issue.

However, something that will affect it is the fact that modules/install-framework-php/init.sh has a typo: clean-common on line 35 probably should be common-clean, if it wants to call the function in libraries/module/common-clean.sh.

That function removes the www.conf shipped by default, causing PHP to fail on restart because there are no pools left after that one is removed. Therefore, if the typo is corrected, the first install will cause PHP to fail to start until a pool is added (although that may be desirable).

@maxexcloo
Copy link
Contributor

Fixed the errors relating to common-clean and will look into the www.conf issue 👍

@maxexcloo maxexcloo reopened this Aug 11, 2013
@maxexcloo maxexcloo reopened this Aug 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants