Install Issue

javatech

Member
Registered
Joined
Jan 19, 2024
Messages
16
Points
1

Reputation:

so i tried the 2.0.13 and still the same issue. but the php version is different.
PHP:
<?php

$phpVersion = phpversion();
if (version_compare($phpVersion, '5.4.0', '<'))
{
    die("PHP 5.4.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}

$rootDir = realpath(__DIR__ . '/..');
chdir($rootDir);
require($rootDir . '/src/XF.php');

XF::start($rootDir);
XF::runApp('XF\Install\App');
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
805
Points
153

Reputation:

so i tried the 2.0.13 and still the same issue. but the php version is different.
PHP:
<?php

$phpVersion = phpversion();
if (version_compare($phpVersion, '5.4.0', '<'))
{
    die("PHP 5.4.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}

$rootDir = realpath(__DIR__ . '/..');
chdir($rootDir);
require($rootDir . '/src/XF.php');

XF::start($rootDir);
XF::runApp('XF\Install\App');
javatechWhat happens when you remove

PHP:
$phpVersion = phpversion();
if (version_compare($phpVersion, '5.4.0', '<'))
{
    die("PHP 5.4.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}

from the file and run the install again?
 
View previous replies…

javatech

Member
Registered
Joined
Jan 19, 2024
Messages
16
Points
1

Reputation:

Show your log error and Screenshot.
thomsa
1000003406.jpg
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
805
Points
153

Reputation:

So you get just the source code of that page if you visit it in a browser. Sounds like PHP is not active in that location, nor on the webserver.

Which hoster are you on, how does the configuration look like
BattleKingThat’s what I am saying the whole time….

He uses own home host with Linux on it
 

javatech

Member
Registered
Joined
Jan 19, 2024
Messages
16
Points
1

Reputation:

So you get just the source code of that page if you visit it in a browser. Sounds like PHP is not active in that location, nor on the webserver.

Which hoster are you on, how does the configuration look like
BattleKingin the past i never had this issue.
Last metadata expiration check: 0:15:22 ago on Tue 30 Jan 2024 08:17:42 AM EST.
AlmaLinux 8 - AppStream
Name Stream Profiles Summary
php 7.2 [d] common [d], devel, minimal PHP scripting language
php 7.3 common [d], devel, minimal PHP scripting language
php 7.4 common [d], devel, minimal PHP scripting language
php 8.0 [e] common [d], devel, minimal PHP scripting language

Remi's Modular repository for Enterprise Linux 8 - x86_64
Name Stream Profiles Summary
php remi-7.2 common [d], devel, minimal PHP scripting language
php remi-7.3 common [d], devel, minimal PHP scripting language
php remi-7.4 common [d], devel, minimal PHP scripting language
php remi-8.0 common [d], devel, minimal PHP scripting language
php remi-8.1 common [d], devel, minimal PHP scripting language
php remi-8.2 common [d], devel, minimal PHP scripting language
php remi-8.3 common [d], devel, minimal PHP scripting language

Hint: [d]efault, [e]nabled, [x]disabled, nstalled
 

javatech

Member
Registered
Joined
Jan 19, 2024
Messages
16
Points
1

Reputation:

Bro. I suggest you just get Ubuntu or Debian and install apache + php and go the traditional way.
SplichoI had Ubuntu 22.04 the last time and it was doing the same thing. I will give it a try again later when i get home tonight. Ill let you all know the status.
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
805
Points
153

Reputation:

I had Ubuntu 22.04 the last time and it was doing the same thing. I will give it a try again later when i get home tonight. Ill let you all know the status.
javatechOr you install keyhelp, a good web control panel for Linux that I use too, and it’s for free.

MySQL, php, Apache etc comes with it.
 
  • Like
Reactions: jim

jim

Well-known member
Registered
Joined
Aug 20, 2021
Messages
126
Points
38

Reputation:

I had Ubuntu 22.04 the last time and it was doing the same thing. I will give it a try again later when i get home tonight. Ill let you all know the status.
javatechConsider using nginx in conjunction with php-fpm instead of apache. I've encountered a similar issue before, and it's possible that apache might not be handling PHP efficiently in your case
 

javatech

Member
Registered
Joined
Jan 19, 2024
Messages
16
Points
1

Reputation:

I had Ubuntu 22.04 the last time and it was doing the same thing. I will give it a try again later when i get home tonight. Ill let you all know the status.
javatechso i used the keyhelp software and it works. Xenforo works flawlessly. Thank you and like to thank everyone else for your alls help. Much appreciated. Now im having skin issue lol. Never ends
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
805
Points
153

Reputation:

so i used the keyhelp software and it works. Xenforo works flawlessly. Thank you and like to thank everyone else for your alls help. Much appreciated. Now im having skin issue lol. Never ends
javatechKeyhelp is the best <3
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
859
Points
153

Reputation:

xenforo is not compatible with php 8.3 you will continue to receive errors, do not force things if it is not compatible
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
859
Points
153

Reputation:

download your version of php and wait for future updates
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
859
Points
153

Reputation:

xenforo is programmed for a stable version of php 8.2 and you want to use it in 8.3, it will continue to give you an error, but if you install a plugin that is not even prepared for php 8.3
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
859
Points
153

Reputation:

It can break your head and the error is yours, I will continue to tell you that xenforo does not support PHP 8.3.2, lower your PHP version to 8.2
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

But this has nothing to do with his problems, because currently no PHP will be executed!

It can break your head and the error is yours, I will continue to tell you that xenforo does not support PHP 8.3.2, lower your PHP version to 8.2
sucre13Also in the latest release they have solved some more issue with 8.2

Compatibility with PHP 8.1 and 8.2​

Most compatibility issues between PHP 8.1 and 8.2 have been addressed. Remaining issues might trigger E_DEPRECATED warnings in the xf_error_log during debug mode, but these are generally non-critical and can be disregarded.

Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:

  • PHP 7.0 or newer (PHP 8.2 recommended)
 
Top