pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PHP modules broken?



I tried to reproduce this to see if there's an issue with my packages, but it appears to work fine for me:

  $ pkg_add php83-imagick php83-gd

  $ php -v
  PHP 8.3.33 (cli) (built: Sep 10 2026 19:39:51) (NTS)
  Copyright (c) The PHP Group
  Zend Engine v4.3.33, Copyright (c) Zend Technologies

  $ php -m
  [PHP Modules]
  Core
  ctype
  date
  dom
  fileinfo
  filter
  gd
  hash
  imagick
  json
  libxml
  mysqlnd
  openssl
  pcre
  Phar
  random
  readline
  Reflection
  session
  SimpleXML
  SPL
  standard
  tokenizer
  xml
  xmlreader
  xmlwriter

and if I truss it it's definitely loading the modules ok:

  $ truss php -v 2>&1 | grep lib/php
  stat("/opt/local/lib/php/8.3/x86_64/gd.so", 0xFFFFFAFFFFDF6860) = 0
  resolvepath("/opt/local/lib/php/8.3/x86_64/gd.so", "/opt/local/lib/php/8.3/x86_64/gd.so", 1023) = 35
  open("/opt/local/lib/php/8.3/x86_64/gd.so", O_RDONLY) = 3
  stat("/opt/local/lib/php/8.3/x86_64/imagick.so", 0xFFFFFAFFFFDF6860) = 0
  resolvepath("/opt/local/lib/php/8.3/x86_64/imagick.so", "/opt/local/lib/php/8.3/x86_64/imagick.so", 1023) = 40
  open("/opt/local/lib/php/8.3/x86_64/imagick.so", O_RDONLY) = 3

Does anyone who understands PHP better than me know what's going on? While pkgin says that the packages are installed, could you double check that the files are actually on disk?

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index