₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,321 members, 8,511,199 topics. Date: Sunday, 01 November 2026 at 03:10 AM

Toggle theme

Activating Wordpress Plugins On Your Localhost On Ubuntu - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Activating Wordpress Plugins On Your Localhost On Ubuntu (1279 Views)

1 Reply

Activating Wordpress Plugins On Your Localhost On Ubuntu by dplumptre(op): 1:43pm On Feb 17, 2016
Hi guys , have you ever tried downloading wordpress on your local server and try to activate a plugin only for you to get a form

requiring you to add your ftp details like the image below , here is a quick solution


navigate to your wordpress folder , I will assume you are using apache



$ cd /var/www/html/


$ ls lart

// to view the list of the dir lets assume your worpress folder is the one below


drwxrwxr-x 7 plumptre plumptre 4.0K Feb 17 13:17 wordpress



//all you need to do is to do chown using the apache name



$ sudo chown -R www-data:www-data wordpress



// so the folder will look something like this


drwxrwxr-x 5 www-data www-data 4.0K Feb 17 12:45 wordpress



Then you are good to go .

Inorder to figure out the apache name you can just put the code below in a file


<?php echo(exec(" whoami " ) ) ; ?>

like in my case this echoed www-data

Hope this helped

you can read some other topics by visiting my blog below

blog : http://overallheuristic.com/blog
site : http://overallheuristic.com
twitter : @dplumptre
fb :https://www.facebook.com/

1 Reply

How To Increase Localhost Xampp Server Memory Limit ! • How To Run Localhost Or Web Server On Your Android Phone • Access Denied Access Denied For User ''@'localhost' To Database '' • 2 • 3 • 4

This Is Serious!!! • A Cinema4d Or Maya Expert Is needed • How To Build Social Network App From Scratch For Android Programmer