I get the following error. Using a 2012 server, IIS 8.5. PHP 7.3 I believe.
Fatal error: Uncaught Error: Call to undefined function gettext() in C:\inetpub\wwwroot\addr\lib\ldap_result.php:44 Stack trace: #0 C:\inetpub\wwwroot\addr\utils.php(20): include() #1 C:\inetpub\wwwroot\addr\index.php(19): include('C:\inetpub\wwwr...') #2 {main} thrown in C:\inetpub\wwwroot\addr\lib\ldap_result.php on line 44
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The error occurs because the GetText PHP extension is not loaded. (The next version of LDAP Address Book will detect and report the missing extension in a more user-friendly manner.)
Recent versions of PHP for Windows don't have GetText enabled by default. To enable, it edit your php.ini file and find the following line
;extension=gettext
Remove the semicolon from the start of the line and then save the change. Depending on your setup you may need to run "iisreset" for the the web server to start using the new settings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get the following error. Using a 2012 server, IIS 8.5. PHP 7.3 I believe.
Fatal error: Uncaught Error: Call to undefined function gettext() in C:\inetpub\wwwroot\addr\lib\ldap_result.php:44 Stack trace: #0 C:\inetpub\wwwroot\addr\utils.php(20): include() #1 C:\inetpub\wwwroot\addr\index.php(19): include('C:\inetpub\wwwr...') #2 {main} thrown in C:\inetpub\wwwroot\addr\lib\ldap_result.php on line 44
The error occurs because the GetText PHP extension is not loaded. (The next version of LDAP Address Book will detect and report the missing extension in a more user-friendly manner.)
Recent versions of PHP for Windows don't have GetText enabled by default. To enable, it edit your php.ini file and find the following line
Remove the semicolon from the start of the line and then save the change. Depending on your setup you may need to run "iisreset" for the the web server to start using the new settings.