Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : where this file /etc/php-fpm.d/www.conf located ?



Threaded Mode | Print  

 where this file /etc/php-fpm.d/www.conf located ? (7 Replies, Read 26851 times)
TOMER628
Group: Member
Post Group: Newbie
Posts: 8
Status:
hi !

how can i find this file - i need to edit some content there:
/etc/php-fpm.d/www.conf

i searched a lot but without success

thanks for your help,
Tomer
IP: --   

where this file /etc/php-fpm.d/www.conf located ?
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
If you have installed php-fpm manually, it may conflict with Webuzo's php-fpm binary and cause issues.

Configuration file to php-fpm installed using Webuzo is located at /usr/local/apps/php53/etc

What exactly are you trying to achieve ?

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

where this file /etc/php-fpm.d/www.conf located ?
TOMER628
Group: Member
Post Group: Newbie
Posts: 8
Status:
I installed CENTOS 6 64BIT, after that Webuzo ,and then Lemp via Webuzo search (this in the left side)

i need to do configuration like this guide (above ):
LINK:
http://syntaxheaven.com/configure-nginx-php-fpm-apc-varnish-for-wordpress/

OR part from the guide that i need..

Take note: Double check that the error and access log files actually exist at the location defined.  Finally, in the www.conf  file located at /etc/php-fpm.d/www.conf make the following adjustments.

user = www-data
group = www-data
listen = /var/run/php-fpm.socket
listen.owner = www-data
listen.group = www-data
listen.mode = 0666
listen.allowed_clients = 127.0.0.1
pm = dynamic
pm.max_children = 50
pm.start_servers = 15
pm.min_spare_servers = 5
pm.max_spare_servers = 25
pm.process_idle_timeout = 60s
request_terminate_timeout = 30
security.limit_extensions = .php

(this continue of the guide)

Then, amend the following to the end of the file

php_flag[display_errors] = off
php_admin_value[error_reporting] = 0
php_admin_value[error_log] = /var/log/php5-fpm.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 128M
php_admin_value[session.save_path] = /tmp/

Great!  We are nearly finished.  Lets move on to Varnish.

this the end of what i need to do... so where this file located ?
IP: --   

where this file /etc/php-fpm.d/www.conf located ?
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Path to config file
/usr/local/apps/php53/etc/php-fpm.conf

Assuming you have PHP 5.3 running as the default php-fpm service

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

where this file /etc/php-fpm.d/www.conf located ?
TOMER628
Group: Member
Post Group: Newbie
Posts: 8
Status:
thanks valley, you right... :D
IP: --   

where this file /etc/php-fpm.d/www.conf located ?
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Glad to learn that it worked for you :)

Merry Christmas

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

where this file /etc/php-fpm.d/www.conf located ?
bichuete
Group: Member
Post Group: Newbie
Posts: 1
Status:
I've set the php-fpm file to 1000 max_children and nginx to 3 worker with 10240 each.

Yet no more then 300 php processes are being created. Anybody have one idea on it ? Any other config file that limits it ?

Best regards
IP: --   

where this file /etc/php-fpm.d/www.conf located ?
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Which configuration file did you even edit ?
Could you please confirm ?

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 23, 2024, 12:30 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.020