You are not logged in.
Pages: 1
hello,
i had set up and configured phpPgAdmin on my arch, the current version of phpPgAdmin doesn't fully support php 8 (php php-apache php-pgsql..), which is currently installed, i tried downloading php7, php7-apache, php7-pgsql however phpPgAdmin doesn't detect the php 7 modules at all, and when i try to use
update-alternativesi get:
sudo update-alternatives --set php /bin/php7
update-alternatives: error: no alternatives for phpi need this downgrade for my phpPgAdmin, or for the whole system if needed, how can i achieve that?
ty in advance
Last edited by aksilarch (2022-01-13 10:57:19)
archlinux cures my depression.
Offline
Is this an arch system? Update-alternatives is a debian tool. I see it is provided by our dpkg package, but why would you expect it to work?
You don't need to downgrade anything though, php7 can be installed alongside the regular php package - you just need to configure your server to call the right binary. What server are you using? If you are using nginx, are you using php-fpm? If so, you'd just need to enable the php-fpm7 service instead of the php-fpm service.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If you use the apache module, then you'll have to change your apache config to load php7_module.
Last edited by progandy (2022-01-05 21:43:05)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Is this an arch system? Update-alternatives is a debian tool. I see it is provided by our dpkg package, but why would you expect it to work?
You don't need to downgrade anything though, php7 can be installed alongside the regular php package - you just need to configure your server to call the right binary. What server are you using? If you are using nginx, are you using php-fpm? If so, you'd just need to enable the php-fpm7 service instead of the php-fpm service.
i'm using httpd apache
archlinux cures my depression.
Offline
If you use the apache module, then you'll have to change your apache config to load php7_module.
alright, i'll poke around when i'm on the system and update this thread
archlinux cures my depression.
Offline
marking this thread as solved.
sorry for the delay.
as a temporary fix i did this: https://stackoverflow.com/questions/652 … nstantiate
archlinux cures my depression.
Offline
As a temporary fix for what?? That thread has absolutely nothing to do with using different php interpreter versions.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1