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

Add a default mods-available spx.ini entry on install #272

Open
codebymikey opened this issue Oct 8, 2024 · 1 comment
Open

Add a default mods-available spx.ini entry on install #272

codebymikey opened this issue Oct 8, 2024 · 1 comment

Comments

@codebymikey
Copy link

On doing an install, it'd be nice if it could create a /etc/php/$php_version/mods-available/spx.ini file if it doesn't already exist, with a default entry of something along the lines of:

; configuration for php spx module
; priority=20
extension=spx.so

That way phpenmod spx and phpdismod spx can be used to easily switch it off/on.

@NoiseByNorthwest
Copy link
Owner

It looks like phpenmod is specific to debian-based distros and the path /etc/php/$php_version/mods-available/spx.ini is not portable either.
So it may best fixed in a debian-specific package.

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

2 participants