PhpsI am using Apache/2.4.28 (Unix) and PHP 5.6.30.Everything was working fine until the update. I have searched online for any solution this issue, but to no avail. Someone posted a similar question here a couple of years ago regarding the same syntax error, however, he didn't provide enough details or any follow-up regarding his setup, and no solution could be offered: Mac apache not working - apachectl configtest errorsHere an (old) 3rd party PHP probably from entropy.ch was installed to /local/usr/bin/. The Sierra httpd.conf was modified to work with the different PHP (and virtual hosts).While updating to macOS to High Sierra, the Sierra httpd.conf was backed up to httpd.conf.sierra, a new High Sierra httpd.conf was installed and gained control, but won't work with the custom PHP5.After backing up the High Sierra httpd.conf to httpd.conf.high_sierra: sudo mv /private/etc/apache2/httpd.conf /private/etc/apache2/httpd.conf.high_sierraReactivating the httpd.conf.sierra: sudo cp /private/etc/apache2/httpd.conf.sierra /private/etc/apache2/httpd.conf#LoadModule php5_module libexec/apache2/libphp5.soAnd changing the version number from 5 to 7 so that it reads:LoadModule php7_module libexec/apache2/libphp7.soRenaming the custom /local/usr/bin/php to php5: sudo mv /local/usr/bin/php /local/usr/bin/php5Replacing the soft link /private/etc/apache2/other/+php-osx.conf (linking to /usr/local/php5/entropy-php.conf) with the High Sierra default /private/etc/apache2/other/php7.confAnd removing any reference to the custom PHP5, apachectl configtest was OK and Apache worked again - now with Apple's PHP7. So I did apachectl configtest and got this error message:Pronounced as Engine-X, Nginx is an opensource high-performance robust web server which also double-ups as a load balancer, reverse proxy, IMAP/POP3 proxy server, and API gateway. Initially developed by Igor Sysoev in 2004, Nginx has grown in popularity to edge out rivals and become one of the most stable and reliable web servers.Cross compiling Qt 5.11 for RPi3 on macOS 10.14 Mojave or macOS 10.13 High Sierra Pipit 3 Bringing native macOS Picture in Picture to Chrome and Firefox for (almost) any videoHttpd: Syntax error on line 544 of /private/etc/apache2/httpd.conf:MacOS versions older than High Sierra have an FTP server built into the OS.
![]() ![]() Open Source Webserver High Sierra Mac Apache Not
0 Comments
Leave a Reply. |
Details
AuthorTricia ArchivesCategories |