I am getting this error when i create the .htaccess and write
php_admin_value open_basedir none
And now when i goto my website it says
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@kilbridebabyspace.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request
Some server doesn’t allow php.ini settings in .htacess.
Please make sure that removing that line works properly else you have to contact your server administrator with problems.
More about settings here
Thanks
Sets the value of the specified directive. This can not be used in .htaccess files. Any directive type set with php_admin_value can not be overridden by .htaccess or ini_set(). To clear a previously set value use none as the value.
Sets the value of the specified directive. This can not be used in .htaccess files. Any directive type set with php_admin_value can not be overridden by .htaccess or ini_set(). To clear a previously set value use none as the value.
[Thu Nov 12 17:11:57 2009] [error] [client x.x.x.x] File does not exist: /home/yonged/public_html/500.shtml
[Thu Nov 12 17:11:57 2009] [alert] [client x.x.x.x] /home/yonged/public_html/plesk-billing/.htaccess: php_admin_value not allowed here
i tried the following but no success, i think you better know what log says
php_admin_value open_basedir none
php_value open_basedir none
php_admin flag open_basedir none
You cannot use .htaccess unless you are running php as an apache module. If you’re running php via cgi, it won’t work. You need to edit php.ini. Your host might allow you to configure or create your own php.ini, so ask them(there can be lots of variations on how they set it up).