Conversation
Notices
-
Reorganized the custom Apache conf structure of this server into their own confs, leaving the main httpd.conf clean. Did have to update the main one due to a change in 2.4 that wasn't present in 2.3 (trunk).
I should probably move the custom ones into their own subdirectory.
-
Made further cosmetic changes to the custom confs. Also enabled Server Pool Management (MPM specific) to the server.
-
Was trying to move PHP from CGI to FastCGI, and... realized that PHP was not built for FastCGI. So I will have to recompile it once again.
-
Apache HTTPd is updated. Next is wrangling the setup to compile PHP, as it is yet another newer install of the compile box.
-
PHP7 is now running in FastCGI mode. Still have to recompile PHP so it can use the libraries to match the server.
Also, looks like the deployment notes needs a very important update re: FastCGI implentation and Apache HTTPd.
-
Oof, some stuff broke all because I didn't use a + in ExecCGI. Now stuff works as intended.
I also didn't use + in a few other places since 2008, so I got bit by that eventually. FastCGI seems to abide by that properly and not CGI with this setup (so config can be a bit loose), so... interesting.
-
More cleaning up the global httpd.conf file. Didn't know that Apache Foundation officially added the HTTPoxy mitigation to that file some time ago.
Also cleaned up the custom httpd-php config and split those between the CGI part and FastCGI part.
-
Went back to PHP in CGI mode as a test for the CGI socket. Going to go back to PHP in FastCGI mode.
-
Changed bandwidth limit setup from a modified mod_bw module to the official mod_ratelimit module. Seems fine, but I need more tests to make sure.
-
Nope, ratelimit contemplates with bw, so both are enabled, and mod_bw limits are upped. Now each client downloads at the speed of what the old mod_bw settings are, and mod_bw limits are double that.
256KB each client -> 512KB bw limit
384KB each client -> 768KB bw limit
512KB each client -> 1024KB (1MB) bw limit
-
So, I can read the entire /etc/passwd file on my server through PHP. Obviously this will be fixed.
-
...Partially fixed. I have phpsysinfo on the main server and using open_basedir breaks that (and possibly a few things). shell_exec() is disabled for now, however.