₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,295 members, 8,421,211 topics. Date: Saturday, 06 June 2026 at 12:40 AM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingActivating Wordpress Plugins On Your Localhost On Ubuntu (1250 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 PhoneAccess Denied Access Denied For User ''@'localhost' To Database ''234

Excellent Java Developers Quizzes For Interview PreprationFailed To Write Core Dump. Minidumps Are Not EnabledWeb Developer / Graphic Designer Needed