Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 20 matches
- Thu Jan 14, 2021 10:01 pm
- Forum: RHEL/CentOS
- Topic: Change Default PHP Version
- Replies: 0
- Views: 70283
Change Default PHP Version
First of all, I did attempt to search for this but I believe that the search function of the forums are broken at the moment. No matter what word(s) you search for, you get this:
The following words in your search query were ignored because they are too common words: default php.
You must specify ...
The following words in your search query were ignored because they are too common words: default php.
You must specify ...
- Mon May 06, 2019 10:24 pm
- Forum: Web Server
- Topic: Error: Let's Encrypt validation status 400
- Replies: 62
- Views: 239928
Re: Error: Let's Encrypt validation status 400
The aforementioned fix in v-add-letsencrypt-domain should address the issue. It has already been committed to the GitHub repo and will be included in the next release. Make sure you're on the latest version of VestaCP.
- Mon May 06, 2019 10:23 pm
- Forum: Web Server
- Topic: Error Code: 15 - SSL - Lets Encrypt
- Replies: 63
- Views: 167495
Re: Error Code: 15 - SSL - Lets Encrypt
The aforementioned fix in v-add-letsencrypt-domain should address the issue. It has already been committed to the GitHub repo and will be included in the next release. Make sure you're on the latest version of VestaCP.
- Sun Mar 18, 2018 5:46 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
Sorry just getting back to ya, but looks like you're right! Both php -v and phpinfo() is showing 7.2. Thanks a ton for the help!SS88 wrote: Sat Mar 17, 2018 7:50 pm No need to restart, just restart Apache as it’s part of the whole thing. As long as you linked php-cgi together too you’ll be fine!
- Sat Mar 17, 2018 6:02 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
Sorry I forgot to tell you to uninstall the php-fpm
Yum remove php72-php-fpm
I completely removed the file "/etc/httpd/conf.modules.d/10-php.conf.bak" so it shouldn't get caught in any wildcard calls.
Then I did "yum remove php72-php-fpm" and getting this:
[root@server01 ~]# systemctl ...
- Sat Mar 17, 2018 5:42 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7 on CentOS 7
Ok,
If you've not done anything else other than use the install commands, you can just remove this file:
/etc/httpd/conf.modules.d/10-php.conf
And restart apache. Make a backup first!
When you say other than use the install commands, if you're referring to the commands you provided to ...
- Sat Mar 17, 2018 5:14 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7 on CentOS 7
That is awesome, thank you!SS88 wrote: Sat Mar 17, 2018 5:10 pm I'm just doing a fresh install now to have a nosy! Will let you know what I find.
- Sat Mar 17, 2018 5:09 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7 on CentOS 7
Ah okay, thanks for clarifying. Do you happen to know how to get PHP7 going when I'm wanting to use Apache instead of nginx by chance?SS88 wrote: Sat Mar 17, 2018 5:04 pm That's correct, nginx + apache does not use php-fpm, that uses phpfcgi.
You need to use nginx + php-fpm
I will update my first post to reflect this.
- Sat Mar 17, 2018 5:00 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7 on CentOS 7
So you did, sorry!
Is there anything in the /etc/php-fpm.d/ directory?
That directory actually doesn't exist for me. The closest thing I have is "/etc/php-zts.d". How should I have done the initial setup when installing via the vst-install script , specifically the WEB part? I chose "nginx ...
- Sat Mar 17, 2018 4:45 pm
- Forum: Web Server
- Topic: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
- Replies: 102
- Views: 1455430
Re: HOWTO: Install PHP7 on CentOS 7
I actually already included that output in my original post you quoted.SS88 wrote: Sat Mar 17, 2018 11:24 am Whenever this happens, run this command to see what's wrong:
Code: Select all
systemctl status php72-php-fpm.service