Search found 766 matches

by myVesta
Mon Jan 30, 2023 1:07 pm
Forum: PHP
Topic: Widening open_basedir
Replies: 0
Views: 41

Widening open_basedir

open_basedir is a restriction to prevent a website from accessing any paths on the server that are not authorized, such as the paths to other domains on shared web servers, or to access the hosting software. The open_basedir function defines the locations or paths from which PHP is allowed to acces...
by myVesta
Fri Jan 27, 2023 12:47 pm
Forum: General discussion
Topic: safe way to reinstall roundcube?
Replies: 6
Views: 1783

Re: safe way to reinstall roundcube?

compiz wrote: Wed Sep 08, 2021 11:38 am Now i am getting
"CONFIGURATION ERROR
config.inc.php was not found.
Please read the INSTALL instructions!"
see viewtopic.php?t=37
by myVesta
Fri Jan 27, 2023 11:27 am
Forum: PHP
Topic: How to to run PHP script every hour (how to add php to cron)
Replies: 0
Views: 43

How to to run PHP script every hour (how to add php to cron)

For example, let's say you want to run php script example.com/pinn/insertDataMain.php every hour. First check what PHP version you are running. Screenshot_117.png Then go to Add cron: Screenshot_118.png Because we are running PHP 8.0 and our URL is example.com/pinn/insertDataMain.php and let's say w...
by myVesta
Sun Jan 22, 2023 12:04 pm
Forum: Mail
Topic: SSL support for SMTP and IMAP for mail.somedomain.com
Replies: 11
Views: 4571

Re: SSL support for SMTP and IMAP for mail.somedomain.com

Thank you very much, I think HestiaCP has similar solution, we planned to use that, because we are basically the same panel.
by myVesta
Sat Jan 07, 2023 8:33 pm
Forum: PHP
Topic: Apache-less variant - PHP-FPM Upgrade from PHP 7.3 to PHP 8.1
Replies: 2
Views: 247

Re: NGINX / PHP-FPM Upgrade from PHP 7.3 to PHP 8.1

instead of sudo apt-get purge php7.* do the following: sudo update-alternatives --set php /usr/bin/php7.3 sudo mv /etc/php/7.3 /root/7.3 sudo mv /etc/php/7.4 /root/7.4 sudo mv /etc/php/8.2 /root/8.2 sudo apt update sudo apt remove --purge php7.3-fpm sudo apt remove --purge php7.4-fpm sudo apt remove...
by myVesta
Sat Jan 07, 2023 12:40 pm
Forum: General discussion
Topic: Shows: 502 Bad Gateway
Replies: 1
Views: 67

Re: Shows: 502 Bad Gateway

Probably your server has small RAM.
Restarting server will bring back all services.
by myVesta
Thu Dec 29, 2022 3:57 pm
Forum: Update
Topic: Upgrade Debian from 10 to 11
Replies: 2
Views: 120

Re: Upgrade Debian from 10 to 11

I'm not recommending upgrade from deb10 to deb11 until we make walkthrough tutorial for that - because exim4 needs total fresh config file, and there are few things to execute in order to make upgraded deb11 working fine.
by myVesta
Wed Dec 21, 2022 2:24 pm
Forum: nginx templates
Topic: Your .env file is available in public - how to prevent this
Replies: 1
Views: 413

Re: Your .env file is available in public - how to prevent this

Automatically do it with: NOTFOUNDVAL='.env' OLDVAL=" location ~ \/\\\.ht {return 404;}" NEWVAL=" location ~ \/\\\.ht {return 404;}\n location ~ \/\\\.env {return 404;}" find /usr/local/vesta/data/templates/web/nginx -type f \( -name "*.tpl" -or -name "*.stpl"...