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

Should also compile with PHP Session extension disabled #505

Open
doaxrel opened this issue Nov 23, 2024 · 1 comment
Open

Should also compile with PHP Session extension disabled #505

doaxrel opened this issue Nov 23, 2024 · 1 comment

Comments

@doaxrel
Copy link

doaxrel commented Nov 23, 2024

When PHP is compiled with --disable-session, snuffleupagus fails to build. I have implemented a crude workaround (which gets the job done), but I suppose this should be implemented properly:

    && cd snuffleupagus-*/src \
    && sed -i 's;#include "ext/session/;//;g' php_*.h \
    && echo 'void hook_session() {}' > sp_session.c \

Tested on PHP 7.4.1 and snuffleupagus 0.11.

@jvoisin
Copy link
Owner

jvoisin commented Nov 29, 2024

I'm not sure it's common enough to have PHP compiled without session support to handle this in Snuffleupagus :/

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