Did you add cacert.pem to the File Manager?
That didn’t work when I tried it. Right now putting it in the program directory works with the GUI version. The command line version requires it to be in the \data directory.
You’re right, nghttp2.dll isn’t required anymore. Maybe a restart fixed that. It is still including backup files in the compilation. If I have ‘index.php.bak’, it will be included.
Also, if I include both curl and openssl, the DLLs that go with them are included twice.
For me, nothing has changed. In the command line version, it puts ‘cacert.pem’ in the \Data directory. In the GUI version, I still need nghttp2.dll in the program directory. And version 2.2 is still compiling backup files into the application. ?? Have I missed something.
That isn’t working either because getcwd() returns the ‘\data’ directory, Not the program directory in my command line program. Tried it with PHP 7.1 and 5.6.
That just sounds like different error settings. What are you trying to do with that ‘include’? If it is loading ‘code’ that can’t execute, then it’s not surprising that it stops. Which PHP version are you using?
I have to tell that you I just wouldn’t do that. If I need data from another site I...
While that may ‘work’, you will not get the PHP code but the results of it using that link. Only local files will include the PHP code. Anything access thru ‘http’ or ‘https’ will be processed by the server it is on and only send you the results.
One further note. If I use the full path for cacert.pem, it does work thru ExeOutput as a command line application.
curl_setopt($ch, CURLOPT_CAINFO,‘C:\EXOP\TestTLScli\cacert.pem’);
Even without that, it’s not finding the cacert.pem file. Note that running the program as a plain PHP command line program outside of ExeOutput, it finds all the files including cacert.pem and nghttp2.dll when run in the same directory as them. I think that the ExeOutput version should too.
That does not work, at least not well enough. And the sample to add is .BAK which I thought should be in the list in the first place.
My problem is that my editor adds .bak to the original file name so I have index.php.bak and that is still being included in the compile list.
To make things worse, I can’t use the ‘path to folder’ method in a command line version of one of my programs. I get an Error 77: Unable to set location for cacert.pm.
$pathtofolder = exo_getglobalvariable(‘HEPublicationPath’, ‘’); doesn’t seem to work in a command line program.
I am having this same problem with ExeOuput 2.1 and both PHP 5.6 and 7.1. I put ‘cacert.pem’ in both the source directory and it isn’t found. The same PHP program run outside ExeOutput runs fine as does a version that doesn’t try to load ‘cacert.pem’.
curl_setopt($ch...