damainman
Forum Replies Created
-
I finally solved the issue but I did multiple things at once so not sure which one specifically solved the situation but I’m guessing it was enabling getmyuid and getmypid in my php functions.
Basically i re-enabled these functions and removed eaccerlator.
1. pclose
2. set_time_limit
3. getmyuid
4. getmypidNow it never asks me for FTP information when trying to update from Admin, and so far everything upgrades perfectly with no errors and no issues.
But thank you to everyone who participated in my quest for the answer lol :). Much appreciated.
Finally i can rest!! for a bit.
Would having the libssh2 php extension installed resolve this issue? Been browsing the WordPress files and in the “class-wp-filesystem-ssh2.php” file it mentions this.
I’m still reading multiple posts but not directly related to my issue, but very similar. Am I correct assuming that for WordPress to use the autoinstaller without needing FTP credentials, it uses the SSH2 function?
I guess maybe if I understand what type of method wordpress uses when it is able to autoinstrall without needing FTP credentials, I might have a better idea on where to look to fix the issue on my server.
Forum: Fixing WordPress
In reply to: Will disabling any of the following php functions affect WordPress?How would I go about that? My local computer is both mac and windows but never attempted to search for text inside files before…..
Well his method doesn’t work for me because it’s exactly how my server currently functions. However, i’m still unable to get wordpress to work without requiring FTP credentials.
If you find a solution please update this post because my hair is going gray lol.
In order for this to work, the user that ‘owns’ the web server process (apache/www-data/httpd are some common ones) needs write permissions to the wordpress directories and their files. It’s this process that does the download, unpack and overwrite of the files.
If you transferred the files over (ftp upload?), it’s probable that all the files are owned by your user and group, so I’d recommend a review of the ownerships and group permissions on the files.
You may think that making the files world writeable could be a quick and dirty fix to the problem, but the security ramifications are dire, so that would be most strongly discouraged.
However he just replied and didn’t realize my server has suphp installed and the highest all files can run is under 755 and not 777.
I’m still trying to figure out what might cause my server to not do plugin install/upgrades without needing the FTP credentials. No luck so far though.
Okay been doing research on other forums as well. Some people claim the Server settings that WordPress needs to accomplish this without the FTP method via the dashboard opens up a huge security risk.
Can anyone advise?
Forum: Fixing WordPress
In reply to: Automatic upgrade from 2.8.3 to 2.8.4 failed – no errors givenIs that file compatible with 2.8.5 / 2.8.6? Any idea if it might solve the issue of plugins not updating via the wordpress dashboard?
Thank you in advance :).