PHP Fatal Error include_path=’.:/usr/share/php:/usr/share/pear

[Sat Feb 12 08:36:31 2011] [error] [client] 
PHP Fatal error:  Unknown: Failed opening required '/home/g3n1k/www/index.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

solved with

$ sudo chmod 755 /home/g3n1k/www
$ sudo chmod 644 /home/g3n1k/www/index.php

atau solusi ini juga berguna

Published by


just to remember what i had known :)

2 thoughts on “PHP Fatal Error include_path=’.:/usr/share/php:/usr/share/pear”

    1. error diatas muncul jika kita menggunakan sebuah perintah include pada PHP,
      dan ternyata file include yg kita inginkan tidak bisa terbaca,
      ada kemungkinan permasalahan di permission akses folder
      si user www@data (user apache) tidak dapat membaca file didalam folder include
      solusi nya berikan akses, atau ubah permission nya agar dapat dibaca oleh apache

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s