SuiteCRM 8.9 installation failure

I’m a first-time user of SuiteCRM. It seemed promising, but regardless of the version I’ve installed, I’m getting some type of installation failure.

I’m using Ubuntu 24.04.3 LTS with PHP8.3 and FPM.

On version 7 it fails to correctly generate all database tables.

Using version 8.9, I get a stackoverflow exception:
PHP Fatal error: Uncaught Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames in www-data/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:77

Using the web installer, I get the following errors:

 Curl Request on Main Page:
The SuiteCRM Title cannot be found. This is not a valid SuiteCRM Page.
See All Warnings >
Warning
Curl Request on Api:
The result of the curl call to the graphql page was empty.
See All Warnings > 

Here is my Apache configuration:

<IfModule mod_ssl.c>
<VirtualHost *:443>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        ServerName crm.

        ServerAdmin support@
        DocumentRoot .../www-data/public

    <FilesMatch \.php$>
        # when using PHP-FPM as a unix socket
        SetHandler proxy:unix:/var/run/php/php8.3-fpm.sock|fcgi://dummy

        # when PHP-FPM is configured to use TCP
        # SetHandler proxy:fcgi://127.0.0.1:9000
    </FilesMatch>

    <Directory .../www-data/public >
        AllowOverride all
        Order Allow,Deny
        Allow from All
        Options +Indexes
        Require all granted
    </Directory>

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/crm..error.log
        CustomLog ${APACHE_LOG_DIR}/crm..access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf

SSLCertificateFile ...
SSLCertificateKeyFile ...
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

If I ignore the warnings during UI install, it will still fail with the SO exception.
I have tried following tips in this thread: SuiteCRM 8.0.1 installation problems - #41 by pgr but it still fails.

Any help on the matter is much appreciated!

While this might work for some people, your script doesn’t account for the multitude of different constellations. I, for example, don’t use modphp, but fpm for better performance while hosting multiple sites.

It also has some weird assumptions that also don’t work on anything that is non-standard.

Nevertheless, thank you for your work. I will reference your script and retry the installation.