Skip to content

Commit b925936

Browse files
Update README.md
1 parent 0cc4c6b commit b925936

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
8989
location ~ \.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
105105
28 user = www-data # Set your termux user name
106106
29 group = www-data # Set your termux user name
107107
41 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
132132
error_reporting = E_ALL
133133
display_errors = on
134134
date.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]
145145
port=3306
@@ -169,7 +169,7 @@ max_connections=200
169169
* Open .msmtprc file on your Nano Editor.
170170
* `nano .msmtprc`
171171

172-
```bash
172+
```bashrc
173173
account default
174174
host smtp.mail.com
175175
port 587

0 commit comments

Comments
 (0)