Call to undefined function xml_parser_create()

I’m trying to get my project running on a fresh install of Ubuntu Server 22. I have everything loaded and setup up, but cannot seem to get URL Rewrite working - I think this is the problem? I’m getting an HTTP error 500. I’ve confirmed that URL Rewrite is running, rewrite engine is on, confirmed .htaccess files are generated and in the root. Tried a test directory with a .htaccess that just had rewrite engine on…

What am I missing?I’ve confirmed that url rewrite is loaded and working in a test directory. Here are the rules for my virtual host file:

<VirtualHost *:80>
    ServerAdmin xxx@gmail.com
    ServerName xxx.com
    ServerAlias www.xxx.com
    DocumentRoot /var/www/xxx.com
    <Directory /var/www/xxx.com>
      AllowOverride All
      Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Anybody have any tips? I’ve been working on this all day! Thanks!

Sorry - been reviewing threads - recommended to check error log file - maybe its not the rewrite - this is the error I’m getting in the apache2 log:
[Fri Dec 22 23:42:47.600858 2023] [php:error] [pid 40991] [client 192.168.86.36:53070] PHP Fatal error: Uncaught Error: Call to undefined function PHPMaker2024\patient_portal\xml_parser_create() in /var/www/cncchart.com/patient_portal/src/Language.php

You need to install PHP’s xml (XML Parser) extension which is supposed to be enabled by default. You might have compiled PHP with --disable-xml on your server.

Thank you so much for the reply, but xml parser is installed and enabled…

https://discourse.hkvstore.com/t/cant-find-curl-extension-php-8-1-25/8348/1