Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions Topic is solved

Need help installing Joomla! 4.x? For all Joomla! 4.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
Locked
TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 5:08 am

I have a FreeBSD web server (two, actually);

one has PHP 7.4.29 and Joomla 3.10.8 & Joomla 4.1.2 work perfectly.

I mirrored the Extensions on the PHP 8.0.18 version and Joomla 3.10.8 & Joomla 4.1.2 both give errors.

On Joomla 4.1.2 zip or tar.gz, I receive "Sorry, there was a problem we could not recover from.

The server returned a "500 - Whoops, looks like something went wrong." from /installation/index.php

I checked permissions and stick to the following:

www:www (chown) (FreeBSD 13.0-RELEASE) + Apache 2.4:

755 - folders
666 - configuration.php (after install - which I cannot trigger/load installer)
777 installation
755 tmp

I then checked Joomla 3.10.8 and received "Error" as the only text.

I checked php-fpm for logs and apache 2.4 errors and I am not reporting anything.

What could I possibly be doing wrong here?

Thanks in advance!

Best Regards,

Brandon! :-[
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Webdongle » Sat Apr 30, 2022 8:37 am

Possibly a 3rd party extension not compatible with php8?
Set error reporting to max
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
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Per Yngve Berg » Sat Apr 30, 2022 10:36 am

Please post your FPA. See red frame above.

What user have you configured php-fpm to run as?

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 12:52 pm

Webdongle wrote:
Sat Apr 30, 2022 8:37 am
Possibly a 3rd party extension not compatible with php8?
Set error reporting to max
Webdongle,

I don't have any 3rd party extensions installed.

My php.ini is set to:

Code: Select all

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 12:54 pm

Per Yngve Berg wrote:
Sat Apr 30, 2022 10:36 am
Please post your FPA. See red frame above.

What user have you configured php-fpm to run as?
Per Yngve Berg,

I don't know what an FPA is or what the "Red frame above" is.

My php-fpm user is set in www.conf:

Code: Select all

[www]
user = www
group = www

listen = /var/run/$pool-php-fpm.sock
listen.owner = www
listen.group = www
listen.mode = 0660
Same configuration as my working PHP 7.4.29 server.
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Per Yngve Berg » Sat Apr 30, 2022 1:18 pm

At the top of this topic there is a red frame labelled "Forum Rules"

FPA= Forum Post Assistant

The tool let us review your server configuration.

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 2:27 pm

Per Yngve Berg wrote:
Sat Apr 30, 2022 1:18 pm
At the top of this topic there is a red frame labelled "Forum Rules"

FPA= Forum Post Assistant

The tool let us review your server configuration.
Per Yngve Berg,

Thank you! I downloaded "ForumPostAssistant-FPA-47cfadf"

I put it into my apache24/data/[vhost-enabled-folder]/ and ran "fpa-en.php"; it gave me an error for security reasons and deleted itself (this proves php is being processed); I can also access phpinfo() on any given created .php file.

I then re-unzipped and copied fpa-en.php to my apache24/data/[vhost-enabled-folder]/j4x_dev/(Joomla 4.1.2 installer)

And when I run it... I get a blank white screen.
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Webdongle » Sat Apr 30, 2022 2:31 pm

It deleted itself because when transferred the date didn't change to the created date (the date it was created on the server).
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".

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 2:48 pm

Webdongle wrote:
Sat Apr 30, 2022 2:31 pm
It deleted itself because when transferred the date didn't change to the created date (the date it was created on the server).
Webdongle,

How do I get it to work "within" the sub-folder of my joomla install folder now that I re-unzipped it? It's just a white screen as if php isn't being processed. Yet when I run phpinfo() it works and when the fpa*.php is run 1 directory back, it works and deletes itself.
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Webdongle » Sat Apr 30, 2022 3:14 pm

Unzip locally and upload fpa-en.php using your Host's cp.
N.B. then make sure the date of the file is the date it is uploaded.
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
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Per Yngve Berg » Sat Apr 30, 2022 3:15 pm

Change the date of the file to today's date.

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 3:55 pm

Per Yngve Berg wrote:
Sat Apr 30, 2022 3:15 pm
Change the date of the file to today's date.
Per Yngve Berg,

I don't quite understand this.

Code: Select all

root@iceblade:/usr/local/www/apache24/data/000_iceblade/j4x_dev # ls -l
total 32033
-rw-r--r--   1 www   www     18092 Dec  9 21:47 LICENSE.txt
-rw-r--r--   1 www   www      4816 Dec  9 21:47 README.txt
drwxr-xr-x  11 www   www        12 Apr 30 04:02 administrator
drwxr-xr-x   2 www   www         4 Apr 30 04:03 bin
drwxr-xr-x   2 www   www         3 Apr 30 04:01 cache
drwxr-xr-x   2 www   www         9 Apr 30 04:02 cli
drwxr-xr-x  21 www   www        22 Apr 30 04:01 components
-rw-r--r--   1 www   www    559352 Apr 30 14:21 fpa-en.php
-rw-r--r--   1 www   www      3700 Dec  9 21:47 htaccess.txt
drwxr-xr-x   6 www   www         9 Apr 30 04:02 images
drwxr-xr-x   2 www   www         5 Apr 30 04:02 includes
-rw-r--r--   1 www   www      1407 Dec  9 21:47 index.php
-rw-r--r--   1 root  www       170 Apr 30 14:23 info.php
drwxrwxrwx  14 www   www        22 Apr 30 04:03 installation
drwxr-xr-x   4 www   www         5 Apr 30 04:02 language
drwxr-xr-x   5 www   www         6 Apr 30 04:01 layouts
drwxr-xr-x  13 www   www        19 Apr 30 04:01 libraries
drwxr-xr-x  32 www   www        33 Apr 30 04:03 media
drwxr-xr-x  28 www   www        29 Apr 30 04:03 modules
drwxr-xr-x  20 www   www        21 Apr 30 04:02 plugins
-rw-r--r--   1 www   www       748 Dec  9 21:47 robots.txt.dist
drwxr-xr-x   6 www   www         7 Apr 30 04:01 templates
drwxr-xr-x   2 www   www         3 Apr 30 04:02 tmp
-rw-r--r--   1 www   www      1859 Dec  9 21:47 web.config.txt
root@iceblade:/usr/local/www/apache24/data/000_iceblade/j4x_dev #
The date matches... I also tried changing apache 2.4 from event to prefork and back. It didn't make a difference.
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 4:47 pm

I just went through : https://docs.joomla.org/FreeBSD_Installation

I checked the requirements:

All looks good as far as this goes.

Code: Select all

root@iceblade:/usr/local/etc/apache24 # pkg install php80-mysqli
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-session
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-simplexml
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-xml
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-xmlreader
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-zip
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 # pkg install php80-zlib
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@iceblade:/usr/local/etc/apache24 #
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Webdongle » Sat Apr 30, 2022 5:28 pm

I say again
Webdongle wrote:
Sat Apr 30, 2022 3:14 pm
Unzip locally and upload fpa-en.php using your Host's cp.
N.B. then make sure the date of the file is the date it is uploaded.
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
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by Per Yngve Berg » Sat Apr 30, 2022 5:44 pm

Look at the server logs and find what security setting prevent the FPA from running.

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 5:46 pm

Webdongle wrote:
Sat Apr 30, 2022 5:28 pm
I say again
Webdongle wrote:
Sat Apr 30, 2022 3:14 pm
Unzip locally and upload fpa-en.php using your Host's cp.
N.B. then make sure the date of the file is the date it is uploaded.
Webdongle,

I don't have a control panel. I'm SSH'd in my server as root. I also pasted the file contents and there is no date difference from todays date.
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Sat Apr 30, 2022 5:53 pm

Per Yngve Berg wrote:
Sat Apr 30, 2022 5:44 pm
Look at the server logs and find what security setting prevent the FPA from running.
Per Yngve Berg,

I checked these logs and nothing appears:

Code: Select all

root@iceblade:/var/log # tail httpd-error.log
[Mon Jul 06 00:58:32.764340 2020] [mpm_event:notice] [pid 65379:tid 34370658304] AH00489: Apache/2.4.43 (FreeBSD) configured -- resuming normal operations
[Mon Jul 06 00:58:32.764787 2020] [core:notice] [pid 65379:tid 34370658304] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Jul 06 02:16:09.814309 2020] [mpm_event:notice] [pid 65379:tid 34370658304] AH00491: caught SIGTERM, shutting down
root@iceblade:/var/log # tail php-fpm.log
[26-Apr-2022 03:28:24] NOTICE: fpm is running, pid 98522
[26-Apr-2022 03:28:24] NOTICE: ready to handle connections
[30-Apr-2022 03:36:53] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful

