FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stripe-php/update_certs.php at master · stripe/stripe-php · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
stripe
/
stripe-php
Public
Notifications
You must be signed in to change notification settings
Fork
893
Star
4k
Code
Issues
12
Pull requests
4
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
stripe-php
/
update_certs.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
20 lines (15 loc) · 388 Bytes
Breadcrumbs
stripe-php
/
update_certs.php
Copy path
File metadata and controls
executable file
·
20 lines (15 loc) · 388 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env php
<?php
\chdir
(
__DIR__
);
\set_time_limit
(
0
);
// unlimited max execution time
$
fp
=
\fopen
(
__DIR__
.
'
/data/ca-certificates.crt
'
,
'
w+b
'
);
$
options
= [
\
CURLOPT_FILE
=>
$
fp
,
\
CURLOPT_TIMEOUT
=>
3600
,
\
CURLOPT_URL
=>
'
https://curl.se/ca/cacert.pem
'
,
];
$
ch
=
\curl_init
();
\curl_setopt_array
(
$
ch
,
$
options
);
\curl_exec
(
$
ch
);
\curl_close
(
$
ch
);
\fclose
(
$
fp
);
Back
|
FazBrowse Home
|
New Git URL