Jump to content
Froxlor Forum

sporkman

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sporkman

  • Rank
    Froxie
  1. I'm running a pre-0.10 version in production for quite some time now. The "libnss-extrausers" thing is kind of dumb, I don't recall my workaround. It would be nice to see a working port again, or even better, patches upstream as needed. Since Froxlor is mostly just a config generator, there's no real reason for most of the linuxisms other than people not knowing any better. I mean, all the software Froxlor configures has been running on FreeBSD forever (and in the case of that obscure webserver, nginx, developed on FreeBSD by a bunch of Russian FreeBSD nerds). If the porting pro
  2. This is some weird php/phpmailer/pcre2 issue apparently. For Froxlor, just updating phpmailer to a current version will resolve it (I tested with 6.0.7). For Wordpress, same thing, have to wait for them to sync up with the current version of phpmailer. Other workarounds: - downgrade to php 7.2 - manually build php 7.3 from source using a few specific versions of pcre that don't expose the bug - in Wordpress, add a filter to disable the regex: add_filter( 'wp_mail_from', function($from){PHPMailer::$validator = 'noregex'; return $from;} ) Just answering here for an
  3. I'm stumped by this. Code like this works both from the command line (php -f mailtest.php) and via the web. No errors, mail is seen hitting my local ssmtp instance (this host is not running the mail server portion of froxlor): <?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); $from = "emailtest@YOURDOMAIN"; $to = "YOUREMAILADDRESS"; $subject = "PHP Mail Test script"; $message = "This is a test to check the PHP Mail functionality"; $headers = "From:" . $from; mail($to,$subject,$message, $headers); echo "Test email sent"; ?> WordPre
  4. Pretty darn happy so far with php in worker mode with php-fpm via mod_proxy_fcgi (or is it fastcgi_proxy? or fcgid_proxy? anyhow, the "newest/best" one marked as being needed Deb Stretch in PHP-FPM config page). I have a few customers that don't even use PHP, is there a way to avoid starting up php-fpm processes for them?
  5. Yep. "www" is who the user runs as. As best I can tell it's not part of the user groups though. libnss-mysql seems to be working fine. 'bgreen' and 'css' are both "virtual" users. The "ls" shows that the ids (10000 and 10001) are being mapped properly by libnss-mysql. "css" group mapping seems fine. [root@nj2 /var/customers/webs]# ls -la total 32 drwxr-xr-x 4 root wheel 512 Apr 1 20:05 . drwxr-xr-x 6 root wheel 512 Apr 1 03:15 .. drwxr-xr-x 4 bgreen bgreen 512 Apr 1 20:05 bgreen drwxr-xr-x 4 css css 512 Apr 1 06:10 css [root@nj2 /var/customers/webs]# id www uid=
  6. I'm a bit stumped on something here with the php-fpm setup... I'm seeing my virthosts not able to serve content because when apache connects to the php-fpm socket, it gets a "permission denied" error. The error does make sense - the web server runs as user "www" (whether in pre-fork or worker mpm modes), and there are no suexec overrides (not sure that's even available in worker mpm?) in the individual virtual host entries. And in the per-user php-fpm configs, the permissions are clearly set to the user/group of the the owner, and the mask is 0660 - meaning ONLY the owner of the site has acce
  7. Just an update for anyone else browsing this - had no issues updating to the latest. About to go in and attempt php-fpm (already have libnss-mysql setup, so that PITA is over with). Also surprisingly filesystem quotas work as well, just have to use '/usr/sbin/edquota' and your conditionals do the right thing in passing args to the command. And in FreeBSD the path is a bare path (ie: "/" or "/var"). I see there's a note here: lng/english.lng.php:$lng['serversettings']['system_cronconfig']['description'] = 'Path to the cron-service configuration-file. This file will be updated regularly
  8. Yeah, I'm working with the dumb, stock apache w/o FPM and it's actually not that bad at all. My concern was really that I haven't really tested much with apache in the last decade or so, but I did recently play around with nginx and a bunch of variations and was able to settle on a stack that seemed like a good fit for WP + a 1-2GB VPS. I'm just going to share a bit of that here because some of it is really not nginx-specific, but this is all WordPress-specific... Varnish is a bit of a pain and did not seem to be worth the trouble For caching at the http level, I found the bu
  9. I have to get about 5 or 6 low-traffic WP sites on a small (1GB RAM) VPS. Which web stack is the most efficient (mainly thinking of the memory footprint)? I'm a little put off by apache, but I've only used it with mod-php (and then I stick Varnish in front of it if needed). I think the alternatives are now more varied - apache worker w/fpm, etc... Any recommendations before I just start playing around with the various froxlor options?
  10. Awesome, thanks so much!
  11. Hi all, I really like the general direction of Froxlor - it seems to mostly stay away from touching the underlying OS and whatever package manager your OS is using and just concentrates on being a config generator for the services that are running. This actually seems to make it pretty OS-agnostic. I installed the version from FreeBSD ports (0.9.38.7) and they (port maintainers) didn't really modify it - they just use the port to pull in postfix, apache/nginx, mysql, BIND, etc. and then leave you with a message that you should carefully review all the file paths. So far, the biggest
×
×
  • Create New...