[30-Apr-2022 03:36:53] NOTICE: Finishing ...
[30-Apr-2022 03:36:54] NOTICE: exiting, bye-bye!
[30-Apr-2022 03:36:54] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful

[30-Apr-2022 03:36:55] NOTICE: fpm is running, pid 80772
[30-Apr-2022 03:36:55] NOTICE: ready to handle connections
root@iceblade:/var/log #
& these logs... defined in the VHOST:

ErrorLog "/usr/local/www/apache24/logs/error/000_apache24_port80-iceblade.mydomain-iceblade-error.log"


and this outputs as (now we're getting somewhere, thank you!):

Code: Select all

root@iceblade:/usr/local/etc/apache24/Vhosts-Enabled # tail /usr/local/www/apache24/logs/error/000_apache24_port80-iceblade.mydomain-iceblade-error.log
[Sat Apr 30 15:46:37.157839 2022] [php:error] [pid 67870] [client MYIP:54708] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 647
[Sat Apr 30 16:32:52.751799 2022] [php:warn] [pid 67870] [client MYIP:55118] PHP Warning:  ob_start(): function &quot;ob_gzhandler&quot; not found or invalid function name in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 16:32:52.753254 2022] [php:notice] [pid 67870] [client MYIP:55118] PHP Notice:  ob_start(): Failed to create buffer in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 16:32:52.756010 2022] [php:error] [pid 67870] [client MYIP:55118] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 647
[Sat Apr 30 16:37:33.436908 2022] [php:warn] [pid 13346] [client MYIP:55388] PHP Warning:  ob_start(): function &quot;ob_gzhandler&quot; not found or invalid function name in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 16:37:33.438713 2022] [php:notice] [pid 13346] [client MYIP:55388] PHP Notice:  ob_start(): Failed to create buffer in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 16:37:33.440398 2022] [php:error] [pid 13346] [client MYIP:55388] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 647
[Sat Apr 30 17:46:20.538057 2022] [php:warn] [pid 37612] [client MYIP:56222] PHP Warning:  ob_start(): function &quot;ob_gzhandler&quot; not found or invalid function name in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 17:46:20.539962 2022] [php:notice] [pid 37612] [client MYIP:56222] PHP Notice:  ob_start(): Failed to create buffer in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 17:46:20.543556 2022] [php:error] [pid 37612] [client MYIP:56222] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 647
root@iceblade:/usr/local/etc/apache24/Vhosts-Enabled #
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by toivo » Mon May 02, 2022 2:08 am

