Posts

Showing posts with the label Apache

Website FINALLY Adapted to Apple Silicon

Back in March, I took advantage of a sale at Costco, advanced the inevitable update, and bought a blue-colored iMac. With its Apple M1 chip , after reinstalling essential packages using Homebrew , I had to make multiple changes to the Apache and Tomcat server configurations to allow my website, and the Tomcat server serving the biking weather suitability forecast application, to work properly again. Since these explorations - including a dead end trying to switch from using Apache to Nginx for the web server, given what seems to be the trend and the latter's apparent strength being reverse proxy work - were done very sporadically, it took me until this month finally to get it right. One thing I am glad I did relatively early in the process was to make the new configuration folders git repositories, so I could review the history of document changes and, more importantly, reverse them if needed. This was done using the following steps for the Apache (httpd) folder: cd /...

Sunrise and Sunset Times Added to Biking Weather Suitability Forecast App

Although it is pretty much the end of the biking season for the year as I write this, I have added an upgrade to my Biking Weather Suitability Forecast app: the sunrise and sunset times for the location. For now, this means Richfield, Minnesota. Perhaps someday I will get to making the app more customizable for the user.

My Biking Weather Suitability Forecast Web App

I have added a new page for my new " Biking Weather Suitability Forecast Web App ". Find more information about the app at the page; for now, it is hard-coded to focus on suitability using hard-coded criteria and for Richfield, Minnesota, only. The forecasts can probably be considered "close enough" for the rest of the Twin Cities metro area.

Fixing "Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib\n Referenced from: /usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so\n Reason: image not found" after a php Update on a Mac

A few weeks ago, I discovered the Wordpress "Site Health Status" tool. I saw that it recommended upgrading my outdated version of php so, being a good "computer guy", I went ahead and did the upgrade. After the update, I found that I could not view my website. After digging around to remind myself about the sudo apachectl -k restart command, I got the error message httpd: Syntax error on line 183 of /usr/local/etc/httpd/httpd.conf: Cannot load /usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so into server: dlopen(/usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so, 10): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib\n Referenced from: /usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so\n Reason: image not found Since I use the Homebrew package manager, I followed the advice to do a brew upgrade brew cleanup However, even after doing this, I found I still had the problem. Trying other advice, I tried reinstalling php, and saw advice...

Fixing ERR_CONNECTION_REFUSED errors attempting to connect to my site after changes

After upgrading(?) my Mac to MacOS Mojave, I found the hard disk access speed intolerable. Boot ups would take several minutes, and everything took far too long. I finally switched my Mac to boot up off of an external USB Solid State Drive (SSD). After cloning my hard drive to the SSD and switching it to be the default boot drive, the old(ish) Mac is once again pleasantly fast and usable. However, after this change, I found that, whenever I attempted to connect to my site, any browser I tried to connect to it through would give a message about being unable to connect to the server. One specific message shown in Google Chrome was ERR_CONNECTION_REFUSED The first part of the solution came from a Stack Overflow answer by adang . In a terminal, I ran sudo vi /etc/apache2/httpd.conf I then uncommented the following lines by removing the pound ("#") at the start of the line containing them: LoadModule authz_core_module libexec/apache2/mod_authz_core.s...