File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ index index.php index.html index.htm; # Set index
8585```
8686* Configuration PHP Script and PHP-FPM.
8787
88- ``` bash
88+ ``` conf
8989location ~ \.php$ {
9090 fastcgi_split_path_info ^(.+\.php)(/.+)$;
9191 fastcgi_pass unix:/data/data/com.termux/files/usr/var/run/php-fpm.sock; # Set PHP-FPM for php script
@@ -101,7 +101,7 @@ location ~ \.php$ {
101101* Open php-fpm.d folder and edit www.conf file.
102102* ` cd $PREFIX/etc/php-fpm.d ` and open www.conf file on nano text editor ` nano www.conf ` .
103103* Set your user name if you didn't know than run this command ` whoami ` and copy your termux user name.
104- ``` bash
104+ ``` bashrc
10510528 user = www-data # Set your termux user name
10610629 group = www-data # Set your termux user name
10710741 listen = /data/data/com.termux/files/usr/var/run/php-fpm.sock
@@ -128,7 +128,7 @@ sendmail_path = "/data/data/com.termux/files/usr/bin/msmtp -t"
128128* Go to conf.d directory ` cd conf.d `
129129* Create my.ini file for MySQL or Mariadb configuration.
130130* Run this command ` touch my.ini && vi my.ini `
131- ``` bash
131+ ``` ini
132132error_reporting = E_ALL
133133display_errors = on
134134date.timezone = " Asia/Kolkata" # Replace with your timezone
@@ -139,7 +139,7 @@ post_max_size = 20M
139139
140140### MySQL's my.cnf file
141141
142- ``` bash
142+ ``` cnf
143143# my.cnf
144144[mysqld]
145145port =3306
@@ -169,7 +169,7 @@ max_connections=200
169169* Open .msmtprc file on your Nano Editor.
170170* ` nano .msmtprc `
171171
172- ``` bash
172+ ``` bashrc
173173account default
174174host smtp.mail.com
175175port 587
You can’t perform that action at this time.
0 commit comments