Installation with Apache
Before installing, make sure mod_rewrite is enabled.
Unzip the source file
cd /home/user/
unzip miraculous.zip
/home/user/miraculous , you can configure Apache virtual host as follows (remember to point the DocumentRoot to the public folder of the source)
<VirtualHost *:80>
ServerName yoursite.com
DocumentRoot "/home/user/miraculous/public"
Options Indexes FollowSymLinks
<Directory "/home/user/miraculous/public">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Change the director/file’s owner to Apache’s running user (www-data for example), to make sure it has proper permission on your source files
sudo chown www-data:www-data -R /home/user/miraculous
sudo chmod 775 -R /home/user/Music Streaming Laravel Script
Then restart Apache.
Last updated
Was this helpful?