Date: Fri, 13 Jan 2017 15:39:13 -0500 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: freebsd-questions@freebsd.org Subject: A question about php in a jail Message-ID: <9759d7e21a401b7f89f9318c1656867e.squirrel@webmail.harte-lyne.ca>
next in thread | raw e-mail | index | archive | help
This past week I have been setting up a jail for a drupal7 website. I
am now at the point where I need to update the modules and I would
like to employ the drush cli utility. To install this on a Drupal7
website it is suggested to run this command in the Drupal document
root:
php -r
"readfile('https://s3.amazonaws.com/files.drush.org/drush.phar');" >
drush
However, when I run this inside the jail then I see this error,
PHP Warning: readfile(): Unable to find the wrapper "https" - did you
forget to enable it when you configured PHP? in Command line code on
line 1
PHP Warning:
readfile(https://s3.amazonaws.com/files.drush.org/drush.phar): failed
to open stream: No such file or directory in Command line code on line
1.
If I run the same command on the host system of the jail then I do not
get this error. What am I missing with respect to the jailed setup?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9759d7e21a401b7f89f9318c1656867e.squirrel>
