• 0

fording WordPres to support auto-update in Admin-Panel: define( ?WP_AUTO_UPDATE_CORE?,


Question

good evening dear neowin buddies, hello to you!

 

Well : I am using WordPress on my server which only uses SFTP using an SSH

well  - dear friends: t seems that it cannot write to /wp-content directly. At least it seems to be the point. I guess that this is the cause of the issue. Otherwise i guess that the web server would have write access to the necessary files, it will take care of the updates and installation automatically. This method does not require me to have FTP/SFTP or (even more) SSH access, but it does require me to have specific file permissions set up on your webserver.

the question is: how to do that: how to tell the Web-Server this - and how to set the specific file permissions set up on the webserver?

Which mehthods can be used here!?

in other words: how does the configuration file looks - if i add all the necessary directives to the file?
 
does this help here:  I have a wordpress site up and running. Which steps are needed for the site updates... 

a The plugin
b. The theme
c. The whole wordpress

that said - i still wonder if i can go like so!?

Automatically..( that is when I am trying to get the process started in the dashboard ).?
Heard that I have to do some corrections in the configuration file?! Is that correct? Is that the line that should be corrected?
 

 define( ?WP_AUTO_UPDATE_CORE?, true  

 

note: the question is: is this the only correction i need to do in the config-file!?
 
or do i need to do other things too!?

look forward to hear from you guys

 

greetings

 

Greetings

2 answers to this question

Recommended Posts

  • 0

Try edit wp-config.php and add the following:

define('FS_METHOD', 'direct');
define('FS_CHMOD_DIR',0755);
define('FS_CHMOD_FILE',0644);

That should resolve permission issues on more restrictive hosts to allow auto updating of plugins / themes and even WordPress itself.

  • 0

good day dear insane Nutter

many many thanks - i am so happy. I will try out this.

 

this looks really great

i am glad  - i am so glad.and i hope to get to this "convenience mehtod " of update and install the plugins and tthemes

 

greetings

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • The M4 Mac Mini with 16GB of RAM gets a massive discount by Taras Buria If you want to try macOS without spending over a thousand bucks on a MacBook Air or MacBook Pro, the Mac mini is a perfect choice, especially with a new discount that brought the price to a new all-time low—as low as $469, which is a very tempting deal, considering what the M4 Mac mini offers. The M4 Mac mini is the first Mac mini redesign in quite a few years. This tiny desktop computer features two front-facing USB-C ports and a headphone jack, plus an Ethernet port, HDMI, and three Thunderbolt 4 Type-C ports on the back. The computer is powered by a 10-core Apple M4 processor with 10-core graphics, which is one of the most powerful ARM processors for modern computers. You also get 16GB of unified memory and 256GB of fast SSD. Apple claims that this Mac mini is up to 13 times faster than the fastest Intel-based Mac mini. The M4 Mac Mini supports Apple's latest macOS version, like the recently announced macOS 26 Tahoe and all of its features, including Apple Intelligence capabilities. It is also a great choice if you need a versatile desktop PC that can run both Windows on ARM and macOS. Another benefit of this tiny PC is that it draws very little power while offering a powerful processor and graphics. The best part is that it is now 22% off, which saves you $170 off the MSRP ($599). Apple 2024 Mac mini with M4 chip, 16GB RAM, 256GB SSD - $469 | 22% off on Amazon US This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Live activities is pretty cool. For a sports event when the device is on the Lock Screen the score is kept up to date in real time if you want. When in an app a stripped down version appears in the Dynamic Island.
    • I can tell you I don't need one. I use Start11 to make it Win10 styled and add custom game tiles so it's essentially an easier way to launch games than opening Steam but I definitely don't 'need' it and don't use it to launch any applications.
  • Recent Achievements

    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
    • One Month Later
      Karan Khanna earned a badge
      One Month Later
    • Week One Done
      Karan Khanna earned a badge
      Week One Done
    • First Post
      MikeK13 earned a badge
      First Post
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      680
    2. 2
      ATLien_0
      276
    3. 3
      Michael Scrip
      208
    4. 4
      +FloatingFatMan
      172
    5. 5
      Steven P.
      143
  • Tell a friend

    Love Neowin? Tell a friend!