วันพฤหัสบดีที่ 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

ไม่มีความคิดเห็น:

แสดงความคิดเห็น