How to configure nginx.conf and php-fpm using brew servinces in MAC-OS in order to run php?

I have following logs in php-fpm log . [19-Jan-2020 15:09:33] NOTICE: [pool www] ‘user’ directive is ignored when FPM is not running as root [19-Jan-2020 15:09:33] NOTICE: [pool www] ‘user’ directive is ignored when FPM is not running as root [19-Jan-2020 15:09:33] NOTICE: [pool www] ‘group’ directive is ignored when FPM is not running as…

Details

Magento 2 | Checkout: Change type of field (telephone)

I want to change the input for the telephone field in the checkout from text to number. I looked into it 2 years ago and created this topic on the Magento community forum: https://community.magento.com/t5/Magento-2-x-Programming/Change-telephone-input-field-to-number/td-p/93660 There were some answers there but none worked. Now two years later another of our customers asks for this but I…

Details

Running two web applications on Apache 2.4

I am trying to run two applications on my Linux apache server: OpenProject pgAdmin (which is WSGI application) And, in order to connect them from remote computer, I use those httpd configuration files: For OpenProject: Include /etc/openproject/addons/apache2/includes/server/*.conf <VirtualHost *:80> ServerName 198.162.12.13 DocumentRoot /opt/openproject/public ProxyRequests off Include /etc/openproject/addons/apache2/includes/vhost/*.conf # Can’t use Location block since it would…

Details

How to generate network interface config file?

On CentOS, is there a way to generate again the network interface config files? The ones stored in /etc/sysconfig/network-scripts/ifcfg-ifaceName It’s quite easy to do manually: Get interface name with ip link show Create config file /etc/sysconfig/network-scripts/ifcfg-ifaceName with following content: DEVICE=”enp1s0″ BOOTPROTO=”dhcp” ONBOOT=”yes” But I assume it’s possible to trigger some script to create them. It…

Details

How to connect from one server to another server`s postgresql database by configuring firewall

I am trying to connect from Ubuntu 16.04 server to Gentoo server`s Postgresql database. But i cannot connect to it. Ubuntu server has internet with static Ip: 93.154.53.88. In my Gentoo server has Ip: 192.168.0.104. I configured my pg_hba.conf also to Ip address of Ubuntu server. But anyway it cannot connect to it. My pg_hba.conf…

Details