Code: Select all

[Sat Apr 30 16:32:52.751799 2022] [php:warn] [pid 67870] [client MYIP:55118] PHP Warning:  ob_start(): function &quot;ob_gzhandler&quot; not found or invalid function name in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 16:32:52.753254 2022] [php:notice] [pid 67870] [client MYIP:55118] PHP Notice:  ob_start(): Failed to create buffer in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
For some reason the PHP native function ob_gzhandler() is not available in the instance of PHP configured in the server.

As a temporary workaround, modify line 107 of fpa-en.php from:

Code: Select all

        ob_start('ob_gzhandler');
to:

Code: Select all

        ob_start();
Hopefully that change will allow the FPA to run normally so that the configuration can be reviewed.
Toivo Talikka, Global Moderator

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Tue May 03, 2022 9:57 pm

toivo wrote:
Mon May 02, 2022 2:08 am

Code: Select all

[Sat Apr 30 16:32:52.751799 2022] [php:warn] [pid 67870] [client MYIP:55118] PHP Warning:  ob_start(): function &quot;ob_gzhandler&quot; not found or invalid function name in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
[Sat Apr 30 16:32:52.753254 2022] [php:notice] [pid 67870] [client MYIP:55118] PHP Notice:  ob_start(): Failed to create buffer in /usr/local/www/apache24/data/000_iceblade/j4x_dev/fpa-en.php on line 107
For some reason the PHP native function ob_gzhandler() is not available in the instance of PHP configured in the server.

As a temporary workaround, modify line 107 of fpa-en.php from:

Code: Select all

        ob_start('ob_gzhandler');
to:

Code: Select all

        ob_start();
Hopefully that change will allow the FPA to run normally so that the configuration can be reviewed.
toivo,

Thank you for this. I edited line 107 as you said and re-ran the script.

I received the following error:

Code: Select all

[Tue May 03 21:46:13.737362 2022] [php:error] [pid 5812] [client MYIP:35712] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/joomlapath/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/joomlapath/fpa-en.php on line 647
I then checked that line and it is as follows:

Code: Select all

    session_start();
I double checked phpinfo() and my "Additional .ini files parsed" are as follows (which contains ext-18-session.ini):

Code: Select all

