The error message displayed is:
“Connection Information: To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.”
This occurs due to permission issue. Check ownership of files.
The reason is that certain files in your wordpress installation directory cannot be written to, as they’re not owned by the user running the apache process.
To find out the user runing apache, put the following code in a file testeuser.php and run it:
<!--?php echo(exec("<span class="hiddenSpellError" pre=""-->whoami")); ?>
For me, it outputs:
So I have to change ownership of my htdocs folder:
[[email protected]] ~/domains/htdocs #chown -R rt6004.www-data *
Here, rt6004 is the user and www-data is the group.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.