Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No .ini file #2

Open
Famicoman opened this issue Dec 16, 2016 · 6 comments
Open

No .ini file #2

Famicoman opened this issue Dec 16, 2016 · 6 comments

Comments

@Famicoman
Copy link

I wanted to play around with this, but there doesn't seem to be any OCSPServer.inI sample for configuration.

@vigri
Copy link

vigri commented Dec 24, 2016

@Famicoman Did you were able to solve your question? I'm facing the same problem.

@Famicoman
Copy link
Author

@vigri Unfortunately no, unless the maintainer gets back to this thread I have given up in using this project.

@mcarbonneaux
Copy link

can you add ini sample ?

@xperseguers
Copy link
Owner

Same comment as #1

@michaelkrieger
Copy link

Would appear that it just needs 'basedir' (the full path do the storage root directory) and the ini file should be in the format needed by parse_ini_file. It is passed into StoreFS which calls the setBasedir function. The ini file doesn't appear to be used anywhere else in the code.

So the ini file should just contain

basedir = "/path/to/my/data/store"

@bseddon
Copy link

bseddon commented May 14, 2021

The constructor accepts an array so its possible initialize the class like this if you don't want mess with an ini file:

$store = new \OCSPServer\StoreFS(['baseDir' => '...path to your store...']);

or set the base directory explicitly:

$store = new \OCSPServer\StoreFS([]);
$store->setBasedir(  '...path to your store...' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants