Suggestions: ssh2 on php, wordpress permissions update
-
Hi there, I've a couple of suggestions for guides/addendums.
Firstly, I'd like a guide on adding ssh support to php - this will let Wordpress automatically update, install plugins/themes etc using sftp. I found a guide, but it doesn't work for me (probably because of the home-compiled php I have).
Secondly, it may be prudent to add a note to the wordpress section to ensure that www-data is a member of webmasters, ensure that the http root is owned by username:webhosts, and then to
sudo chmod -R 775 /home/public_html/site.tld/public/wp-contentSo that the file/image upload works properly.
Also, I may accidentally have installed both php fpm (separate) and php-cgi... Is there any way to know which one is actually getting used, and remove the other one? which php maybe? Installing ssh on php will be different depending on whether we're using package-managed or home-compiled versions.
Many thanks!
Posted 1 year ago # -
hey Will .. good notes, thank you, noted
re your php version, for full details create a sompage.php and add within:-
<?php phpinfo();?>
.. and surf to it.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
