Re: [users@httpd] Re: Related question on having multiple subdomains on one host

2021-04-09 Thread Richard
> On 04/09/2021 03:50 PM, H wrote: > I have been trying to configure running both php 7.0 and 7.2 on > one host, certain sites using the former and others the latter. While you say you need to run both php 7.0 and 7.2 I don't see that you have explained why. I scanned through the changelogs

[users@httpd] Re: Related question on having multiple subdomains on one host

2021-04-09 Thread H
On 04/09/2021 03:50 PM, H wrote: > I have been trying to configure running both php 7.0 and 7.2 on one host, > certain sites using the former and others the latter. That's another thread > though. > > However, I have some more questions given that my configuration is > x.x.x.x/site1, x.x.x.x/sit

Re: [users@httpd] Related question on having multiple subdomains on one host

2021-04-09 Thread H
On 04/09/2021 05:59 PM, Jonathon Koyle wrote: > Do reach of your virtual hosts have a unique ServerName? x.x.x.x is not a > very descriptive example. No, they all had just the external IP address where I put x.x.x.x. - To unsub

Re: [users@httpd] Related question on having multiple subdomains on one host

2021-04-09 Thread Dino Ciuffetti
9 aprile 2021 21:51, "H" wrote: > etc, I have separate conf files in /etc/httpd/conf.d/, one for each of site1, > site2 etc, using this > format: > > > ServerAdmin > ServerName x.x.x.x > DocumentRoot /var/www/html/ > Include /etc/httpd/conf.d/rh-php70-php-fpm.conf > ErrorLog /var/log/http

Re: [users@httpd] Related question on having multiple subdomains on one host

2021-04-09 Thread Jonathon Koyle
Do reach of your virtual hosts have a unique ServerName? x.x.x.x is not a very descriptive example.

[users@httpd] Related question on having multiple subdomains on one host

2021-04-09 Thread H
I have been trying to configure running both php 7.0 and 7.2 on one host, certain sites using the former and others the latter. That's another thread though. However, I have some more questions given that my configuration is x.x.x.x/site1, x.x.x.x/site2 etc, I have separate conf files in /etc/

Re: [users@httpd] prompting for user+passwd for a websocket proxied url

2021-04-09 Thread @lbutlr
On 09 Apr 2021, at 03:08, karrageorgiou giannis wrote: > have a ws:// url proxied That's a new one for me, what is ws:// ?? -- "Some cause happiness wherever they go; others, whenever they go.." - Oscar Wilde - To

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread H
On 04/09/2021 11:29 AM, H wrote: > On 04/08/2021 09:30 PM, Bender, Charles wrote: >> You're making this very difficult for yourself by having 2 different >> versions of PHP installed on 1 server box. Even if you get working >> maintaining will be challenging. >> >> Suggestion- run PHP and PHP-FPM

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread H
On 04/09/2021 12:18 PM, Daniel Ferradal wrote: > No, specifically pruning everything you don´t need. > > That list of modules is not normal, and there is probably lots of > configuration associated with them you are not using either. If I were > you I would end up with a quite simple config with on

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread Daniel Ferradal
No, specifically pruning everything you don´t need. That list of modules is not normal, and there is probably lots of configuration associated with them you are not using either. If I were you I would end up with a quite simple config with only the modules I really need. El vie, 9 abr 2021 a las

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread H
On 04/09/2021 11:48 AM, Daniel Ferradal wrote: > That´s probably it. You still have php7_module, and are probably > pointing to it somewhere in your config. For the looks of it you need > a serious and thorough cleanup of your configuration that you haven´t > done yet. > > Like we told you earlier,

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread Daniel Ferradal
That´s probably it. You still have php7_module, and are probably pointing to it somewhere in your config. For the looks of it you need a serious and thorough cleanup of your configuration that you haven´t done yet. Like we told you earlier, get rid of that module. As for your question: You just n

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread H
On 04/09/2021 06:03 AM, Daniel Ferradal wrote: > Looks correct yes. But still lots of things you are not showing could be > wrong. > > To solve issues you have to go one thing at a time, you know for sure > apache is pointing to different ports, if you disabled mod_php. Now > you must make sure th

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread H
On 04/09/2021 04:00 AM, Dino Ciuffetti wrote: >> This is from ps aux | grep fpm: >> >> root 17004 0.0 0.6 339008 11244 ?Ss 01:18 0:00 php-fpm: >> master process >> (/etc/opt/rh/rh-php70/php-fpm.conf) >> apache 17005 0.0 0.3 339112 7352 ?S01:18 0:00 php-fpm: >>

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread H
On 04/08/2021 09:30 PM, Bender, Charles wrote: > You're making this very difficult for yourself by having 2 different versions > of PHP installed on 1 server box. Even if you get working maintaining will be > challenging. > > Suggestion- run PHP and PHP-FPM in separate Docker containers on same s

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread Daniel Ferradal
Looks correct yes. But still lots of things you are not showing could be wrong. To solve issues you have to go one thing at a time, you know for sure apache is pointing to different ports, if you disabled mod_php. Now you must make sure the fpm pools are correct, both versions listening to each po

[users@httpd] prompting for user+passwd for a websocket proxied url

2021-04-09 Thread karrageorgiou giannis
dear apache users, I have a ws:// url proxied with a ProxyPass/ProxyPassReverse statement (e.g ProxyPass /myWsUrl "[localhost listener]") and an access statement: require user myUser the access protection works, because I get a "GET /myWsUrl HTTP/1.1" 401 line in the access log, and the browser g

Re: [users@httpd] Running php 7.0 and 7.2 for different websites with apache

2021-04-09 Thread Dino Ciuffetti
> This is from ps aux | grep fpm: > > root 17004 0.0 0.6 339008 11244 ?Ss 01:18 0:00 php-fpm: > master process > (/etc/opt/rh/rh-php70/php-fpm.conf) > apache 17005 0.0 0.3 339112 7352 ?S01:18 0:00 php-fpm: > pool www > apache 17006 0.0 0.3 339112 7356 ?