Question

I made my php project in windows8 OS. It is running well in WAMP in windows8. I'm using duel boot so I started my ubuntu 12.10 OS. After that I copy pasted same project in /var/www/Day4(My project name) folder. And started apache server using " sudo /etc/init.d/apache2 start ". When I'm running simple index page I got this error.

Not Found

The requested URL /day4/index.php was not found on this server. sApache/2.2.22 (Ubuntu) Server at localhost Port 80

I want know how to run same php project in ubuntu. I'm using netbeans 7.3 for devoloping.

Was it helpful?

Solution

Linux is case sensitive. You're trying to load /day4/index.php, but the file is on /Day4/index.php. Those are the same in Windows, but not under any Linux.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top