Support

UNiTE, Remote CLI, eXtract Wizard

#43511 error php Fatal error: Uncaught Error: Call to undefined function

Posted in ‘Akeeba Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
PHP 8.4
Tool
Remote CLI
Tool version
last remote.phar

Latest post by nicholas on Thursday, 12 November 2026 08:43 CST

frdt

Hi, 

I try to use remote cli from a windows 11. Php php-8.5.12-1 is installed on the windows workstation and remote.phar is in the same directory than php

remote cli and share key are configured on akeeba on the website (Joomla 6 last version , php 8.4 and akeeba last build), 

commande executed in the console = php remote.phar --action=test --host=myurl --secret=mysecret

Error below ... What is missing for me ?

Fatal error: Uncaught Error: Call to undefined function Composer\CaBundle\openssl_x509_parse() in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php:189
Stack trace:
#0 phar://C:/php-8.5.12-1/remote.phar/vendor/akeeba/json-backup-api/src/Options.php(122): Composer\CaBundle\CaBundle::validateCaFile('C:\\Users\\frdt\\A...')
#1 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(79): Akeeba\BackupJsonApi\Options->__construct(NULL, false)
#2 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(87): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiOptions(Array)
#3 phar://C:/php-8.5.12-1/remote.phar/Application/Command/Test.php(16): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiObject()
#4 phar://C:/php-8.5.12-1/remote.phar/Application/Kernel/Dispatcher.php(102): Akeeba\RemoteCLI\Application\Command\Test->execute()
#5 phar://C:/php-8.5.12-1/remote.phar/remote.php(125): Akeeba\RemoteCLI\Application\Kernel\Dispatcher->dispatch()
#6 C:\php-8.5.12-1\remote.phar(15): require_once('phar://C:/php-8...')
#7 {main}
  thrown in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 189

Akeeba Remote Control CLI 3.1.1 (2024-05-29)

I test th connection with "php remote.phar --action=test --host=mysitedomainename --secret=mysecret

Than in the console I get :

Deprecated: Akeeba\RemoteCLI\Application\Input\Cli::__construct(): Implicitly marking parameter $source as nullable is deprecated, the explicit nullable type must be used instead in phar://C:/php-8.5.12-1/remote.phar/Application/Input/Cli.php on line 33

Deprecated: Composer\CaBundle\CaBundle::getSystemCaRootBundlePath(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 67

Deprecated: Composer\CaBundle\CaBundle::validateCaFile(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 161

....

Fatal error: Uncaught Error: Call to undefined function Composer\CaBundle\openssl_x509_parse() in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php:189
Stack trace:
#0 phar://C:/php-8.5.12-1/remote.phar/vendor/akeeba/json-backup-api/src/Options.php(122): Composer\CaBundle\CaBundle::validateCaFile('C:\\Users\\frdt\\A...')
#1 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(79): Akeeba\BackupJsonApi\Options->__construct(NULL, false)
#2 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(87): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiOptions(Array)
#3 phar://C:/php-8.5.12-1/remote.phar/Application/Command/Test.php(16): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiObject()
#4 phar://C:/php-8.5.12-1/remote.phar/Application/Kernel/Dispatcher.php(102): Akeeba\RemoteCLI\Application\Command\Test->execute()
#5 phar://C:/php-8.5.12-1/remote.phar/remote.php(125): Akeeba\RemoteCLI\Application\Kernel\Dispatcher->dispatch()
#6 C:\php-8.5.12-1\remote.phar(15): require_once('phar://C:/php-8...')
#7 {main}
  thrown in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 189

 

 

 

nicholas
Akeeba Staff
Manager

You need to install and enable the openSSL extension in your PHP.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

frdt

Thx, "You need to install and enable the openSSL extension in your PHP." at the web ser ver level or in the php instaklled on windows ?

nicholas
Akeeba Staff
Manager

Apologies, that's a valid question. I meant on PHP installed on your Windows computer.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

frdt

Thanks and sorry for basic questions ... I think now that openssl is well active (config in php.ini under windows)

With the test command  executed in the console = php remote.phar --action=test --host=myurl --secret=mysecret  I get now this below

I have enable extensions  as follow

;extension=mbstring
extension=mysqli
;extension=odbc
extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
extension=pdo_odbc
extension=pdo_pgsql
extension=pdo_sqlite
;extension=pgsql

 

Akeeba Remote Control CLI 3.1.1 (2024-05-29)
Copyright ©2006-2026 Nicholas K. Dionysopoulos / Akeeba Ltd.
--------------------------------------------------------------------------------
 This program comes with ABSOLUTELY NO WARRANTY. This is Free Software and you
 are welcome to redistribute it under certain conditions. Use command license
 for details.
--------------------------------------------------------------------------------
Error #0 - No transport driver available.

nicholas
Akeeba Staff
Manager

Try also enabling the curl extension in PHP on Windows.

For what it's worth, you don't really need the database drivers you have enabled if you're only going to be taking backups remotely. The backup itself runs on your web server. The only think running on Windows is a very small script which connects to your site over HTTPS and tells the backup to step through. This is why you need curl and openssl. The curl extension implements communication to remote servers over HTTP(S), FTP(S), SFTP etc. The openssl extension is used to verify the root TLS certificates used for HTTPS connections.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

frdt

Successful connection to site

Great thanks, running fine

 

nicholas
Akeeba Staff
Manager

You're welcome! I am glad I could help :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!