1. spag

    Solved PHP float precision on FreeBSD 13.1-p0

    Do we know how to control precision on OS level? Or maybe there is another reason for the wrong values. Tested with PHP 8.1.7 and 7.4. Sometimes processes get to 100% usage giving blank pages but dtrace show there is nothing happening. The problem does not exists on Freebsd 13. # php a.php...
  2. 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...
  3. M

    Solved php 8.1 pdo_mysql broken

    Hello! It seems like databases/php81-pdo_mysql doesn't build, is it still needed? I can't get pdo_mysql to work in any other way. Thanks for any help.
  4. blind0ne

    Other Examples of good OOP code

    Hello, Here is the question itself - I need to show (and see) examples of really good OOP code that will satisfy nearly all object oriented concepts and will be actually usefull in terms of functionality. It's imortant for me, it shuld give good impression for people how harass my code and tell...
  5. nero

    arginfo for Imagick

    New installation of FreeBSD and added from source mostly....php8 php PHP Warning: Missing arginfo for Imagick::__tostring() in Unknown on line 0 PHP Warning: Missing arginfo for Imagick::getimagehistogram() in Unknown on line 0 Those are the warnings. Can someone direct me to how to fix...
  6. KubaOP10

    Solved [PHP] session_start throws HTTP 500 Error

    I have httpd, mysql-server and php installed on FreeBSD 12.2-RELEASE i386. Webpage with php loads normally until I put session_start function which leads to HTTP 500 error (Internal server error). I was trying to find some informations about this on internet but I was unable to find anything...
  7. I

    Nextcloud 404 not found after upgrading php

    I have been having problems with my nextcloud server and I haven't been able to get it back up. I had been regularly updating through the web interface (up to version 17.something) and found that the update button didn't show up any longer. After googling a bit, I found that it was due to...
  8. jjbigorra

    NGINX on several jails or on host?

    Hey guys, this is my first post here, I am hoping I respect all the rules of this wonderful forum. I am setting up some services, moving from Ubuntu to FreeBSD in my company. We have 3 environments: - Test: all services in one server - Acceptance: Database and Redis in one server, rest of...
  9. 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...
  10. F

    can't find portsnap command

    Hello everyone ! So I am new to FreeBSD and am really happy to get to use this OS and this is while trying to dive deeper in pfSense firewall things. I had a problem trying to install Composer for some PHP tests, I couldn't install it since the PHAR extension is missing from my system and the...
  11. m_pahlevanzadeh


    PHP74 is exist on newest port tree and many extensions are exist. php72-wddx php73-wddx are exist on port tree, But php74-wddx isn't exists. How can I download php74-wddx ? can I find it? Deprecated this extension for php74?
  12. epopen

    Solved Apache24 + PHP7.1 got "No space available for static Thread Local Storage" error when start.

    Hi All I have a running server (FreeBSD 11.1 i386 @ 256MB machine, apache 2.4 + PHP5.6) work fine. Nearly, I plan upgrade to PHP7.1, but got below error message when apache24 service start. httpd: Syntax error on line 144 of /usr/local/etc/apache24/httpd.conf: Syntax error on line 1 of...
  13. R

    Can not run php file in freebsd

    I already Install apache24 and php on freebsd, but when I try to run in web browser an error occurs. Such as I run should be reading php script but what is done is to download the file "index.php" How to fix this?
  14. Itproman

    Solved Apache24 Mysql PHP install problem

    Apache 24 install,configuration and start successful. Mysql install is the problem: pkg install mysql57-server mysql57-client Error message: http:// Not Found I...
  15. B

    PECL-Redis for PHP71

    Hello! I'm kind of lost while I'm trying to install the new PECL-Redis on my PHP 7.1 installation. I'm using Synth on my base system to build Packages for my jails. I have jails with different apps running different PHP versions (php56, php70, soon also php71). Until recently it was fairly...
  16. Johnny2Bad

    php, apache, ssmtp not working

    Hello folks, I am trying desperately to get ssmtp to work but without much luck. I followed a number of tutorials on the net. But still ssmtp refuses to forward emails with the php mail function. It does however do the daily and weekly FreeBSD reports. Here's my system details.... uname -a...
  17. F

    Jails, webserver and website

    Hello, NB question here: Setting up FreeBSD on a VPS. Some howto's have Apache running on the host, and the website in a jail. Other howtos have Apache running in a jail. My question, from a security point of view, is it better to run Apache in it's own jail? Would I put my Wordpress website in...
  18. Oclair

    Solved PHP Extensions - PHP Startup: Unable to load dynamic library

    Hi there, Over time I changed something to apache/php and caused some weird issue. It was not apparent this was happening until web apps started to report suggested plugins were not available... 11.0-RELEASE-p6 FreeBSD 11.0-RELEASE-p6 #0 r310492 Apache 2.4.25 via ports PHP 5.6.29 via ports...
  19. J

    PHP 5.6.24 SOAP installation issue

    Hello, I am trying to install SOAP on 10.2-RELEASE-p14 with PHP 5.6.24. After deinstalling extensions, then installing with SOAP support I opened up a phpinfo page. phpinfo shows: Additional .ini files parsed "/usr/local/etc/php/ext-20-soap.ini". A line under module authors. A working system...
  20. ailmanki

    port mod_xsendfile

    mod_xsendfile does by default drop the header "Content-Encoding". And unfortunately it does not add it either. So one cannot serve for example gzip files. Quote from : The Content-Encoding header - if present - will be dropped, as the module cannot know if...