วันจันทร์ที่ 26 กันยายน พ.ศ. 2565

ProFTPD

 


How to replace vsftpd with ProFTPD on a Debian or Ubuntu in Vesta Control Panel

How to replace vsftpd with ProFTPD on a Debian or Ubuntu in Vesta Control Panel ?

1. Disable vsftpd

service vsftpd stop
update-rc.d -f vsftpd remove

2. Install software package

apt-get install proftpd-basic proftpd-mod-vroot

3. Download configuration

wget http://c.vestacp.com/0.9.8/debian/proftpd.conf -O /etc/proftpd/proftpd.conf

4. Change vesta settings

sed -i “s/vsftpd/proftpd/” /usr/local/vesta/conf/vesta.conf

5. Restart proftpd

service proftpd restart

วันพฤหัสบดีที่ 15 กันยายน พ.ศ. 2565

here php.ini is located vestacp

 


myVesta
Site Admin
Posts: 738
Joined: Fri Jun 19, 2020 9:59 am
Re: Where php.ini is located

Post by myVesta » 

crafter wrote: 
Mon Nov 15, 2021 11:15 am
I'm using Debian 10. i use Putty to access ssh as root. I'm a novice so i just copy and paste the command line you put up here and follow instructions. so i input: /etc/php/7.3/fpm/php.ini and got "-Bash: /etc/php/7.3/fpm/php.ini: Permission denied.
In SSH type:

CODE: SELECT ALL

sudo mcedit /etc/php/7.3/fpm/pool.d/your-domain.com.conf
Save with F2 keyboard key.
Exit with ESC keyboard key.

Then restart php7.3:

CODE: SELECT ALL

sudo systemctl restart php7.3-fpm
Also, you cen edit php.ini by typing:

CODE: SELECT ALL

sudo mcedit /etc/php/7.3/fpm/php.ini
but almost all changes you need to do in /etc/php/7.3/fpm/pool.d/YOUR-DOMAIN.COM.conf