I've been trying to set up a local web server using FreeBSD 14.3 and Apache2.4. Apache alone works fine, but when loading the PHP 8.2 module it doesn't start up. (PHP 8.2 itself is installed and works). When running sudo apachectl start i get the following:
and afterwards the server isn't running. There were no errors or warnings in the httpd-error.log file.
So far I did the following (after installing and configuring Apache 2.4):
I've attached a copy of my httpd.conf file.
I already went through a lot of existing threads, but I didn't find anything that fit my problem. I know this is probably something simple, but can anybody tell me what I'm doing wrong?
Code:
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
and afterwards the server isn't running. There were no errors or warnings in the httpd-error.log file.
So far I did the following (after installing and configuring Apache 2.4):
- Install PHP 8.2 using pkg (sudo pkg install php82)
- Install PHP 8.2 Module using pkg (sudo pkg install mod_php82)
- Adding file handler (using mod_php.conf in Includes dir, file is attached)
- Using different versions of PHP
- Leaving out file handlers (just trying to get Apache to start)
I've attached a copy of my httpd.conf file.
I already went through a lot of existing threads, but I didn't find anything that fit my problem. I know this is probably something simple, but can anybody tell me what I'm doing wrong?