Recent content by Jan_E

  1. J

    Curl 7.70.0

    Custombuild 2.0 is still building curl 7.69.1: [root@vps custombuild]# cat versions.txt | grep curl curl:7.69.1:b9bb5e11d579425154a9f97ed44be9b8 curl_cacert:20161102:c726ae88fd600aa26df1d30f42b51fec Is there any reason why the update to curl 7.70.0 has not been made?
  2. J

    How-to: Enable HTTP/2 in Apache/Nginx/cURL

    I once had this problem as well on CentOS 6. Yum depends on the in /usr/local/lib/, which symlinks to /usr/local/lib/ If you install a Curl with shared libs in /usr/local Yum will stop working. If you want a new version of curl in /usr/local be sure to...
  3. J

    How-to: Enable HTTP/2 in Apache/Nginx/cURL

    It only installs (or updates) OpenSSL in /usr/local/ssl-1.1.1. If you did not have OpenSSL 1.1.1d in Apache, PHP or Curl yet (using the other scripts) nothing changes at all.
  4. J

    How-to: Enable HTTP/2 in Apache/Nginx/cURL

    I upgraded to OpenSSL 1.1.1f today on my CentOS 6.10 servers. Build script (in conjunction with the others scripts in the previous messages): cd /usr/local/src rm -f openssl-*.tar.gz* rm -rf openssl-1.1.1f wget tar xzf openssl-1.1.1f.tar.gz...
  5. J

    How-to: Enable HTTP/2 in Apache/Nginx/cURL

    This is my custombuild/custom/curl/configure.curl #!/bin/sh ./configure --with-nghttp2=/usr/local --with-ssl=/usr/local/ssl-1.1.1 --disable-shared make && make install make clean perl -pi -e 's|CURL_CHECK_PKGCONFIG\(zlib\)|#CURL_CHECK_PKGCONFIG(zlib)|g' LIBS="-ldl" ./configure...
  6. J

    How-to: Enable HTTP/2 in Apache/Nginx/cURL

    Try installing OpenSSL in /usr/local/ssl-1.1.1 and use this in custombuild/custom/ap2/configure.apache "--enable-http2" \ "--enable-ssl-staticlib-deps" \ "--with-ssl=/usr/local/ssl-1.1.1" \ is running on CentOS 6.10 as well. Snippet from...
  7. J

    [CB] Support for building first, not yet 'make install'

    I am in the process of changing the php_mode of all my 4 PHP releases from mod_php (1) and fastcgi (3) to php-fpm. Because I want the downtime to be as short as possible, I was looking for a possibility to do it in 2 steps: first step is building the 4 PHP versions and second step is to install...
  8. J

    CentOS 6.10 update: iptables overwrite warning

    CentOS 6.10 is available now. Warning for Directadmin users: it will overwrite /etc/init.d/iptables and /etc/init.d/ip6tables. If you modified these files to use the Brute Force IP-blocking, make a backup before updating. Release notes:
  9. J

    sshd_config: Match user conflicts with AllowUsers

    In the standard DA setup new SSH-users are appended to the end of /etc/ssh/sshd_config. However if you want to use Match User, this directive also has to be at the end of sshd_config. I wanted to grant Password Authentication to only a few users: PasswordAuthentication no Match User newuser99...
  10. J

    Bad flag delimiters after update to DA 1.43.3

    There are errors in line 50 and 51 of data/templates/virtual_host2.conf after the update to DA 1.43.3 Line 50 was: RewriteCond %{REQUEST_FILENAME} \.php|PHP2_ RELEASE|$ And should have been RewriteCond %{REQUEST_FILENAME} \.php|PHP2_RELEASE|$ Without the space between PHP2_ and RELEASE. I...
  11. J

    ./build update_versions replaces my PHP 5.3 by PHP 5.4

    I have got the following setup: php1_release=5.3 php2_release=5.4 php1_mode=mod_php php2_mode=php-fpm php_ini=no #Possible values - production or development php_ini_type=production I ran ./build update to see if DA already had put PHP 5.3.21 and 5.4.11 in the custombuild setup. Yes, both new...
  12. J

    Open_basedir in default /usr/local/directadmin/data/users/*/php/php-fpm54.conf

    My CB 2.0 setup: php1_release=5.3 php2_release=5.4 php1_mode=mod_php php2_mode=php-fpm The build was successful and I could change a domain to PHP-FPM by adding this to the Custom HTTPD setup: <IfModule mod_fastcgi.c> <FilesMatch "\.(inc|php|php3|php4|php44|php5|php52|php53|phtml|phps)$">...
  13. J

    Per user Configurations with Custombuild 2.0 + PHP-FPM

    Of course, I checked that. I have been running XCache 3.0.0 on my Windows 2008R2 server production server for some time now under PHP 5.3 mod_fcgid with great results. That is why I wanted to implement the same on my Centos boxes. Screenshot of the XCache stats after a really small domain had...
  14. J

    HOWTO: mod_fcgid in CB 2.0, switchable to suphp

    HOWTO: mod_fcgid in CB 2.0, switchable to suphp and mod_php This post will show you how to install mod_fcgid, using custombuild 2.0, and create a setup where the admin can choose for every individual DA-user between mod_php, suphp and mod_fcgid. I am using this on my Centos server with Apache...
  15. J

    Error in default options.conf CB 2.0

    I had some troubles with installing PHP 5.4 as suphp and discovered what was wrong: a typo in the generated default options.conf. I did the following: cd /usr/local/directadmin mv custombuild custombuild_1.x wget -O custombuild.tar.gz...