/usr/local/etc/php/ext-10-opcache.ini, /usr/local/etc/php/ext-18-session.ini, /usr/local/etc/php/ext-20-bcmath.ini, /usr/local/etc/php/ext-20-bz2.ini, /usr/local/etc/php/ext-20-calendar.ini, /usr/local/etc/php/ext-20-ctype.ini, /usr/local/etc/php/ext-20-curl.ini, /usr/local/etc/php/ext-20-dba.ini, /usr/local/etc/php/ext-20-dom.ini, /usr/local/etc/php/ext-20-enchant.ini, /usr/local/etc/php/ext-20-exif.ini, /usr/local/etc/php/ext-20-fileinfo.ini, /usr/local/etc/php/ext-20-filter.ini, /usr/local/etc/php/ext-20-ftp.ini, /usr/local/etc/php/ext-20-gd.ini, /usr/local/etc/php/ext-20-gettext.ini, /usr/local/etc/php/ext-20-gmp.ini, /usr/local/etc/php/ext-20-iconv.ini, /usr/local/etc/php/ext-20-intl.ini, /usr/local/etc/php/ext-20-ldap.ini, /usr/local/etc/php/ext-20-mbstring.ini, /usr/local/etc/php/ext-20-mysqli.ini, /usr/local/etc/php/ext-20-odbc.ini, /usr/local/etc/php/ext-20-pcntl.ini, /usr/local/etc/php/ext-20-pdo.ini, /usr/local/etc/php/ext-20-pgsql.ini, /usr/local/etc/php/ext-20-phar.ini, /usr/local/etc/php/ext-20-posix.ini, /usr/local/etc/php/ext-20-pspell.ini, /usr/local/etc/php/ext-20-readline.ini, /usr/local/etc/php/ext-20-shmop.ini, /usr/local/etc/php/ext-20-simplexml.ini, /usr/local/etc/php/ext-20-snmp.ini, /usr/local/etc/php/ext-20-soap.ini, /usr/local/etc/php/ext-20-sockets.ini, /usr/local/etc/php/ext-20-sodium.ini, /usr/local/etc/php/ext-20-sqlite3.ini, /usr/local/etc/php/ext-20-sysvmsg.ini, /usr/local/etc/php/ext-20-sysvsem.ini, /usr/local/etc/php/ext-20-sysvshm.ini, /usr/local/etc/php/ext-20-tidy.ini, /usr/local/etc/php/ext-20-tokenizer.ini, /usr/local/etc/php/ext-20-xml.ini, /usr/local/etc/php/ext-20-xmlwriter.ini, /usr/local/etc/php/ext-20-zip.ini, /usr/local/etc/php/ext-20-zlib.ini, /usr/local/etc/php/ext-30-imap.ini, /usr/local/etc/php/ext-30-pdo_mysql.ini, /usr/local/etc/php/ext-30-xmlreader.ini, /usr/local/etc/php/ext-30-xsl.ini 
This would make sense; I tried earlier to move a site to this server that wasn't a new installation like this one; and it returned a random session error.

I checked the servers php80-session FreeBSD 13.0-RELEASE pkg and I get the following:

Code: Select all

root@iceblade:/usr/ports # pkg info | grep -i php80-session
php80-session-8.0.18           The session shared extension for php
root@iceblade:/usr/ports #
Best Regards,

Brandon :eek:
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by toivo » Tue May 03, 2022 10:32 pm

Code: Select all

[Tue May 03 21:46:13.737362 2022] [php:error] [pid 5812] [client MYIP:35712] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/joomlapath/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/joomlapath/fpa-en.php on line 647
These errors have nothing to do with FPA or Joomla 4.1.2. PHP 8.0.18 will not work if its native function session_start() cannot be found.
Toivo Talikka, Global Moderator

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Tue May 03, 2022 11:18 pm

toivo wrote:
Tue May 03, 2022 10:32 pm

Code: Select all

[Tue May 03 21:46:13.737362 2022] [php:error] [pid 5812] [client MYIP:35712] PHP Fatal error:  Uncaught Error: Call to undefined function session_start() in /usr/local/www/apache24/data/joomlapath/fpa-en.php:647\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/apache24/data/joomlapath/fpa-en.php on line 647
These errors have nothing to do with FPA or Joomla 4.1.2. PHP 8.0.18 will not work if its native function session_start() cannot be found.
toivo,

Thank you for everything. I am contacting #php on irc.libera.chat; if anyone knows the solution. Please let me know!

Best Regards,

Brandon :eek:
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS

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

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by toivo » Tue May 03, 2022 11:40 pm

Cheers. The best contact would be the team maintaining the PHP distro for FreeBSD.
Toivo Talikka, Global Moderator

TruthSword
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat Feb 15, 2020 12:48 am

Re: Trouble installing Joomla 4.1.2 on Apache 2.4 + PHP 8.0.18 w/ Extensions

Post by TruthSword » Tue May 03, 2022 11:55 pm

toivo wrote:
Tue May 03, 2022 11:40 pm
Cheers. The best contact would be the team maintaining the PHP distro for FreeBSD.
toivo,

Thank you again! I contacted #freebsd on irc.libera.chat; special thanks to meena and the remedy was that I wasn't using php-fpm like I thought. It was setup for /usr/ports/www/mod_php80 as far as the httpd.conf & Vhosts-Enabled/*.conf's SetHandler's.

Once I changed it to php-fpm; restarted apache24 and php-fpm. Joomla loads perfect!

Thank you all for Joomla and this Community!

Best Regards,

Brandon ;D
Best Regards,

Mr. Brandon Kastning
Washington State, USA
Glory to Constitutional American Republic Forever! ;)
#SICSEMPERTYRANNIS


Locked

Return to “Installation Joomla! 4.x”