Page 1 of 1

Localhost installation issues with PHP in XAMPP

Posted: Wed Jul 12, 2023 4:28 pm
by DJsOakley
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.

Re: Localhost

Posted: Wed Jul 12, 2023 5:07 pm
by Webdongle
Use wamp you can change the php version on the fly

Re: Localhost

Posted: Wed Jul 12, 2023 9:30 pm
by AMurray
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.