![]() ![]() ![]() Include /private/etc/apache2/users/*.conf #Include /private/etc/apache2/users/*.conf Open the file You just enabled above with: Include /private/etc/apache2/extra/nfNow save and quit. LoadModule userdir_module libexec/apache2/mod_userdir.so #LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule perl_module libexec/apache2/mod_perl.soĮnable personal websites by uncommenting the following at line 174: #LoadModule perl_module libexec/apache2/mod_perl.so ![]() If you want to run Perl scripts, you will have to do something similar:Įnable Perl by uncommenting line 178, changing: Then type ':w!' to save, or just 'ZZ' to save and quit. ![]() Then just press 'x' over the '#' character to delete it. (If you aren't familiar with vi, go to line 177 by typing "176G" (without the quotes). LoadModule php7_module libexec/apache2/libphp7.so #LoadModule php7_module libexec/apache2/libphp7.so To get started, edit the Apache configuration file as root:Įnable PHP by uncommenting line 177, changing: Lines in bold courier should be typed at the Terminal. Lines in bold are what you will have to type in. Xcode is required for adding PHP modules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |