• I have did the one-click several times and it will not update. Why is that? I am on localhost. I have more than one site on localhost and none will update.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hey @chuckm97,

    From localhost we can’t update the wordpress, because wordpress required FTP detail. There are 2 way to update wordpress at local.

    1) Add below code in wp-config.php file, then you will not require to install FTP service.

    define('FS_METHOD','direct');

    OR

    2) You will require to install FTP service on you local and put below code in wp-config.php file

    define("FTP_HOST", "localhost");
    define("FTP_USER", "yourftpusername");
    define("FTP_PASS", "yourftppassword");
    • This reply was modified 7 years, 11 months ago by guvishal.

    @chuckm97

    What operating system (Win, Mac, Linux) and which local server (XAMPP, WAMP, MAMP, etc.) are you using?

    What is the exact error that you are getting?

    One most certainly can update WP on a local install using the “Update” link in the Dashboard; no need for FTP.

    I have done so very many times on both Win and Mac with MAMP, XAMPP, WAMP and Uniform Server.

    Cheers!
    Lyle

    • This reply was modified 7 years, 11 months ago by snifflevalve. Reason: typo and more info

    Chuck, can you show us the exact error message you get?

    Also have you made sure that your perms are set correctly?

    Thread Starter Chuckm97

    (@chuckm97)

    Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp\www\ChucksBlog\wp-admin\includes\class-wp-filesystem-direct.php on line 79
    I guess the perms are ok since the site works without this update

    Thread Starter Chuckm97

    (@chuckm97)

    Windows 10 with wamp but wamp won’t update either because it says the files are already there, choose another directory

    Thread Starter Chuckm97

    (@chuckm97)

    Now why would I have to use a FTP service to update it. I have a FTP service but have never had to use it to update WordPress

    Try increasing the max_execution_time.

    – stop Apache if it is running
    – click on the WAMP icon in the system tray, select PHP > php.ini
    – do a Find for max_execution_time
    – increase the value to something like 300 > Save
    – restart Apache

    As for updating WAMP, that is something best asked on the WAMP forum/docs.

    Thread Starter Chuckm97

    (@chuckm97)

    Well changing the maximun-execuition_time worked. I changed it to 500 for the first site and it updated WordPress. On the second site which is almost exactly like the first one I had to change it to 1000 before it would update.

    Trying to update to WordPress 4.7 on WAMP localhost. Getting error again and again.
    This error is coming…Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp64\www\wordpress\wp-includes\Requests\Transport\cURL.php on line 46.
    Please suggest hoe can I update it.

    Warning: An unexpected error occurred. Something may be wrong with www.remarpro.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.remarpro.com. Please contact your server administrator.) in C:\xampp\htdocs\myfirstwebsite\wordpress-4.7.5\wordpress\wp-admin\includes\update.php on line 122
    I am having the same issue please help…thank you…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Updating to WordPress 4.7’ is closed to new replies.