Edit the installdir/apps/myapp/conf/nf file and modify it so that it looks like this:ĭocumentRoot "/Applications/mampstack-7.3.13-0/apps/myapp/htdocs/". You should now be able to access the application at If you prefer to have the application available at the server root, perform these additional steps: Sudo installdir/ctlscript.sh restart apache Include "/Applications/mampstack-7.3.13-0/apps/myapp/conf/nf" Once you have created the files and directories above, add the following line to the end of the main Apache configuration file at /Applications/mampstack-7.3.13-0/apache2/conf/bitnami/nf, as shown below:. htaccess file content to the main server configuration file. htaccess files, you should change the AllowOverride None option to AllowOverride All. This is the main configuration file for your application, so modify it further depending on your application’s requirements. Create and edit the /Applications/mampstack-7.3.13-0/apps/myapp/conf/nf file and add the content below to it. Create and edit the /Applications/mampstack-7.3.13-0/apps/myapp/conf/nf file and add the line below to it:Īlias /myapp/ "/Applications/mampstack-7.3.13-0/apps/myapp/htdocs/"Īlias /myapp "/Applications/mampstack-7.3.13-0/apps/myapp/htdocs/". Sudo chmod -R g+w /Applications/mampstack-7.3.13-0/apps/myapp/htdocs/ Sudo chown -R bitnami:daemon /Applications/mampstack-7.3.13-0/apps/myapp/htdocs/ Sudo cp -r /Users/william/Documents/ProjectX/public/* installdir/apps/myapp/htdocs/ Sudo mkdir /Applications/mampstack-7.3.13-0/apps/myapp/conf Sudo mkdir /Applications/mampstack-7.3.13-0/apps/myapp/htdocs/ Sudo mkdir /Applications/mampstack-7.3.13-0/apps/myapp Hello Run the following commands to create the directories and assign the necessary permissions: PHP Fatal error: Unknown: Failed opening required ‘/Users/william/Documents/ProjectX/public/test.php’ (include_path=’.:/Applications/mampstack-7.1.29-0/php/lib/php:/Applications/mampstack-7.1.29-0/frameworks/smarty/libs’) in Unknown on line 0
Applications/mampstack-7.1.29-0/apache2/logs/error_log: Applications/mampstack-7.1.29-0/apache2/logs/access_log: I started MySQL and Apache web server using manager-osx. Options Indexes FollowSymLinks MultiViews I configured /Applications/mampstack-7.1.29-0/apache2/conf/extra/nf as below:ĭocumentRoot “/Users/william/Documents/ProjectX/public” After upgraded to Catalina, existing MAMP that hosts my local PHP web site stop working. Keywords: LAMP/MAMP/WAMP - OS X - Technical issue - UpgradeĪll existing installation and configuration below are working fine on macOS Mojave.