Skip to main content

One post tagged with "ubuntu"

View All Tags

· One min read
Ujwal Kadariya

Setting up laravel project to work on Ubuntu & Apache Form Directories other than /var/www

2. Allow Apache to handle directives other than /var/www. This setting is found in /etc/apache2/apache2.conf.
3. Add apache user (Mine was www-data) to your user group with this command: sudo adduser www-data $(whoami)
4. You need to restart apache2. Also might need to restart php-fpm. Mine was php8.1-fpm.
5. Create virtual host with roverrwire/virtualhost available on github.