hi
I have created several pools , In the directory
/etc/php-fpm.d/
The pool's requirements are as follows
listen = 127.0.0.1:9001
listen.owner = mn
listen.group = mn
And other settings
Virtual Host Settings
<VirtualHost 192.168.20.245:80>
ServerName mn
DocumentRoot /home/mn/public_html
ServerAlias mn
ErrorLog /var/log/httpd/mn-error.log
CustomLog /var/log/httpd/mn-requests.log combined
<Directory /home/mn/public_html>
Options -Indexes -ExecCGI -FollowSymLinks -Includes
</Directory>
DirectoryIndex index.php
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9001"
</FilesMatch>
<IfModule mod_fastcgi.c>
AddType application/x-httpd-fastphp5 .php
Action application/x-httpd-fastphp5 /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /var/fastcgi/php5.fcgi -socket 127.0.0.1:9001
<Directory /usr/lib/cgi-bin>
Require all granted
</Directory>
</IfModule>
</VirtualHost>
In the next pool I've set up another port and I've done this
#Question
How to use the file path instead of the port ?
#Question
When I search the plugin online in WordPress, I get this error
Is it linked to php-fpm?
[pid 19297:tid 140092261738240] [client 192.168.20.254:36778] AH01071: Got error 'PHP message: PHP Warning:
An unexpected error occurred.
Something may be wrong with WordPress.org or this server�s configuration. If you continue to have problems
, please try the <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure
connection to WordPress.org. Please contact your server administrator.) in /home/mn/public_html/wp-admin/includes/translation-install.php
on line 66\n', referer: http://192.168.20.245/wp-admin/
https://ibb.co/eyRYfF
Thanks
PHP version 5.6.30
OS : centos 7.3
webserver : apache 2.4.6
---------- Post updated at 04:41 PM ---------- Previous update was at 04:40 PM ----------