Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

openssl_get_cert_locations(3) [php man page]

OPENSSL_GET_CERT_LOCATIONS(3)						 1					     OPENSSL_GET_CERT_LOCATIONS(3)

openssl_get_cert_locations - Retrieve the available certificate locations

SYNOPSIS
array openssl_get_cert_locations (void ) DESCRIPTION
openssl_get_cert_locations(3) returns an array with information about the available certificate locations that will be searched for SSL certificates. PARAMETERS
This function has no parameters. RETURN VALUES
Returns an array with the available certificate locations. EXAMPLES
Example #1 openssl_get_cert_locations(3) example <?php var_dump(openssl_get_cert_locations()); ?> The above example will output: array(8) { ["default_cert_file"]=> string(21) "/usr/lib/ssl/cert.pem" ["default_cert_file_env"]=> string(13) "SSL_CERT_FILE" ["default_cert_dir"]=> string(18) "/usr/lib/ssl/certs" ["default_cert_dir_env"]=> string(12) "SSL_CERT_DIR" ["default_private_dir"]=> string(20) "/usr/lib/ssl/private" ["default_default_cert_area"]=> string(12) "/usr/lib/ssl" ["ini_cafile"]=> string(0) "" ["ini_capath"]=> string(0) "" } PHP Documentation Group OPENSSL_GET_CERT_LOCATIONS(3)

Check Out this Related Man Page

CAIRO_AVAILABLE_SURFACES(3)						 1					       CAIRO_AVAILABLE_SURFACES(3)

Cairo::availableSurfaces - Retrieves all available surfaces

       Object oriented style (method):

SYNOPSIS
publicstatic array Cairo::availableSurfaces (void ) DESCRIPTION
Procedural style: array cairo_available_surfaces (void ) Returns an array with the available surface backends PARAMETERS
This function has no parameters. RETURN VALUES
A list-type array with all available surface backends. EXAMPLES
Example #1 Object oriented style <?php /* Object Oriented style */ var_dump(Cairo::availableSurfaces()); ?> The above example will output something similar to: array(6) { [0]=> string(5) "IMAGE" [1]=> string(3) "PNG" [2]=> string(3) "PDF" [3]=> string(2) "PS" [4]=> string(3) "SVG" [5]=> string(5) "WIN32" } Example #2 Procedural style <?php /* Procedural style */ var_dump(cairo_available_surfaces()); ?> The above example will output something similar to: array(6) { [0]=> string(5) "IMAGE" [1]=> string(3) "PNG" [2]=> string(3) "PDF" [3]=> string(2) "PS" [4]=> string(3) "SVG" [5]=> string(5) "WIN32" } SEE ALSO
Cairo::availableFonts. PHP Documentation Group CAIRO_AVAILABLE_SURFACES(3)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

ssl certs

Hi all can anyone tell me how i can discover the strength of encryption in an ssl cert. I have used various methods ie apps and verisign web page but they just give me general info. I need to know the encryption level. The cert in question is used in Weblogic application for Solaris 8 any... (1 Reply)
Discussion started by: silvaman
1 Replies

2. UNIX for Advanced & Expert Users

configuring PHP 5

i've downloaded php 5 everything seems to be going smoothly except for onething.. i can't seem to locate the files... my question is do i have to manually place the lib in /usr/lib. how do I go about doing this and which other files have to be allocated.. thanx moxxx68 (3 Replies)
Discussion started by: moxxx68
3 Replies

3. Programming

Substitute string using location (preferably perl).

I have a string like. ATATATATTATTATATTATATTATT I want to substitute the characters to "C" by using these locations 3 7 10 18 15 20 desired Output: ATCCCCCTTACCCCCCCCCCTTATT any clue will be great help. :wall: thanks in advance. (2 Replies)
Discussion started by: admax
2 Replies

4. Red Hat

How to Find all the SSL certs on a give host Cent OS

Hi I am trying to find all the ssl certs installed/located on cent os Host , Please help . (1 Reply)
Discussion started by: smartguyz2012
1 Replies

5. Programming

Perl to extract ssl certs from xml file

HI Guys, I'm a newbie in perl. (4 Replies)
Discussion started by: jhamaks
4 Replies

6. Shell Programming and Scripting

Urgent !!

Hello All, I want to use scp for copying multiple files ( files locations are stored in an array ) from remote server from different locations without prompting password every time . I will supply password once and it should be able to copy every file mentioned in an array. eg :- array have ... (1 Reply)
Discussion started by: manpav
1 Replies