0

I am currently on shared hosting.I need to know how to add extensions that I need via htaccess.Normally, I would update the php.ini file with the following:

extension=php_mbstring.dll
extension=php_exif.dll

I put below lines in the htaccess file to make this occur.

php_extension mbstring.so
php_extension php_exif.so

But I am geeting internal server error.

Please help.

Nirali Agile
  • 11
  • 1
  • 7

1 Answers1

0

You do not have to include last two lines in the .htaccess file since you have added the extensions in php.ini.

CeganB
  • 3
  • 4
  • yes but it did't worked for me so i have added it in .htaccess file – Nirali Agile Jun 10 '13 at 10:59
  • I don't have access of php.ini file.i want to add mbstring,php_exif extensions via .htaccess file.Is there any way to do this? – Nirali Agile Jun 10 '13 at 11:25
  • I have had that problem before, check out this post for more details http://stackoverflow.com/questions/2271910/edit-htaccess-to-load-php-extension – CeganB Jun 10 '13 at 14:01