Configure Nginx + PHP-FPM Using Unix Sock

title says nginx but task asks to configure httpd with php-fpm

Hi, thanks for pointing this out. Made the necessary corrections.

1 Like

Can you please also extend the expiry date of the task

if i pause (out of office) my profile the task already in my account will expire ?

The expiry date/days are preset for every task so can not be changed for a user. I will let you know about the second question.

Hi @hardiku87

If task is already assigned then it will expire after the due date if not completed. (even if you are OOO) but during that time you won’t be assigned any new task.

In this Task,

Is anyone using Apache with FastCGI ? or PHP-FPM. I am not sure if there is specific requirement or of there is a separate output for using php-fpm instead of php-fcgi

1 Like

Configure Apache + PHP-FPM Using Unix Socket

Looking for assistance with the above task

Install php-fpm -done
Configure php-fpm to use unix socket - done
Configure Appache to make it work with php-fpm - Pending
Install mariadb-server and mariadb packages on database server - done
Create DB,user, Grant full permission - done
Import existing DB dump into newly created database - done
Configure Wordpress to use the database you configured -Pending

  1. Configure Appache to make it work with php-fpm - Pending
    a.
    edit /etc/php-fpm.d/www.conf as below
    listen = /run/php-fpm/default.sock
    user = apache
    group = apache
    listen.allowed_clients = 127.0.0.1
    listen.owner = apache
    listen.group = apache
    listen.mode = 0660
    b.
    Do we need to use FPM as default for all virtual hosts ?

2.Configure Wordpress to use the database you configured -Pending
Modifying the DB name, user, password and DB server to stdb01
is there any additional step required?

Could someone share your inputs?

1 Like

Hi All,

Did someone had an opportunity to complete this task?

Regards,

@Dikshant99 Hey Mate, saw you posted that you performed this task. could you share your inputs?

Configure Apache + PHP-FPM Using Unix Socket

Looking for assistance with the above task

Install php-fpm -done
Configure php-fpm to use unix socket - done
Configure Appache to make it work with php-fpm - Pending
Install mariadb-server and mariadb packages on database server - done
Create DB,user, Grant full permission - done
Import existing DB dump into newly created database - done
Configure Wordpress to use the database you configured - Pending

  1. Configure Appache to make it work with php-fpm - Pending
    a.
    edit /etc/php-fpm.d/www.conf as below
    listen = /run/php-fpm/default.sock
    user = apache
    group = apache
    listen.allowed_clients = 127.0.0.1
    listen.owner = apache
    listen.group = apache
    listen.mode = 0660
    b.
    Do we need to use FPM as default for all virtual hosts ?

2.Configure Wordpress to use the database you configured -Pending
Modifying the DB name, user, password and DB server to stdb01
is there any additional step required?

Could someone share your inputs?