• Resolved wilfriedsdv

    (@wilfriedsdv)


    Hi,

    The problem : I need t owork on a website on local, but everything i found is way too slow for me to work (it litterally kill my productivity with 30 to 1 min charging time between each actions, literraly) and then sometimes i have the message “website is facing issues” (not the exact message)

    My question : Do you have a way for me to litteraly kill all the loading time and make my work sreally quickier ? Is there any soft or anyway that i can allow something like 1-3 GB memory and things like that ?

    My PC : 16gb RAM / i5 7400 3.00 Ghz

    • This topic was modified 5 years, 6 months ago by wilfriedsdv.
    • This topic was modified 5 years, 6 months ago by wilfriedsdv.
    • This topic was modified 5 years, 6 months ago by wilfriedsdv.
    • This topic was modified 5 years, 6 months ago by wilfriedsdv.
Viewing 15 replies - 1 through 15 (of 31 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Take a look at Local by Flywheel. It’s free and does a very good job of setting up a one or two click local WP environment. I’ve used it on a much less powerful machine (a 2011 MacBook Pro) and seen decent speeds for WP.

    https://localbyflywheel.com/

    Dion

    (@diondesigns)

    If this is a Windows box, go to your wp-config.php file and make sure DB_HOST is not localhost. Set it as follows:

    define('DB_HOST', '127.0.0.1');

    Thread Starter wilfriedsdv

    (@wilfriedsdv)

    Ok thank you both of you, i’ll try local by flywheel but i thought it was a fake free soft, my bad.

    @diondesigns i tried something like that and when i refreshed the site or restarted the local server my website couldn’t be find so maybe i did it wrong ?

    I copied the exact url i had on my url bar when i was accessing the local website, i even tried to add the port but i always had an error message.

    What do you mean by “Windows box” exactly ?

    Otherwise i’m very happy that yo urespond to my message that quick, un fortunately my mail had it into spam but it’s umbelievable how active wordpress community is activ, i’m super glad i took the time to post a message there is a great adventure that awaits me !

    Dion

    (@diondesigns)

    By “Windows box” I mean a system that runs Microsoft Windows. The reason I suggested using the raw IP address for localhost is because Windows does not directly support the type of connection that MySQL/MariaDB tries to use when localhost is specified. This will result in delays of up to several seconds on every page load.

    Local by Flywheel isn’t fake software, but what it creates on your system can be described as “fake localhost”. It’s also slow and cumbersome on Windows systems, and it’s designed to make migrations to their paid hosting much easier than to other hosting companies.

    So…what type of system (Windows, Mac, Linux) are you using? How did you create your localhost setup?

    Thread Starter wilfriedsdv

    (@wilfriedsdv)

    Ok fine, thanx for the info !

    So i’m using Windows 10, and untill now i was using InstantWP, but i eachtime i tried to touch php.ini or wp-config to change wp_memry_max limit the server crashed, so i was almos trying to use xampp when i finally decided to use my client hosting (OVH.COM) and for now eveyrhting is good depsite woocomerce that is taking soooooo many time to improt products (i’ll check others posts about it and maybe open one myself)

    So for now just what i was searching was a local hosting solution that oculd allow me to allow insane amount of ressources to make the editing process way quicker

    I use divi and body commerce and each time you do anything with this soft, the server is laging very much, so my endgoal is really have almost instant loading time cause if i had good loading time i could maybe build websites on 1-2 days and so be wayyy more productiv

    Do you know any solutions that allow thius kind of beahvior ?

    Try to use MAMP which usually does not give these problems https://www.mamp.info/en/downloads/

    Thread Starter wilfriedsdv

    (@wilfriedsdv)

    @mrtuxit Ok Emilio thanx a lot i’ll have a check on this

    Do you know if there is still anyways for me to allow like full ressources (memory_max etc…) on MAMP or something ?

    Like i really feel like as long as you are in localhost, yo ucan have basically your machine’s performance, so if you know anyway i can accomplish that, or even what to search and where t osearch it i’m definitely in

    The only problem is i don’t know what i’m looking for when i browse google, so each time i just fall on blogs that teaches you how to change basic stuffs (cause they actually have good SEO) but that’s not what i’m searching for, do you have any clues ?

    Thread Starter wilfriedsdv

    (@wilfriedsdv)

    Hi,

    So finally i’m now usins Wamp with a W that stands for Windows.

    Mamp is for Mac (iOS) so that was why everything was so slow, it was simply not optimized.

    Don’t be fooled by the fact that MAMP is slow on Windows. It is also very slow on Mac as well which is ironic. LOL

    Here too on MAC… Every update has gotten slower and slower.

    Anyone know why?

    Is Vagrant or something else better.

    I have used MAMP for YEARS but it’s just getting really bad.

    Stef

    (@serafinnyc)

    @jemcbade I wonder, when you updated did you have a copy of the past version inside Applications? I’m wondering if leftover directories from previous versions are slowing us down?

    It seems to be just the combinations of lots of resource demanding plugins and some poorly written code in various places.

    It don’t seem to be anything “left over” that slow things down, but what is “left out” that speeds things up ??

    Thanks for replying Stef

    Stef

    (@serafinnyc)

    Interesting. I have two plugins on one install and the site is slow as molasses. I’m wondering if my Magento install is killing the server. Probably can’t handle all the juice Magento needs. Ok thanks.

    I’ve been having the same problem for months with WAMP. I’ve tried XAMPP with no improvement, Laravel I couldn’t get to work, I spent most of yesterday getting Vagrant working and when I finally did it was very slow too.

    I ended up installing Local by Flywheel and I have to say it loads WordPress site a lot faster, but as already mentioned, they promote their own hosting and I don’t like the fact that it’s an actual Windows program rather than just a server. It has it’s own database manager which doesn’t seem as comprehensive as phpMyadmin.

    It’s a shame, I really like WAMP, if anyone has any ideas I’d like to know, I’ve tried every tweak I could find on the internet with no improvements.

    Stef

    (@serafinnyc)

    @jugle yeah I’m gonna try that. I see @sterndata recommend that often as well. Thanks

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Very Slow Localhost config (Too slow too work)’ is closed to new replies.