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

Production build fails on Debian 12/php 8.2 #107

Open
hir0pr0tagonist opened this issue Oct 16, 2024 · 5 comments
Open

Production build fails on Debian 12/php 8.2 #107

hir0pr0tagonist opened this issue Oct 16, 2024 · 5 comments

Comments

@hir0pr0tagonist
Copy link

I successfully installed the prerequisites, but when invoking the cmake command in the root folder, I get
CMake Error at cmake/FindPHPConfig.cmake:34 (find_program):
Could not find PHP_CONFIG_EXECUTABLE using the following names: php-config
Call Stack (most recent call first):
CMakeLists.txt:37 (find_package)

I downloaded the latest zip from github. Thanks for any pointers.

@CodeLieutenant
Copy link
Member

Have you installed php-config and can you confirm it exists on your system?

@hir0pr0tagonist
Copy link
Author

Thanks for getting back ! Yes, it is installed and globally reachable from /usr/bin/php-config.
Perhaps an item of note: at first, I wasn't successful in installing the prerequisites for the build, specifically python and python3-pip, but I got around that problem by using pipx - now python3 and python3-pip are installed correctly. Other than that, it's pretty much a vanilla system with no unusual configurations. Default Debian 12 + build prerequisites + your zip file downloaded, expanded and cmake'd.

@CodeLieutenant
Copy link
Member

This is the second issue for debian, I'll be running tests on debian 12 to see what's going on, seems really strange

@hir0pr0tagonist
Copy link
Author

If you need any log files or other diagnostics, please let me know - I'll be glad to help. Do you have a binary artefact of the php8.2-compatible build somewhere that I could try ? Just an idea.

@DanielHe4rt
Copy link
Collaborator

You can follow the @ciaran-moore example by giving us detailed information.

#106

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

3 participants