Activating Wordpress Plugins On Your Localhost On Ubuntu - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Activating 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/
|
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
Excellent Java Developers Quizzes For Interview Prepration • Failed To Write Core Dump. Minidumps Are Not Enabled • Web Developer / Graphic Designer Needed