Best Local Host for Joomla?

Relax and enjoy The Lounge. For all Non-Joomla! topics or ones that don't fit anywhere else. Normal forum rules apply.
Locked
AndyInSpain
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Oct 27, 2016 9:06 am

Best Local Host for Joomla?

Post by AndyInSpain » Tue Mar 28, 2023 9:58 pm

Hi guys, I would appreciate some advice.

I have been building a Joomla site to run under localhost (Win 11) since 2017. So far, it's around 1.3TB in size. It was never intended as a test site to be mounted on an internet host later: it's always been intended to run locally. It's actually an educational tool which I hope my daughter will use when she's older, which I wanted to build with a web interface so she'd be familiar with how to use it.

The site has been running under Xampp 7, MySQL and Apache., with Joomla version 3.10.0.

But this configuration is showing its age, and is unstable. Xampp cannot easily be upgraded. Even trying to upgrade the php version failed. For the past month or so, I can run the site once but when I try to run it again, there is some SQL corruption and I have to restore the site from a backup (which takes 6 or 7 hours). Running Xampp as Administrator, which many web sources state is a possible solution to avoid the corruption, does not work.

So I am looking for another way to host the Joomla site locally. I tried wamp, which looked a big improvement over Xampp, but I could not get Localhost to start. Even the helpful guys on the wamp forums could not solve that one, so I gave up with wamp. It's shame, because it looked great.

I am therefore looking for another environment for running localhost with php, Apache and mysql. Ideally,

1. It should allow me to migrate the Joomla site over to it easily, with clear instructions
2. It should enable itself, Apache and php to be upgraded easily, as new versions are released

Can anybody suggest a product that fits the bill? I'd be very grateful for any help or advice with this one. I've worked on this Joomla site for six years and want it to last well into the future.I would be more than happy to upgrade to Joomla 4 when I have a way of updating the site's php version, which is nearly 4 years old.

Many thanks

Andy.

User avatar
Maradona
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 154
Joined: Fri Aug 30, 2013 2:08 pm
Location: Argentina

Re: Best Local Host for Joomla?

Post by Maradona » Wed Mar 29, 2023 5:43 am

Are you using Akeeba Backup? Interesting to know how Akeeba perform on that 1.3TB :)
:pop

AndyInSpain
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Oct 27, 2016 9:06 am

Re: Best Local Host for Joomla?

Post by AndyInSpain » Wed Mar 29, 2023 7:41 am

I did use Akeeba backup when I aimed to move to Wamp. It seemed to create the backup (in 926 files!) without problem. It took hours, obviously.

I never got as far as trying to restore the backup, though. But there were no errors when I created it, so I assume all was OK.

Thanks!

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Best Local Host for Joomla?

Post by AMurray » Wed Mar 29, 2023 9:20 am

I'd use WAMPServer because with XAMPP you're limited to one PHP version. With WAMP you can install additional modules, such as updates to PHPMyAdmin, PHP versions, MySQL and Apache versions - all as self-extracting, self-installing modules and can swap on the fly, and all the program does is restart the services to apply the changes.

The backup shouldn't take "hours". My sites are 300MB+ in size and backup in minutes. The way around a large site backup - get Akeeba Backup Pro that allows you to save in smaller 'part' files say 5MB - 10MB (while that still may take some time, they are easier to manage chunks.

Also are you sure you're not including previous backups within each backup - the /backups folder is one to exclude. Also with Akeeba Pro you can set it to save the archive to the cloud like OneDrive, Google or Amazon or anything similar, so as not to use up your webhosting space. (considering you say your backup is 1.2 TB - my entire webspace allocation is 40GB!)

Here's Joomla's documentation for moving or copying a website e.g. from live to local, or local to live:
https://docs.joomla.org/Copying_a_Joomla_website
Regards - A Murray
General Support Moderator

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24984
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Best Local Host for Joomla?

Post by pe7er » Wed Mar 29, 2023 10:16 am

Like AMurray wrote, creating local backups should not be that slow.
Do you have a harddrive or SSD?
How many storage space do you have left?
How can your site be so 1.3TB big?

You could consider to use Akeeba Backup, create a profile where you exclude the /images/ folder.
And then create the backup and copy + paste the /image/ folder to your new site manually.


PS: "the best local host" would be different for everybody :)
I develop Joomla website locally using "docker containers" for Apache, PHP and MySQL that I deploy using "docker compose". For me it's the best local host because of its flexibility (using different PHP versions, MySQL or MariaDB etc). I understand that for other people it might be too technical so then a XAMP (WAMP, MAMP) like solution would be better.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

