• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue PHP extension gRPC on windows Pleask

MWAzone

New Pleskian
Server operating system version
Microsoft Windows Server 2019
Plesk version and microupdate number
Plesk Obsidian Version 18.0.47 Update #5
Hi,

I can't get PHP extension gRPC to work on the windows version of plesk.

I have it in the Tools and Settings > PHP settings > PHP8.1 and enabled it here, and in the php.ini section :
C:\Program Files (x86)\Plesk\Additional\PleskPHP81\php.ini

it shows my added line:
extension=grpc

and the file is put in the ext. location:
C:\Program Files (x86)\Plesk\Additional\PleskPHP81\ext\php_grpc.dll

Still it shows in a phpinfo() that module is not loaded, and is ref. to the php.ini file with the changes to it.
PHP FastCGI version on the subscription and holding the changes.

What am I missing to get it working?
 
What is the output of the command:

C:\> "%plesk_dir%\Additional\PleskPHP81\php.exe" -m | findstr "grpc"

?
 
Okay, the command output that module are not found.
C:\> "%plesk_dir%\Additional\PleskPHP81\php.exe" -m | findstr "grpc"
PHP Warning: PHP Startup: Unable to load dynamic library 'grpc' (tried: C:\Program Files (x86)\Plesk\Additional\PleskPHP81\ext\grpc (The specified module could not be found), C:\Program Files (x86)\Plesk\Additional\PleskPHP81\ext\php_grpc.dll (The specified module could not be found)) in Unknown on line 0
But if I look at that patch the file exists.
C:\>dir "C:\Program Files (x86)\Plesk\Additional\PleskPHP81\ext\"
Volume in drive C is Windows

Directory of C:\Program Files (x86)\Plesk\Additional\PleskPHP81\ext

08/11/2022 18.07 <DIR> .
08/11/2022 18.07 <DIR> ..
27/01/2022 23.01 211.726 Microsoft DRIVERS FOR PHP FOR MICROSOFT SQL SERVER - Standalone (free) Use Terms.rtf
25/10/2022 19.03 88.064 php_bz2.dll
25/10/2022 19.03 93.696 php_com_dotnet.dll
25/10/2022 19.03 595.968 php_curl.dll
25/10/2022 19.03 154.112 php_dba.dll
25/10/2022 19.03 15.360 php_dl_test.dll
25/10/2022 19.03 26.624 php_enchant.dll
25/10/2022 19.03 73.728 php_exif.dll
25/10/2022 19.03 158.720 php_ffi.dll
25/10/2022 19.03 7.118.336 php_fileinfo.dll
25/10/2022 19.03 62.976 php_ftp.dll
25/10/2022 19.03 9.665.024 php_gd.dll
25/10/2022 19.03 55.808 php_gettext.dll
25/10/2022 19.03 326.656 php_gmp.dll
08/11/2022 18.04 5.285.376 php_grpc.dll
25/10/2022 19.03 959.488 php_imap.dll
25/10/2022 19.03 356.864 php_intl.dll
25/10/2022 19.03 256.512 php_ldap.dll
25/10/2022 19.03 1.475.072 php_mbstring.dll
25/10/2022 19.03 117.760 php_mysqli.dll
25/10/2022 19.03 140.288 php_oci8_19.dll
25/10/2022 19.03 65.024 php_odbc.dll
25/10/2022 19.03 815.104 php_opcache.dll
25/10/2022 19.03 145.920 php_openssl.dll
25/10/2022 19.03 33.280 php_pdo_firebird.dll
25/10/2022 19.03 31.232 php_pdo_mysql.dll
25/10/2022 19.03 37.376 php_pdo_oci.dll
25/10/2022 19.03 30.208 php_pdo_odbc.dll
25/10/2022 19.03 45.568 php_pdo_pgsql.dll
25/10/2022 19.03 29.696 php_pdo_sqlite.dll
27/01/2022 23.03 323.984 php_pdo_sqlsrv_81_nts_x64.dll
25/10/2022 19.03 99.840 php_pgsql.dll
25/10/2022 19.03 18.432 php_shmop.dll
25/10/2022 19.03 422.400 php_snmp.dll
25/10/2022 19.03 251.904 php_soap.dll
25/10/2022 19.03 77.824 php_sockets.dll
25/10/2022 19.03 87.040 php_sodium.dll
25/10/2022 19.03 50.688 php_sqlite3.dll
27/01/2022 23.03 341.392 php_sqlsrv_81_nts_x64.dll
25/10/2022 19.03 19.456 php_sysvshm.dll
25/10/2022 19.03 753.152 php_tidy.dll
25/10/2022 19.03 293.888 php_xsl.dll
25/10/2022 19.03 44.544 php_zend_test.dll
27/01/2022 23.01 51.664 SQLSRV_ThirdPartyNotices.rtf
44 File(s) 31.307.774 bytes
 
Where did you get this C:\Program Files (x86)\Plesk\Additional\PleskPHP81\ext\php_grpc.dll file? Are you sure that it is compiled strictly for PHP 8.1?
 
Hello Igor.
It's a pleasure talking to you.

How do I install previous versions of php in plesk obesidian "WINDOWS' , as we know the data source is gone from the panel

I got to this data source

But there is nothing for windows here

Is there a repository url for Windows ?
Could you explain the best way for me to install
5 5,2 5,2 5,3 5,4

Thank you very much
 
Back
Top