membuka file php lewat browser gagal

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
zake
Posts: 28
Joined: 07 Sep 2011, 15:12
Location: bali

membuka file php lewat browser gagal

Postby zake » 15 Oct 2011, 10:32

agan2 , ane mau tanya nieeee....
setelah start lampp lewat terminal, ane membuka file.php lewat browser, tapi kagak bisa, ada tulisan kayak gini...
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/xxx/file.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0

mohon pencerahannya...trima kasih...
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: membuka file php lewat browser gagal

Postby thrvers » 15 Oct 2011, 10:36

'
dicoba:

Code: Select all

$ sudo chmod 0644 -Rf /opt/lampp/htdocs/
User avatar
zake
Posts: 28
Joined: 07 Sep 2011, 15:12
Location: bali

Re: membuka file php lewat browser gagal

Postby zake » 15 Oct 2011, 13:00

trima kasih agan thrvers, tapi setelah ane coba malah ndak bisa, ada tulisan " you dont have permission "...

truz ane coba aja yang permission lain ...
$ sudo chmod 777 -Rf /opt/lampp/htdocs/
akhrnya bisa meskipun jadi exe...hwehwehwhe...

trima kasih agan thrvers...

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests