Catalina runs Apache 2.4 (mine says it's 2.4.41) and its httpd.conf seems to reside in /usr/local/etc/httpd/ by default. However if it's an upgrade Apache has no problem staying with the one in /etc/apache2, but the config file did revert to generic as far as I could tell. So I had to edit it to bring back stuff - lessons learned of course: think about the OS customization I've done before upgrading. My edits include
- SSL related stuff
- Modules to load ()
- Port setting
- Location of httpd-ssl.conf
- Also the server certificate location within that file
- I added info to httpd-vhosts.conf as well (don't remember if I did that last time)
- PHP stuff: uncomment the line that loads php7 module
The following apache commands are your friends when going through the process...
sudo apachectl configtest
sudo apachectl restart
Some reference links:
https://getgrav.org/blog/macos-catalina-apache-ssl
https://jasonmccreary.me/articles/update-apache-php-mysql-mac-os-x-catalina/
require __DIR__ . '/../vendor/autoload.php';
Removing the line solved the issue.
No comments:
Post a Comment