-
Notifications
You must be signed in to change notification settings - Fork 350
Problems with PHP module version #284
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
Comments
Please make sure that the issue isn't caused by the browser cache showing you previous version of phpinfo() page.
|
Nope, it isn't browser cache
Moreover, there isn't module with php 7.3 in discovery log and modules folder, but it picked |
@actopolus Could you show output of |
PHP 7.1
PHP 7.2
P.S.: php-config for php 7.2 was reinstalled because of testing other cases |
@actopolus Could you also provide the output of commands below?
|
@VBart, there aren't libphp in sapi. They are in /usr/lib (is it possible problem?)
|
@actopolus Yes, it's the cause of problem. While building modules you've specified |
You can fix the problem by creating symlinks |
Avoiding |
Also from output of |
@VBart, ok, thank you. I'll try. |
It's solution! Thank you! |
The same problem arose with connecting the php module. Unit was assembled from source with php7.3 module. As a result, I can’t load the configuration.
Ubuntu System Version 18.04.3 LTS
Php 7.3 module build options:
When building on a similar test machine through checkinstall in the .deb package and then installing it on a working machine, everything was packed. But after installing on the working machine, libphp7.so did not appear which I received later by installing libphp7.3-embed and no /usr/bin/php-config7.3 on the system. Please tell me what is wrong with the assembly. And is it possible to solve this problem without assembling Unit again. |
This won't work as you have specified
Please check the HowTo on building module packages:
No, it's absolutely irrelevant. The filename doesn't matter at all. You have to specify application type and (optionally) actual version of the module. See the documentation on the |
I have previously used this manual. I could not build the php7.3 module.
Flags php module:
Error log during make:
Tell me how to solve, please. |
The problem caused by using
|
Uh oh!
There was an error while loading. Please reload this page.
OS: Debian GNU/Linux 8.11 (jessie) (Same on Ubuntu 18.04.2 LTS)
Unit version: 1.9.0 (from github repo)
Problem:
Php version doesn't change when configurator responses "Reconfiguration done.". Php version always targets on newer version. When "type" for application php "7.1.30", phpinfo shows 7.2.20.
Env
It has two modules for php 7.1 and php 7.2, and simple script with phpinfo():
Unit build configuration:
Unit log:
Unit config:
Steps to reproduce:
The text was updated successfully, but these errors were encountered: