← All docs

mysqli_ssl_set()

Collects TLS settings for the next connection.

mysqli_ssl_set()

function mysqli_ssl_set(mixed $mysql, ?string $key, ?string $certificate, ?string $ca_certificate, ?string $ca_path, ?string $cipher_algos): bool

Collects TLS settings for the next connection.

Parameters:

  • $mysql (mixed)
  • $key (?string)
  • $certificate (?string)
  • $ca_certificate (?string)
  • $ca_path (?string)
  • $cipher_algos (?string)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_ssl_set is implemented in the compiler, see the internals page.