AndyInSpain
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Oct 27, 2016 9:06 am

Re: Best Local Host for Joomla?

Post by AndyInSpain » Sun Apr 02, 2023 11:50 am

AMurray wrote:
Wed Mar 29, 2023 9:20 am
I'd use WAMPServer because with XAMPP you're limited to one PHP version. With WAMP you can install additional modules, such as updates to PHPMyAdmin, PHP versions, MySQL and Apache versions - all as self-extracting, self-i
Hello, and thanks for your reply.

As I said in my post, I had already identified WAMP as the direction to go in, but I could not get it to work. Attempting to access the WAMP homepage through localhost always generated an "Access Denied" message...even though accessing PHPMyAdmin worked fine! I worked with one of the Admins on the WAMP forum to resolve this, but having tried a host of different things, even he had to give up in the end.

Many thanks for your help.

Andy.

AndyInSpain
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Oct 27, 2016 9:06 am

Re: Best Local Host for Joomla?

Post by AndyInSpain » Sun Apr 02, 2023 11:53 am

pe7er wrote:
Wed Mar 29, 2023 10:16 am
Like AMurray wrote, creating local backups should not be that slow.
Do you have a harddrive or SSD?
How many storage space do you have left?
How can your site be so 1.3TB big?
Hello, and thanks for your reply!

I have a WD USB3.0 HD, on which there is about 1.7 TB free space.
The site is so large because it contains around 4.5 thousand videos and 7000 images.

Thanks for your suggestions!

Andy.

gws
Joomla! Champion
Joomla! Champion
Posts: 5950
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Best Local Host for Joomla?

Post by gws » Sun Apr 02, 2023 12:22 pm

USB HD's will always be slower.

AndyInSpain
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Oct 27, 2016 9:06 am

Re: Best Local Host for Joomla?

Post by AndyInSpain » Sun Apr 02, 2023 12:59 pm

Yes, but a 2TB SSD will always be very expensive.

CompuKing
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Mar 28, 2023 8:03 am

Re: Best Local Host for Joomla?

Post by CompuKing » Thu Apr 13, 2023 12:08 pm

in my experience I can say that local host for Joomla development is Apache Server with PHP and MySQL can be best

AndyInSpain
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Oct 27, 2016 9:06 am

Re: Best Local Host for Joomla?

Post by AndyInSpain » Thu Apr 13, 2023 12:21 pm

Thanks for that!

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Best Local Host for Joomla?

Post by AMurray » Thu Apr 13, 2023 10:04 pm

Those server packages already mentioned are Apache, MySQL (and PostregSQL and Maria DB) and PHP. They just install the components for you, handy if you're not a server admin.
Regards - A Murray
General Support Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17439
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Best Local Host for Joomla?

Post by toivo » Thu Apr 13, 2023 11:48 pm

AndyInSpain wrote:
Sun Apr 02, 2023 11:50 am
Attempting to access the WAMP homepage through localhost always generated an "Access Denied" message...even though accessing PHPMyAdmin worked fine!
About your topic at the Wampserver Forum: Wampserver 3.3.1 - 64bit works all right in Windows 11. In my test environment, the virtual hosts reside in C:\www instead of D:\Wamp64\www. The Apache file conf/httpd.conf refers to conf/extra/httpd-vhosts.conf, where a typical entry looks like this:

Code: Select all

<VirtualHost *:80>
  ServerName joomla4test
  ServerAlias joomla4test
  DocumentRoot "c:/www/joomla4test"
  <Directory "c:/www/joomla4test">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
  </Directory>
</VirtualHost>
Toivo Talikka, Global Moderator

ascan
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Apr 15, 2023 12:15 pm

Re: Best Local Host for Joomla?

Post by ascan » Sat Apr 15, 2023 8:20 pm

One option you might want to consider is using Docker to host your Joomla site locally. Docker allows you to create a self-contained environment for your web application that can be easily moved between different systems, and it provides a way to manage dependencies and upgrades more easily than traditional server software.

User avatar
Hotdog
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sun Jul 23, 2023 7:15 pm

Re: Best Local Host for Joomla?

Post by Hotdog » Thu Jul 27, 2023 2:46 am

For my local host I use the Joomla package from Bitnami. It is complete and runs in a virtual machine with no interaction with my operating system, Linux Mint. Like ascan pointed out, there is no "set up" of web server software and moving your completed site is as simple as backing it up with Akeeba then restoring it where ever you please.


Locked

Return to “The Lounge”