We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Different PHP version on HTTP and HTTPS
Different PHP version on HTTP and HTTPS
Vesta CP is behaving weird, I were not able to set certificate using Lets encrypt or by copying 3 certificates to SSL input.
I have put certificates manually and set them in /etc/httpd/conf.d/secure.mikrobak.httpd.ssl.conf and opened 443 port in ip.conf file.
This at least opened the 443 port and now https opening with right certificate. But on https and without https it is taking different PHP version
7.4 -> http://secure.mikrobak.com/uploads/
5.4 -> https://secure.mikrobak.com/uploads/
I am out of ideas. I have forced to load specific php version through HTaccess but didn't worked. Neither setting set handler from dns.conf file worked
OS is Centos 7 + Vesta CP Nginx
Please guide.
Thanks
I have put certificates manually and set them in /etc/httpd/conf.d/secure.mikrobak.httpd.ssl.conf and opened 443 port in ip.conf file.
This at least opened the 443 port and now https opening with right certificate. But on https and without https it is taking different PHP version
7.4 -> http://secure.mikrobak.com/uploads/
5.4 -> https://secure.mikrobak.com/uploads/
I am out of ideas. I have forced to load specific php version through HTaccess but didn't worked. Neither setting set handler from dns.conf file worked
OS is Centos 7 + Vesta CP Nginx
Please guide.
Thanks
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Different PHP version on HTTP and HTTPS
Very interesting. May be some diffs in tpl/stpl templates?irbaaz wrote: ↑Mon Jun 14, 2021 6:24 amVesta CP is behaving weird, I were not able to set certificate using Lets encrypt or by copying 3 certificates to SSL input.
I have put certificates manually and set them in /etc/httpd/conf.d/secure.mikrobak.httpd.ssl.conf and opened 443 port in ip.conf file.
This at least opened the 443 port and now https opening with right certificate. But on https and without https it is taking different PHP version
7.4 -> http://secure.mikrobak.com/uploads/
5.4 -> https://secure.mikrobak.com/uploads/
I am out of ideas. I have forced to load specific php version through HTaccess but didn't worked. Neither setting set handler from dns.conf file worked
OS is Centos 7 + Vesta CP Nginx
Please guide.
Thanks
Re: Different PHP version on HTTP and HTTPS
I am not sure I didn't made any changes there. If you can tell me more about this I can configure them manually.grayfolk wrote: ↑Mon Jun 14, 2021 12:31 pmVery interesting. May be some diffs in tpl/stpl templates?irbaaz wrote: ↑Mon Jun 14, 2021 6:24 amVesta CP is behaving weird, I were not able to set certificate using Lets encrypt or by copying 3 certificates to SSL input.
I have put certificates manually and set them in /etc/httpd/conf.d/secure.mikrobak.httpd.ssl.conf and opened 443 port in ip.conf file.
This at least opened the 443 port and now https opening with right certificate. But on https and without https it is taking different PHP version
7.4 -> http://secure.mikrobak.com/uploads/
5.4 -> https://secure.mikrobak.com/uploads/
I am out of ideas. I have forced to load specific php version through HTaccess but didn't worked. Neither setting set handler from dns.conf file worked
OS is Centos 7 + Vesta CP Nginx
Please guide.
Thanks