affefreebsd
Well-Known Member
Hi Leute, ich bin seit 2015 mit BSD System (open & free) unterwegs da mir damals systemd (GNU/Linux) auf den Sac* ging und bei jedem Release "alles" wieder anders war (debian). Egal - heute finde ich mich bei BSD auch nicht mehr wohl ;-( Muss gerade nur einen FAMP Server aufsetzten und nix geht .... Mysql (bzw. Mariadb) habe ich noch nicht mal installiert aber es scheitet schon bei apache24 und php.....
Was habe ich bis jetzt gemacht!
apache24:
1. installiert,
2. sysrc......=yes
(Läuft, oder besser "It works" :-)
php82,php-mod82:
1. installiert
2. sysrc php-fpm_enable=yes
cat /usr/local/etc/apache24/modules.d/001_php-mod.conf
Dann:
cat /boot/loader.conf
APACHE ERROR LOG --- tail /var/log/https-error.log
[Tue Mar 28 14:18:34.976574 2023] [mpm_prefork:notice] [pid 952] AH00169: caught SIGTERM, shutting down
[Tue Mar 28 14:19:38.058984 2023] [mpm_prefork:notice] [pid 830] AH00163: Apache/2.4.56 (FreeBSD) configured -- resuming normal operations
[Tue Mar 28 14:19:38.083714 2023] [core:notice] [pid 830] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
Alle Anleitungen im Netz die ich gefunden habe machen es ähnlich! Wo ist mein Fehler?
Ich zweifel langsam an mir ....
Gruss
*ape
PS: ganz vergessen
Was habe ich bis jetzt gemacht!
apache24:
1. installiert,
2. sysrc......=yes
(Läuft, oder besser "It works" :-)
php82,php-mod82:
1. installiert
2. sysrc php-fpm_enable=yes
cat /usr/local/etc/apache24/modules.d/001_php-mod.conf
Code:
<IfModule dir_module>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
</IfModule>
Dann:
cat /boot/loader.conf
Code:
accf_http_load="YES"
APACHE ERROR LOG --- tail /var/log/https-error.log
[Tue Mar 28 14:18:34.976574 2023] [mpm_prefork:notice] [pid 952] AH00169: caught SIGTERM, shutting down
[Tue Mar 28 14:19:38.058984 2023] [mpm_prefork:notice] [pid 830] AH00163: Apache/2.4.56 (FreeBSD) configured -- resuming normal operations
[Tue Mar 28 14:19:38.083714 2023] [core:notice] [pid 830] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
Alle Anleitungen im Netz die ich gefunden habe machen es ähnlich! Wo ist mein Fehler?
Ich zweifel langsam an mir ....
Gruss
*ape
PS: ganz vergessen
Code:
# apachectl configtest
Performing sanity check on apache24 configuration:
Syntax OK