-5

I accidentally deleted the php5 www.conf file located at:

/etc/php5/fpm/pool.d/www.conf

is there any way to get a copy of the original file back?

I believe there is an answer to my question located here:

I manually deleted my /etc/php5/ config files and now they don't reinstall

but I currently have a site running on the server, would it not be esaier to simply restore the php5 www.conf file with the original version?

Adrian
  • 67
  • 3
  • 8
  • 3
    Well, about the only way you are going to get back a file that you deleted is by extracting it from backups you have made. – mdpc Jan 25 '15 at 04:22
  • There has to be an easier way, it's a standard unaltered conf file, is there nowhere to aquire an original copy of the www.conf? – Adrian Jan 25 '15 at 05:20
  • yum reinstall or just download php-fpm package and extract it to get that file. – ADM Jan 25 '15 at 11:52
  • @mdpc Nah, it'll be easier to just have puppet replace it from the version-controlled repository, right? – Jenny D Jan 26 '15 at 10:10

1 Answers1

2

Here's a copy of the default file from an installation of PHP-FPM which I have; http://pastebin.com/Jpm1cBqn

Chris Davidson
  • 341
  • 1
  • 6