Closed eydun closed 11 months ago
This is certainly due to the version of the libcurl delivered with your version of PHP. Without more details, you can try the following:
Open php.ini
with a text editor, locate the section [curl]
, check the value of the key curl.cainfo
, if not empty, open the target directory from the value, rename the cacert.pem
file and download the new one from https://curl.haxx.se/ca/cacert.pem then restart webserver/php.
Let me know if it worked, if not please add details about the PHP package you installed on Windows.
(wow github is lagging..)
Thank you for the prompt and precise reply, which fixed the issue!
By the way, on my machine the command is "wirecli" (not "wire-cli" as written in the docs).
That's what was intended, it's shorter to type; I made a mistake in the doc. But I'm thinking of adding an alias anyway.
yeah, the shorter to write, the better 👍
Hi again,
Where is best to write ideas for new features?
E.g. It would be good, if it was possible to add "port" as parameter for "Serve"-command, if the actual port is occupied (e.g. if starting multiple instances).
Hi @eydun , thanks, just open a new issue.
When I try to "wirecli new" on my local machine, I get the error:
Error loading sha master, curl request failed (status code: 0, url: https://raw.githubusercontent.com/processwire/processwire/master/wire/core/ProcessWire.php). cURL error: SSL certificate problem: unable to get local issuer certificate
Does it perhaps a linux-installation? (I am using Windows)