apache 2.4

  1. tony33

    Apache2.4 question

    Hi, I would like to know if this is possible. Let's say you have 2 hard drives on one server. on drive 1 you have dir 1 on drive 2 you have dir 2 then there's a third drive that's hosted on another server in another location. we will call this nas drive 1 but dir 3. Let's say my website I...
  2. torsar

    Apache, php82, Apache out error

    FreeBSD 13, Apache24, PHP82-8.2.0.r2, mod_php82-8.2.0.r2_1 service apache24 onestart Apache out error. httpd: Syntax error on the line 108 of httpd.conf: Can't locate API module structure php_module in the /usr/local/libexec/apache24/libphp.so: undefined symbol "php_module" In line 108...
  3. U

    FreeBSD 13 ssmtp php

    Hello community, my first post... after so much reading and time spending in this forum. First of all, I have to say, that I'm really a great fan of FreeBSD. Such a great and reliable system. I've tried some distribution, but no one was as fun, as FreeBSD. The freedom of the system is great and...
  4. Sivan!

    Solved some (config) errors during php installation

    apache works, nginx works, but php.info does not load; I followed this guide to install php but beyond that did not configure anything. php -i|grep mysql Configure Command => './configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-libxml'...
  5. Sivan!

    src component not installed error blocking freebsd update installation.

    /usr/ports/graphics/gpu-firmware-amd-kmod$ doas make install clean ===> Building for gpu-firmware-amd-kmod-banks-20220511 make[1]: "/usr/ports/graphics/gpu-firmware-amd-kmod/work-banks/drm-kmod-firmware-20220511/Makefile" line 4: Cannot open /usr/src/sys/conf/kern.opts.mk make[1]: Fatal errors...
  6. M

    php74-json not running in apache

    phpinfo states the authors of the extension, yet neither json_decode, nor json_encode work when run on Apache 2.4. json_encode error: Hello world Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/local/www/bleh/jsondecode3.php:9 Stack trace: #0 {main} thrown in...
  7. T

    GIT Authentication using smart HTTP

    Hi I am trying to create a private GIT repo. Here's is VirtualHost Configuration in /usr/local/etc/apache24/httpd.conf file. <VirtualHost *:80> DocumentRoot "/home/git/repos" Alias /git /home/git/repos SetEnv GIT_PROJECT_ROOT /home/git/repos SetEnv GIT_HTTP_EXPORT_ALL...
  8. Aknot

    Restart Apache 2.4 in crontab after renewing letsencrypt certs with acme.sh?

    Hello everyone, Is it possible to restart www/apache24 from crontab after successfully renewing letsencrypt certs with security/acme.sh? This is what I have now (run each night 03:00): * 3 * * * /usr/local/sbin/acme.sh --cron >> /var/log/acme.cron.log Thank you,
  9. m17km4n

    Solved Apache24 error AH00112

    Hi all, I didn't find any answers to my problem, so i'm looking for some help. I'm using FAMP set up in a jail with truenas. Since i removed somes directories from /usr/local/www/apache24/data/ and also deleted the vhosts pointing to them. when I do service apache24 restart it shows errors...
  10. nik0tine

    Solved node.js behind apache24

    Happy new year guys! What is the most clever way to serve a node.js app, alongside an existing website hosted on freebsd? I want to serve the node app via https, on say port 3000 as I have already certbot doing this job just fine. WITH website on php Thanks alot for your suggestions (any!)...
  11. Rob215x

    PHP fsockopen causes 100% CPU and GATEWAY TIMEOUT on all web sites

    I thought I'd post here first because I've always seen great responses in this forum and I wanted to see if any of you had some insight. I don't know if this is: (1) a PHP bug, (2) a vulnerability, (3) something I haven't configured properly (very possible lol), or (4) something else. I am...
  12. m_pahlevanzadeh

    Solved Unable to load dynamic library 'mysql.so'

    I installed lang/php74-extensions After php -m I get the following messages: PHP Warning: PHP Startup: Unable to load dynamic library 'mysql.so' (tried: /usr/local/lib/php/20190902/mysql.so (Cannot open "/usr/local/lib/php/20190902/mysql.so"), /usr/local/lib/php/20190902/mysql.so.so (Cannot...
  13. D

    net-mgmt/netbox: configure as a directory service (not vhost)

    Port net-mgmt/netbox is a nice tool widely used for IPAM and DECIM maintenance, so I tried to use it for maintenance purposes at work. I never got past the setup, since the example shown in FreeBSD's wiki (https://wiki.freebsd.org/Ports/net-mgmt/netbox) only covers a setup as vhost, which...
  14. l008com

    Apache / VirtualHosts / Some SSL?

    I've got a bit of a dillema. My apache listens on port 80 and port 443. 8 websites run on http. One website runs on https. (I know all about the ridiculous push to encrypt everything via letsencrypt, and eventually I will do that, but it's going to be a while) The problem is that now that...
  15. Wamphyre

    Weird trouble with Nginx/Apache reverse proxy on Jail.

    Hello. I'm experiencing a strange problem in my FreeBSD 11.1 jailed web server. 4 hours ago I needed to replace the hard drive of my home server, because was broken and I reinstalled FreeBSD with exactly the same config before hard drive change, where the jailed server was doing the work so...
  16. henninb

    Solved Apache/SSL setup not working with Firefox

    I am working on setting up SSL on apache24 web server on my local network with a self signed certificate. I am able to confirm it is working with curl and openssl (see the details below), however I am not able to get it working with firefox. I imported my self signed cert to firefox, however...
  17. A

    Need help with apache and roundcubemail FreeBSD 11

    Need help!!! 1. Update my server from FreeBSD 9.0 to 11.0 2. Install mysql 5.5.55 from ports 3. Install Dovecot 2.2.29 from ports 4. Install apache 2.4.25 ./configure --prefix=/usr/local/ap24 --enable-so --with-mpm=prefork --enable-rewrite --enable-ssl 5...