LEMP par wordpess install hone ke baad plugin install nahi ho rahe?


(rahul singh) #1

Hlo Sir,
sir maine digital ocean pr Lemp ko menualy install kar liya hai but ab koi bhi naya plugin and theme ko upload ya install kar raha hu to ftb ke details mang raha hai.jo mujhe samajh nahi aa raha kya karoon pls bataye.mai screenshot bhi de raha hu.


(Jumedeen khan) #2

Aap installation process me mistake ki hai aur kuch command miss kar di hai. Abhi wp-config.php file me ye code add karo.

define('FS_METHOD', 'direct');

Ab ye command run karo problem solve ho jayegi.

sudo chown -R www-data /var/www/html


(rahul singh) #3

sir dobara new install karne pr koi bhi theme nd plugin update nd upload karne pr ye aa raha hai
“Installation failed: Could not create directory.”


(Jumedeen khan) #4

wordpress dashboard me login karne ke bad ye command use karo. Permission ki wajah se aesa hota hai.

sudo chown -R www-data /var/www/html


(rahul singh) #5

Hlo Sir
sir ab sab saari settings ok hai site par but ek problam create ho rahi hai.wo ye hai ki maine genesis theme to upload ho gayi hai but uski child theme parallax pro theme upload nahi ho rahi hai.uska screen shot dekh kr kuch idea de.thank u sir.


(Jumedeen khan) #6

Ye error large file ki wajah se aata hai aapko file limit change karni hogi jiski jankari yaha hai.


(rahul singh) #7

mujhe ek baat aur pta karni thi ki jab hum cyberduck ke through koi zip file upload karte hai to ho jaati hai but baad me jab usko expand archive karte hai too wo nahi ho rahi bahut time try kar liya.interoperability failure error show ho raha hai kya karu?


(Jumedeen khan) #8

Aap zip unzip file install karo uske bad file expand karo ho jayegi. ye command hai.

sudo apt install zip unzip


(rahul singh) #9

HLO SIR
sir aapne ‘413 Request Entity Too Large’ ke liye jo command bataya hai.usme ye command- ‘sudo nano /etc/nginx/nginx.conf’ type karne ke baad jo section open hota hai usme jab-‘client_max_body_size’ ye text search karte hai too wo not found aa raha hai too fir usko kese change karu.nd baki ke saare command sahi kaam kar rahe hai aur search karke change bhi ho rahe hai but jab tak ye change nahi hoga tab tak prosis pura nahi hota hai.mai paresan hu kya karoon.


(Jumedeen khan) #10

Kisne bola search karne ko ye line server block me add karni hai, example,

server {

client_max_body_size 100M;

}

Ye block already hoga usme kahi bhi add kar do.

Dear ye coding work hai, bina knowledge ke nahi kar paoge thoda sikh lo taki samajh aa sake ki kaha kya karna hai.


(rahul singh) #11

Ye saare command use kar liye phir bhi theme upload nahi ho rahi hai but media files ka size 2 mb se 100mb ho gya hai kya kru:pensive:


(Jumedeen khan) #12

Aapne settings proper nahi ki hai. Aap please digitalocean ke articles read kare aur ubuntu commands ko sahi se samajhe