Ubuntu URL NOT found issue in php folder


1 - Use terminal to open this file

```

sudo gedit /etc/apache2/apache2.conf

```

2 - Find the below line in that file

```

<Directory /var/www/>

```

3 - Change *AllowOverride None* to *AllowOverride All*

4 - Save the file

5 - Run the below command in terminal

```

sudo a2enmod rewrite

```

6 - Restart Apache

```

sudo service apache2 restart

```