Nginx-PHP5-FPM-Restart-Fix-on-Ubuntu
                                
                                 Nginx-PHP5-FPM-Restart-Fix-on-Ubuntu copied to clipboard
                                
                                    Nginx-PHP5-FPM-Restart-Fix-on-Ubuntu copied to clipboard
                            
                            
                            
                        Thanks for this!
Do you plan on maintaining this until ubuntu/php get this resolved? I'd love to use the RAW file in a build process.
@howardroark You are welcome! Yes, I am forced to maintain! Otherwise, I'll forget what I did to correct it! You can use it with anything. License is 100% GNU GPL 3.0. You can bring back the problem by the command initctl reload-configuration. signal USR2 has bugs. Be careful if the purpose is not only running a plain WordPress like web application.
Related bug :
Also read this to fix the 1981 expire header if you are re-writing the PHP part - https://thecustomizewindows.com/2015/01/remove-expires-thu-19-nov-1981-php-header-ubuntu-server/ ; HHVM has copy pasted many files from original PHP. Ubuntu/Debian has lot of small problems after the ShellShock fix. That /etc/issues.net does not get executed. That bug is here - https://github.com/AbhishekGhosh/HP-Cloud-ASCII-Logo/issues/1
Thanks for the tip! Yeah I just run small scale PHP apps but every once in a while I get snagged when I forget about this issue. I've bashed my head against the keyboard a few times because of this. I'd rather just ensure it does not happen each time I kick off a project.
No problem mate, you are welcome.