Localhost installation issues with PHP in XAMPP

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
DJsOakley
Joomla! Intern
Joomla! Intern
Posts: 67
Joined: Sun Nov 24, 2019 5:04 pm

Localhost installation issues with PHP in XAMPP

Post by DJsOakley » Wed Jul 12, 2023 4:28 pm

I am attempting to install an older Joomla site (2016/3.0) onto a local server (Xampp). I tried using Kickstart and it said the curly braces were no longer supported. Next, I found an older version of Kickstart (7.0.0) and tried that time, the error was "Uncaught error: Undefined constant "E_NONE" in C:\xampp\htdocs....\kickstart.php:62 Stack trace: #0 {main} thrown in ...kickstart.php on line 62"

I'm not sure what to try next. This is a rather large site and will save substantial time if I can get it installed on a local server. Thanks for any help.
Last edited by toivo on Wed Jul 12, 2023 9:40 pm, edited 1 time in total.
Reason: mod note: retitled

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: Localhost

Post by Webdongle » Wed Jul 12, 2023 5:07 pm

Use wamp you can change the php version on the fly
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

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

Re: Localhost

Post by AMurray » Wed Jul 12, 2023 9:30 pm

With XAMPP you have to choose the version that is equivalent of its included PHP version (PHP 8 won't work on early Joomla 3.x).

The earliest version of Joomla to use PHP 7 was Joomla 3.5, so 3.0.x won't run on PHP 7.

You probably need XAMMP v 5.6.40 (which matches PHP 5.6.40) which can be found at https://sourceforge.net/projects/xampp/ ... 20Windows/

As mentioned, with WAMPservver, you can install modules, (PHP versions) as many as you need I think, from PHP 5.6.x upwards. Very flexible for testing.
Regards - A Murray
General Support Moderator


Post Reply

Return to “Installation Joomla! 3.x”