Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #264739 > unrolled thread
| Started by | Alexis Grigoriou <alexis@nanoid.net> |
|---|---|
| First post | 2023-12-14 18:30 +0100 |
| Last post | 2023-12-15 00:20 +0100 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.debian.user
Problem with php after upgrading to Bookworm Alexis Grigoriou <alexis@nanoid.net> - 2023-12-14 18:30 +0100
Re: Problem with php after upgrading to Bookworm Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-12-14 19:10 +0100
Re: Problem with php after upgrading to Bookworm Alexis Grigoriou <alexis@nanoid.net> - 2023-12-14 22:30 +0100
Re: Problem with php after upgrading to Bookworm Charles Curley <charlescurley@charlescurley.com> - 2023-12-14 20:30 +0100
Re: Problem with php after upgrading to Bookworm Alexis Grigoriou <alexis@nanoid.net> - 2023-12-14 22:30 +0100
Re: Problem with php after upgrading to Bookworm Charles Curley <charlescurley@charlescurley.com> - 2023-12-15 00:20 +0100
| From | Alexis Grigoriou <alexis@nanoid.net> |
|---|---|
| Date | 2023-12-14 18:30 +0100 |
| Subject | Problem with php after upgrading to Bookworm |
| Message-ID | <HKXH3-dztN-9@gated-at.bofh.it> |
Greetings, As the subject states pages using php won't disply in the browser. All I see is probably the php code. If I remember correctly, before the upgrade php 7.4 was installed in my Bulleye installation. There is a directory in /etc/php/7.4, although 8.2 is the default in Bookworm, but there is no /etc/php/8.2 directory. I don't code/script, so I am completely lost here. Any help would be appreciated. Any more info need to help out will be available. TIA
[toc] | [next] | [standalone]
| From | Michael Kjörling <2695bd53d63c@ewoof.net> |
|---|---|
| Date | 2023-12-14 19:10 +0100 |
| Message-ID | <HKYjL-dzVT-7@gated-at.bofh.it> |
| In reply to | #264739 |
On 14 Dec 2023 19:24 +0200, from alexis@nanoid.net (Alexis Grigoriou): > As the subject states pages using php won't disply in the browser. All > I see is probably the php code. Well, first things first. What web server are you using to try to serve those pages? -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”
[toc] | [prev] | [next] | [standalone]
| From | Alexis Grigoriou <alexis@nanoid.net> |
|---|---|
| Date | 2023-12-14 22:30 +0100 |
| Message-ID | <HL1rj-dBGV-5@gated-at.bofh.it> |
| In reply to | #264742 |
On Thu, 2023-12-14 at 18:07 +0000, Michael Kjörling wrote: > On 14 Dec 2023 19:24 +0200, from alexis@nanoid.net (Alexis > Grigoriou): > > As the subject states pages using php won't disply in the browser. > > All > > I see is probably the php code. > > Well, first things first. What web server are you using to try to > serve those pages? > I am using apache root@bfs:apt show apache2 Package: apache2 Version: 2.4.57-2
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2023-12-14 20:30 +0100 |
| Message-ID | <HKZzc-dAAU-13@gated-at.bofh.it> |
| In reply to | #264739 |
On Thu, 14 Dec 2023 19:24:19 +0200 Alexis Grigoriou <alexis@nanoid.net> wrote: > All > I see is probably the php code. If I remember correctly, before the > upgrade php 7.4 was installed in my Bulleye installation. There is a > directory in /etc/php/7.4, although 8.2 is the default in Bookworm, > but there is no /etc/php/8.2 directory. Do you know for a fact that you have php 8.2 installed? The /etc/php/8.2 directory should be there. What do you get when you run: dpkg-query --show 'php*' Please run that in a terminal window, and copy and paste the results, including the command prompt and the trailing prompt, into your reply email. Even if php8.2 itself is installed, you will likely need other php8.2 packages. Also, to make things easier down the road, install the generic equivalent of a php package. E.g. php-imagick rather than php8.2-imagick. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
[toc] | [prev] | [next] | [standalone]
| From | Alexis Grigoriou <alexis@nanoid.net> |
|---|---|
| Date | 2023-12-14 22:30 +0100 |
| Message-ID | <HL1rj-dBGV-1@gated-at.bofh.it> |
| In reply to | #264748 |
On Thu, 2023-12-14 at 12:28 -0700, Charles Curley wrote: > On Thu, 14 Dec 2023 19:24:19 +0200 > Alexis Grigoriou <alexis@nanoid.net> wrote: > > > All > > I see is probably the php code. If I remember correctly, before the > > upgrade php 7.4 was installed in my Bulleye installation. There is > > a > > directory in /etc/php/7.4, although 8.2 is the default in Bookworm, > > but there is no /etc/php/8.2 directory. > > Do you know for a fact that you have php 8.2 installed? The > /etc/php/8.2 directory should be there. What do you get when you run: > > dpkg-query --show 'php*' > Please run that in a terminal window, and copy and paste the results, > including the command prompt and the trailing prompt, into your reply > email. root@bfs# dpkg-query --show 'php*' php-amqp php-apcu php-ast php-calendar php-cgi php-cli php-common 2:93 php-crypt-gpg php-ctype php-ds php-exif php-facedetect php-ffi php-fileinfo php-ftp php-gd php-gearman php-gmagick php-gnupg php-iconv php-igbinary php-imagick php-json php-libvirt-php php-lua php-mailparse php-memcache php-memcached php-mongodb php-msgpack php-mysqli php-mysqlnd php-mysqlnd-ms php-oauth php-opcache php-pcov php-pdo php-pdo-mysql php-pear php-pecl-http php-phar php-posix php-ps php-psr php-radius php-raphf php-readline php-redis php-rrd php-shmop php-smbclient php-sockets php-ssh2 php-stomp php-sysvmsg php-sysvsem php-sysvshm php-tideways php-tokenizer php-uopz php-uploadprogress php-uuid php-xdebug php-xmlrpc php-yac php-yaml php-zmq php5.6-common php5.6-json php7.0-common php7.0-curl php7.1-common php7.2-common php7.2-sodium php7.3-common php7.4-calendar php7.4-cgi 7.4.33-1+deb11u4 php7.4-cli 7.4.33-1+deb11u4 php7.4-common 7.4.33-1+deb11u4 php7.4-ctype php7.4-exif php7.4-ffi php7.4-fileinfo php7.4-ftp php7.4-gd 7.4.33-1+deb11u4 php7.4-gettext php7.4-iconv php7.4-json 7.4.33-1+deb11u4 php7.4-mysql 7.4.33-1+deb11u4 php7.4-mysqli php7.4-mysqlnd php7.4-opcache 7.4.33-1+deb11u4 php7.4-pdo php7.4-pdo-mysql php7.4-phar php7.4-posix php7.4-readline 7.4.33-1+deb11u4 php7.4-shmop php7.4-sockets php7.4-sysvmsg php7.4-sysvsem php7.4-sysvshm php7.4-tokenizer php8.0-common php8.1-common phpapi-20190902 root@invader:/etc/php/7.4# apt update > Even if php8.2 itself is installed, you will likely need other php8.2 > packages. > > Also, to make things easier down the road, install the generic > equivalent of a php package. E.g. php-imagick rather than > php8.2-imagick. > I also installed php-imagick along with it's dependencies but I still get the same result.
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2023-12-15 00:20 +0100 |
| Message-ID | <HL39L-dCK7-7@gated-at.bofh.it> |
| In reply to | #264753 |
On Thu, 14 Dec 2023 23:26:47 +0200 Alexis Grigoriou <alexis@nanoid.net> wrote: > On Thu, 2023-12-14 at 12:28 -0700, Charles Curley wrote: > [...] > [...] > [...] > > [...] > > root@bfs# dpkg-query --show 'php*' > php-amqp > php-apcu … > php-yaml > php-zmq > php5.6-common > php5.6-json > php7.0-common > php7.0-curl > php7.1-common > php7.2-common > php7.2-sodium > php7.3-common > php7.4-calendar > php7.4-cgi 7.4.33-1+deb11u4 > php7.4-cli 7.4.33-1+deb11u4 > php7.4-common 7.4.33-1+deb11u4 > php7.4-ctype > php7.4-exif > php7.4-ffi > php7.4-fileinfo > php7.4-ftp > php7.4-gd 7.4.33-1+deb11u4 > php7.4-gettext > php7.4-iconv > php7.4-json 7.4.33-1+deb11u4 > php7.4-mysql 7.4.33-1+deb11u4 > php7.4-mysqli > php7.4-mysqlnd > php7.4-opcache 7.4.33-1+deb11u4 > php7.4-pdo > php7.4-pdo-mysql > php7.4-phar > php7.4-posix > php7.4-readline 7.4.33-1+deb11u4 > php7.4-shmop > php7.4-sockets > php7.4-sysvmsg > php7.4-sysvsem > php7.4-sysvshm > php7.4-tokenizer > php8.0-common > php8.1-common > phpapi-20190902 > root@invader:/etc/php/7.4# apt update I see a lot of php 7.4 but no php 8.2. I think you need more 8.2. But that should have been installed as part of the upgrade. I'd try running "apt install php". Also, don't purge any of the 7.4 or older stuff until you are well satisfied that 8.2 is working correctly. > > Also, to make things easier down the road, install the generic > > equivalent of a php package. E.g. php-imagick rather than > > php8.2-imagick. > > I also installed php-imagick along with it's dependencies but I still > get the same result. Unless you need it, I'd purge it. I intended that as an example, not something to actually do. > > -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web