Install Nginx+Mariadb+php on Debian 11

sudo apt install mariadb-server
mariadb --version
sudo systemctl enable mariadb
sudo systemctl status mysql
sudo mysql_secure_installation
 mysql -u root -p
sudo apt install php-fpm php-mysql

php --ini  (path of php.ini file)
file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
upload_max_filesize = 100M
post_max_size = 256M
max_execution_time = 360
max_input_vars = 1536

ulimit -n 
sudo nano /etc/nginx/nginx.conf
worker_connections 1024  ; 1024==ulimit -nε€Ό
server_names_hash_bucket_size 64; 

We will be happy to hear your thoughts

Leave a reply

na.Deal
Compare items
  • Total (0)
Compare
0
Shopping cart