-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
Apply configurations to all possible conf directories on Debian #89
Conversation
owner: root | ||
group: root | ||
mode: 0644 | ||
with_items: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's just one item, let's just use the shorthand:
with_items: "{{ php_conf_paths }}"
|
||
__php_apc_conf_filename: 20-apcu.ini | ||
__php_opcache_conf_filename: 05-opcache.ini | ||
__php_fpm_daemon: php5-fpm | ||
__php_fpm_pool_conf_path: "/etc/php5/fpm/pool.d/www.conf" | ||
__php_fpm_conf_path: "/etc/php5/fpm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to add this variable because of Debain madness.
Hmmm: Currently RedHat has: __php_conf_path: /etc
__php_fpm_pool_conf_path: "/etc/php-fpm.d/www.conf" But then this is in
Edit: Also where should |
Tests confirm that |
Looks good to me? |
I'm not sure about the source install on RedHat. I'll run some tests to make sure. Are there two conf paths on RedHat? From the previous config it seems there is both |
@oxyc - K, pending those results, I'll merge it in tonight or tomorrow morning. Working on a few other roles tonight. |
Not sure I'll get it done tonight. Found some other bugs as well. Really need to upgrade my internet connection so I can start building these containers locally.. |
Seems that the |
Don't have time to dig in now, but did we create that file using |
We do not. It's available after installed from a package manager but not when installed from source. Also the file has never been included on RedHat (the path was incorrect in |
I'm also looking into this now (a little at least) as I'm working on some drupal-pi improvements, as I'm seeing the same:
|
I had to give up. Think I need to install php 7.0 and play around properly. I think this was broken before this patch though. Currently I need a break from these crazy configs (I also read the paths have changed AGAIN for php7 on ubuntu when installed from the ppa...) Here's a few notes from things I attempted (still couldn't solve it though). Maybe you can solve it. oxyc@32d91a5 oxyc@f248498 Made sure the pool conf existed before modifying. Guess this is incorrect and we should add the file somehow. oxyc@5e116f1 oxyc@72873e8 |
It was definitely broken before this PR; I'm using that for testing on Debian Jessie, and it's breaking at the same spot. So I'll see if I can at least get that fixed. I think we're safe to merge this, then fix the install-from-source issues in a separate PR, what do you think? |
I think it's safe. There's one questionable commit that might affect php7 with fpm though 9eadfc1, this change was what prompted me to test php7. |
Apply configurations to all possible conf directories on Debian
… Add note for root password issues and document sudo requirement.
geerlingguy/ansible-role-php-xdebug#26 (comment)