I am unable to install drupal in my /var/www/html directory. When I tried to install, it says
File system The directory sites/default/files is not writable. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook. OK Unicode library PHP Mbstring Extension Error Settings file The settings file does not exist. The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php. More details about installing Drupal are available in INSTALL.txt.
777 permission to directory
ls -l for directory
[root@localhost default]# ls -l
-rwxrwxrwx. 1 nitish root 23197 Mar 30 06:20 default.settings.php drwxrwxrwx. 2 nitish root 4096 Mar 30 06:26 files