-
Notifications
You must be signed in to change notification settings - Fork 26
Enhancements for php5-fpm, mysql, etc #3
base: master
Are you sure you want to change the base?
Conversation
…fpm listener, added php5-fpm restart, added methods to add database and grant/add user
|
Looks awesome, I may need to make some tweaks and name changes. Would push a commit likely tomorrow or early next week and would update here with reason behind changes. |
|
Sounds great
|
|
I've started looking at the pull and I've stopped at the MySQL and PHP5 functions as I need to learn more on those. I think I'm about to add some comments against your diff for [my] future reference. Leaving pull open until I find more time to roll up the rest of the code. |
ubuntu.sh
Outdated
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.
apt-packages-update should be included in the provisioning script to allow for batch updates, e.g., adding several PPAs and doing a single update. I've also updated apt-packages-repository to use add-apt-repository so keep the two functions aligned. See 5b46a36.
This commit updates the PHP5-FPM and Nginx configuration functions to create a new pool instead of modifying the default one. We can control how this pool is configured, namely we want PHP5-FPM to listen on a Unix socket which Nginx can connect to. Tested on Lucid and Precise with PPAs 'nginx/stable' and 'ondrej/php5'. See #3 for credits and discussion. Thanks @intel352.
Affects #2