While I trying connect svn using php svn package in windows xampp and I got the below error.
Uncaught Error: Call to undefined function svn_auth_set_parameter()
I have followed
https://www.php.net/manual/en/svn.installation.php manual and installed svn module in php and enabled extension=php_svn in php.ini file.
Here the sample code I have used
svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, 'my username');
svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, 'password');
Related
I am on a windows 10 desktop and I have downloaded PHP 8.1 (8.1.8) from the official website of php. It is located in C:\Program Files\php-8.1.8-Win32-vs16-x64 and I have added it to system path. I have also uncommented the curl php extention in the php.ini-development and php.ini-production files:
My php directory has libcrypto-*.dll, libssl-*.dll and libssh2.dll just like mentioned on php's official website. But even after all that, whenever I try to use the php curl module, I get an error:
Fatal error: Uncaught Error: Call to undefined function curl_init() in .
Also when I save the following code in curl.php file:
<?php
echo "curl enabled: ";
var_dump(extension_loaded("curl"));
?>
and run it using php C:/curl.php, I get:
curl enabled: bool(false)
I'm using PHP 5, Windows (IIS), and when i try access the file from command line, i get the following error (via browser, everything works great):
Fatal error: Uncaught Error: Call to undefined function odbc_connect()
My current code is:
$connection = odbc_connect(DATABASE, 'user', 'user', SQL_CUR_USE_DRIVER ) or die (odbc_errormsg(). "Error");
Also have this extension:
extension=php_sqlsrv_52_nts_vc6.dll
extension=php_pdo_sqlsrv_52_nts_vc6.dll
I read to uncomment (php.ini) line with code php_odbc.dll, but i don't have these line and file.
Any tips to help?
Thank you!
I have the IIS and xampp installed and the problem is the environment variables.
I changed the path C:\xampp\php to C:\php and now, works like expected.
I'm using PHP to read encryted file using opensll.
when doing
openssl_pkcs12_read($storedfile, $certificateinfo, $passwd)
in my script, error came out is :
Fatal error: Call to undefined function openssl_pkcs12_read()
I'm trying to install openssl extension for my Suse Linux Enterprise Server 11.
Can anybody help me how to install openssl extension in SLES. or how to solve this problem.
thanks
I have to use fribidi_log2vis in PHP. When I call it, my localhost (XAMPP) shows this error:
Fatal error: Call to undefined function fribidi_log2vis()
but this function is exists in php.net (http://php.net/manual/en/function.fribidi-log2vis.php)
Fribidi is a PECL extension that is not bundled with PHP by default. Installing instructions: http://php.net/manual/en/install.pecl.php
My db2 database is on windows machine
my php application on Linux machines on xamp
when i start my app then error is occured
error is :- Call to undefined function db2_connect()
DB2 is an extension and must be installed separately before its functions are made available.
http://php.net/manual/en/ibm-db2.installation.php
You need to enable the ibm db2 extension:
http://php.net/manual/en/ibm-db2.installation.php