Php extensions in php.ini

Avatar
  • Answered
CGI/FastCGI is not the problem, maybe below extension didn't activated that's why my php script doesn't work.
below extension configure only on Windows , how use the extension on linux ?

extension=php_bz2.dll
extension=php_curl.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_pdo_sqlite.dll
extension=php_sqlite.dll
extension=php_sqlite3.dll
extension=php_xmlrpc.dll

thank you.
Avatar
Scott
Hello MichPope,

As .dll extensions are Windows only, you will want to replace them with .so extensions. For example use extension=php_bz2.so in place of extension=php_bz2.dll

Do this for all of them in the php.ini file and that should enable the extensions that exist on the server.

I hope that answers your question, if you have any further questions on the issue please leave a comment below.

Thank you!
- Scott M