Joomla 3.4 and PHP

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
rockysbored
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Feb 06, 2024 9:59 pm

Joomla 3.4 and PHP

Post by rockysbored » Tue Feb 06, 2024 10:08 pm

Hi

can you tell me if Joomla 3.4 works with PHP 7.25? If not, what verions of both can I update with no PHP or Joomla issues affecting my site?

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

Re: Joomla 3.4 and PHP

Post by toivo » Tue Feb 06, 2024 10:56 pm

Welcome to the Joomla forum!

Do you mean PHP 7.2.5 or 7.2.25? The minimum version of PHP to run Joomla 3 is PHP 5.3.10.

However, Joomla 3.4 was released 9 years ago in February 2015 and PHP 7 was launched only in December 2015. Therefore trying to run Joomla 3.4 with PHP 7 may not be possible.

If you need to rescue this website, rather than rebuilding it from scratch, download an older version of Wampserver that has PHP 5 and install it on your workstation, restore a full backup of the website to localhost, upgrade the site to Joomla 3.10.12 and PHP 8.0 and take it from there.
Toivo Talikka, Global Moderator

rockysbored
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Feb 06, 2024 9:59 pm

Re: Joomla 3.4 and PHP

Post by rockysbored » Wed Feb 07, 2024 9:37 pm

Hello Toivo,
How are you?

Here’s my Issue.
Reactny.com
Warning: require_once(JPATH_LIBRARIES/import.legacy.php): failed to open stream: No such file or directory in /home/reactny/public_html/includes/framework.php on line 15

Fatal error: require_once(): Failed opening required 'JPATH_LIBRARIES/import.legacy.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/reactny/public_html/includes/framework.php on line 15

I have a few sites that are the same as the one with the problem (Reactny.com)
They are all on php 5.6 and possibly Joomla 3.4 or 3.6.
Reactny.com may be on 3.10
But when I look at this link it shows 3.4
reactny.com/administrator/manifests/files/joomla.xml

In my cpanel, if I change the php on Reactny.com it will automatically change all the others as well.

I’m afraid they may break just like Reactny.com .
Not sure which steps to take first
So how do I upgrade all of them to 3.10 without breaking them?????

Also, When I try this: https://reactny.com/joomla30/administrator
Sorry, your PHP version is not supported.
Your host needs to use PHP version 7.2.5 or newer to run this version of Joomla!

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

Re: Joomla 3.4 and PHP

Post by toivo » Thu Feb 08, 2024 12:21 am

rockysbored wrote:
Wed Feb 07, 2024 9:37 pm
Fatal error: require_once(): Failed opening required 'JPATH_LIBRARIES/import.legacy.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/reactny/public_html/includes/framework.php on line 15
Use File Manager from cPanel or a similar page, provided by your host, and check if the file libraries/import.legacy.php exists or not.

Did you or someone else try to update this website to Joomla 3.10.12? What was the last update or maintenance operation, which may have changed some files or extensions?

Has the website been backed up, meaning both the filesystem and the database? Does your host take regular backups and store them?
Toivo Talikka, Global Moderator

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

Re: Joomla 3.4 and PHP

Post by Webdongle » Thu Feb 08, 2024 2:31 am

Best done imho on wamp localhost. You may find viewtopic.php?f=710&t=1006742#p3713291 helpful. It is best to use Akeeba to backup after each update. https://www.akeeba.com/compatibility.html is a list of Akeeba versions compatible with various php versions

When you need to change php and/or database versions it is best to use the backup to install in a new folder to a new database.
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".

rockysbored
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Feb 06, 2024 9:59 pm

Re: Joomla 3.4 and PHP

Post by rockysbored » Thu Feb 08, 2024 2:39 am

Yes it is there.
/public_html/reactny/libraries/import.legacy.php

I think I updated it to 3.10. If so that was the last update.

Yes it is being backed up with sitelock for both filesystem and database.
I'm not getting a clear answer with the hosting company about backups.

I'm not sure if I did the update before the 1rst backup with sitelock.

It was working before. Not sure if it has been hacked with malware or it may have happened when I tried to update joomla via the cpanel.

I believe that the correct php may solve it. However I'm concerned about the other sites being affected if I change it.
These are websites for a client.
What rate would you charge in us dollars?
These sites are vulnerable. I want to fix this site and then add a captcha form that I have, then Upgrade them or replace with wordpress.

Thank you...

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

Re: Joomla 3.4 and PHP

Post by Webdongle » Thu Feb 08, 2024 3:23 am

https://forumpostassistant.github.io/docs/ please

Also backup with Akeeba otherwise you will run into problems when you update your php/database to update to J4/J5.

Hmm wpress you will have more problems rebuilding the sites on that. Also wpress is more hackable.

Again I recommend you use wamp on your PC to update from as far back as J3
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".


Post Reply

Return to “General Questions/New to Joomla! 3.x”