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

PHP 5.6 module ini files are broken #367

Closed
drboone opened this issue Nov 1, 2023 · 3 comments
Closed

PHP 5.6 module ini files are broken #367

drboone opened this issue Nov 1, 2023 · 3 comments
Assignees

Comments

@drboone
Copy link

drboone commented Nov 1, 2023

All of the module ini files for php 5.6 in /opt/local/etc/php.d have invalid syntax. This provokes some syslog errors for the syntax, plus of course the modules don't load.

evita 25 $ pwd
/opt/local/etc/php.d
evita 26 $ cat apcu.ini
;; enable apcu
= 
evita 27 $ cat mysqli.ini
;; enable mysqli
= 

Trivial inspection of one or two suggests these actually come in the module package, but all of the ones I have installed on this machine are the same style.

@drboone
Copy link
Author

drboone commented Nov 1, 2023

Sample of syntax errors from syslog -

evita|jKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/apcu.ini on line 2
evita|jabxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/curl.ini on line 2
evita|jqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/gd.ini on line 2
evita|j6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/gmp.ini on line 2
evita|kKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/iconv.ini on line 2
evita|kabxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/intl.ini on line 2
evita|kqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/json.ini on line 2
evita|k6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/mbstring.ini on line 2
evita|lKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/mcrypt.ini on line 2
evita|labxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/memcached.ini on line 2
evita|lqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/mysqli.ini on line 2
evita|l6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/pdo.ini on line 2
evita|mKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/recode.ini on line 2
evita|mabxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/xsl.ini on line 2
evita|mqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/yaz.ini on line 2
evita|m6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/zip.ini on line 2
evita|nKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP:  syntax error, unexpected '=' in /opt/local/etc/php.d/zlib.ini on line 2

@jperkin jperkin self-assigned this Nov 1, 2023
@drboone
Copy link
Author

drboone commented Nov 1, 2023

Just noticed that this issue is in php 8.1 too.

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Nov 1, 2023
Any php package built since gdt's change on Oct 21st and now will be broken and
must be rebuilt, as well as replacing the installed configuration files, to
avoid syntax errors in installed php ini files.

Resolves TritonDataCenter#367.
@jperkin
Copy link
Collaborator

jperkin commented Nov 24, 2023

This was fixed with the above commit and all packages were rebuilt.

@jperkin jperkin closed this as completed Nov 24, 2023
jperkin pushed a commit that referenced this issue Jan 25, 2024
This version has added support for custom previewers and custom preloaders,
as well as completed most of the work on the concurrent plugin system.

In addition, it includes many performance optimizations, such as rewriting the
entire file system, refactoring the entire UI rendering architecture, enhancing
the task scheduling system, and implementing partial rendering for frequently
updated components.

This version also introduces many meaningful new features, such as path
auto-completion, real-time file filtering, Kitty Unicode placeholders
protocol support. Read the changelog below for details.

This is a breaking change version, please refer to our upgrade guide:
Migrating to Yazi v0.2.0

What's Changed
    refactor(nix): add shell completion and avoid impure by @XYenon in #293
    refactor: publish to crates.io by @sxyazi in #298
    feat: add a new Folder:icon() API to make it easier for users to extend
          icons by @sxyazi in #301
    feat: add config support for coordinate and size adjustment for ueberzugpp
          image preview by @15cm in #304
    fix: clear Sixel image with empty characters instead of \x2B[K to be
         compatible with GNOME VTE by @linsui in #309
    fix: nix flakes by @sxyazi in #306
    fix: change the rust tool chain in shell.nix from stable to nightly
         by @15cm in #314
    feat: support image preview on WSL by @sxyazi in #315
    fix: use WAYLAND_DISPLAY and DISPLAY to detect Wayland/X11 when
         XDG_SESSION_TYPE is not set by @sxyazi in #312
    fix: channel blockage caused by fuse permissions under the root user
         by @sxyazi in #321
    fix: jq previews empty when the user sets tab_size=8 by @sxyazi in #320
    chore: add .vscode and .idea to .gitignore by @XOR-op in #322
    feat: add an identifier before the extension to prevent file conflicts
          rather than after by @rick-yao in #316
    ci: add Rust target "aarch64-unknown-linux-gnu" to release workflow
        by @nifr in #326
    feat: add overlays to flake.nix by @musjj in #218
    docs: update readme links to website by @uncenter in #332
    feat: use USERPROFILE to retrieve readable path on Windows
          by @sravioli in #331
    feat: auto-completion for input component by @XOR-op in #324
    perf: fallback to plain highlighter for long text by @sxyazi in #329
    fix: the parent does not hover properly on switching the hidden state
         by @sxyazi in #339
    feat: better Zellij support with multi-factor detection involving emulator
          types by @sxyazi in #336
    fix: precache n-1 and n+1 pages by @Hanaasagi in #349
    feat: new reveal command by @sxyazi in #341
    refactor: extracting commands into separate files to make them easier to
              maintain by @sxyazi in #338
    feat: make width of completion relative to input by @XOR-op in #353
    feat: raise open file descriptors limit at startup by @sxyazi in #342
    fix: prefix matching should have higher priority in completion
         by @XOR-op in #352
    feat: display the number of deleted files in the prompt by @sxyazi in #359
    fix: Rust panics instead of returning an error when file times are
         invalid by @sxyazi in #357
    feat: add support for opening a file on startup by @sxyazi in #358
    feat: new kitty graphics protocol implementation for better compatibility
          with tmux through Unicode placeholders by @sxyazi in #365
    perf: precache small images to avoid cache misses; use symlink_metadata
          instead of metadata by @sxyazi in #367
    refactor: use more reasonable numeric field types for configs
              by @sxyazi in #368
    perf: clear only limited cells when hiding images by @sxyazi in #369
    perf: reduce peak memory footprint during decoding large images
          by @sxyazi in #375
    feat: make Input and Select positions customizable by @Hanaasagi in #361
    feat: expose image max alloc and bound to allow for more control
          by @sxyazi in #376
    feat: add more optimization options by @Walker-00 in #377
    fix: directories are recreated after deletion did not update the watcher
         tracking properly by @sxyazi in #381
    feat: make emacs readline keybindings configurable by @sxyazi in #382
    feat: cursor and page key navigation parity with Vim bindings
          by @flexiondotorg in #386
    feat: add more mime-types, file extensions and icons to the preset theme
          by @flexiondotorg in #387
    feat: include commit hash in yazi --version by @Hanaasagi in #393
    fix: popup components (Input, Select, etc.) being covered by previewed
         images by @sxyazi in #360
    fix: stepwise renaming causes uncertain sorting order by @sxyazi in #398
    refactor: move event to shared by @sxyazi in #403
    feat: support sorting by file extension by @JYShaw in #405
    refactor: integrate tasks into scheduler by @sxyazi in #406
    fix: catchup with the latest stable Rust by @XYenon in #409
    fix: build with rust-overlay by @XYenon in #410
    fix: crashes when selection indicator exceeds the visible area while a
         wrong folder_offset specified by @sxyazi in #416
    feat: new config option to suppress pre-caching tasks
          by @againstpetra in #430
    fix: do not use LuaJIT in riscv64 and loongarch64 architecture
         by @eatradish in #439
    feat: copy content over SSH by @sxyazi in #447
    feat!: custom preloader & previewer by @sxyazi in #401
    feat: filter files in real-time by @Rolv-Apneseth in #454
    fix: panic caused by set_hook by @sxyazi in #459
    feat: fine-grained scheduling priority by @sxyazi in #462
    fix: add --follow option to paste command by @eatradish in #436
    feat: support ANSI themes by @smores56 in #460
    perf: new UI rendering architecture by @sxyazi in #468
    fix: resize isn't triggered on app restoring by @sxyazi in #483
    feat: image orientation support by @sxyazi in #488
    refactor: quit command by @aserowy in #484
    feat: icon color and ordered icon rules support by @sxyazi in #503
    fix: prevent recursive caching - don't cache files in the cache directory
         by @sxyazi in #504
    chore: add schema urls to preset config by @uncenter in #506
    fix: update paged files after filter done by @sxyazi in #505
    feat: add support for highlighting by file type by @Akmadan23 in #510
    perf: partial rendering progress and composite into a complete UI to reduce
          CPU consumption caused by frequent progress updates
          by @sxyazi in #509
    feat: add --empty and --cursor options to the rename command
          by @Akmadan23 in #513
    feat: add YAZI_LEVEL env variable for shells by @isti115 in #514
jperkin pushed a commit that referenced this issue Mar 4, 2024
v0.17.0 is a new release with a lot of features, bug fixes, and specifically a
patch fixing a very annoying Spotify API bug.

This release also marks a big milestone for the project: 1k ⭐ 🥳🥳🥳 .
Thanks everyone for contributing, using, and starring the project!

What's Changed
    Add custom text input widget with cursor, to use in search page by @micleo2 in #329
    chore: update github actions by @LucasFA in #339
    reset buffered playback upon handling GetCurrentPlayback request by @aome510 in #341
    docs: fixes keymap command name by @massivebird in #342
    chore(docs): Remove unneeded explicit link by @LucasFA in #344
    Wait for the copy command to exit. by @Fuyukai in #346
    build: use cross for cross-compilation, locally and in CD by @LucasFA in #343
    feat: Souvlaki 0.7.0 and Linux Dbus volume control support by @LucasFA in #348
    extend capabilities for ShowActionsOn* commands by @aome510 in #352
    handle title padding with hidden borders by @aome510 in #351
    update dependencies, bump lyric_finder to v0.1.5 by @aome510 in #353
    Add miscellaneous UI code changes by @aome510 in #354
    update issue templates by @aome510 in #366
    fix clippy warning by @aome510 in #367
    re-create a new session when restarting the integrated client by @aome510 in #370
    Don't create streaming connections for non-streaming instances by @Schnouki in #371
    Remove winit from compilation on Linux by @LucasFA in #372
    Explicit cargo-binstall support by @LucasFA in #377
    Add popup for creating new playlist by @aome510 in #379
    Make Daemon feature imply streaming feature by @LucasFA in #376
    use liked icon's length to configure the column's width by @aome510 in #380
    Patch spotify API bugs by @aome510 in #386
jperkin pushed a commit that referenced this issue May 17, 2024
0.21.0 (2024-03-10)
-------------------

- Improve documentation. [#483]

- Add a minimum version requirement for ``asdf-wcs-schemas``. [#491]

- Fix ``WCS.__str__`` for instances without transforms. [#489]

0.20.0 (2023-11-29)
-------------------

- Replace ``pkg_resources`` with ``importlib.metadata``. [#478]

- Serialize and deserialize ``pixel_shape`` with asdf. [#480]

0.19.0 (2023-09-15)
-------------------

Bug Fixes
^^^^^^^^^

- Synchronize ``array_shape`` and ``pixel_shape`` attributes of WCS
  objects. [#439]

- Fix failures and warnings with numpy 2.0. [#472]

other
^^^^^

- Remove deprecated old ``bounding_box``. The new implementation is released with
  astropy v 5.3. [#458]

- Refactor ``CoordinateFrame.axis_physical_types``. [#459]

- ``StokesFrame`` uses now ``astropy.coordinates.StokesCoord``. [#452]

- Dropped support for Python 3.8. [#451]

- Fixed a call to ``astropy.coordinates`` in ``wcstools.wcs_from_points``. [#448]

- Code and docstrings clean up. [#460]

- Register all available asdf extension manifests from ``asdf-wcs-schemas``
  except 1.0.0 (which contains duplicate tag versions). [#469]

- Register empty extension for 1.0.0 to avoid warning about a missing
  extension when opening old files. [#475]


0.18.3 (2022-12-23)
-------------------
Bug Fixes
^^^^^^^^^

- Fixed a bug in the estimate of pixel scale in the iterative inverse
  code. [#423]

- Fixed constant term in the polynomial used for SIP fitting.
  Improved stability and accuracy of the SIP fitting code. [#427]


0.18.2 (2022-09-07)
-------------------
Bug Fixes
^^^^^^^^^

- Corrected the reported requested forward SIP accuracy and reported fit
  residuals by ``to_fits_sip()`` and ``to_fits()``. [#413, #419]

- Fixed a bug due to which the check for divergence in ``_fit_2D_poly()`` and
  hence in ``to_fits()`` and ``to_fits_sip()`` was ignored. [#414]

New Features
^^^^^^^^^^^^

0.18.1 (2022-03-15)
-------------------
Bug Fixes
^^^^^^^^^

- Remove references to the ``six`` package. [#402]

0.18.0 (2021-12-22)
-------------------
Bug Fixes
^^^^^^^^^

- Updated code in ``region.py`` with latest improvements and bug fixes
  from ``stsci.skypac.regions.py`` [#382]

- Added support to ``_compute_lon_pole()`` for computation of ``lonpole``
  for all projections from ``astropy.modeling.projections``. This also
  extends support for different projections in ``wcs_from_fiducial()``. [#389]

New Features
^^^^^^^^^^^^

- Enabled ``CompoundBoundingBox`` support for wcs. [#375]

- Moved schemas to standalone package ``asdf-wcs-schemas``.
  Reworked the serialization code to use ASDF converters. [#388]

0.17.1 (2021-11-27)
-------------------

Bug Fixes
^^^^^^^^^

- Fixed a bug with StokesProfile and array types. [#384]


0.17.0 (2021-11-17)
-------------------
Bug Fixes
^^^^^^^^^

- `world_axis_object_components` and `world_axis_object_classes` now ensure
  unique keys in `CompositeFrame` and `CoordinateFrame`. [#356]

- Fix issue where RuntimeWarning is raised when there are NaNs in coordinates
  in angle wrapping code [#367]

- Fix deprecation warning when wcs is initialized with a pipeline [#368]

- Use ``CD`` formalism in ``WCS.to_fits_sip()``. [#380]


New Features
^^^^^^^^^^^^
- ``wcs_from_points`` now includes fitting for the inverse transform. [#349]

- Generalized ``WCS.to_fits_sip`` to be able to create a 2D celestial FITS WCS
  from celestial subspace of the ``WCS``. Also, now `WCS.to_fits_sip``
  supports arbitrary order of output axes. [#357]


API Changes
^^^^^^^^^^^
- Modified interface to ``wcs_from_points`` function to better match analogous function
  in astropy. [#349]

- ``Model._BoundingBox`` was renamed to ``Model.ModelBoundingBox``. [#376, #377]

0.16.1 (2020-12-20)
-------------------
Bug Fixes
^^^^^^^^^
- Fix a regression with ``pixel_to_world`` for output frames with one axis. [#342]

0.16.0 (2020-12-18)
-------------------
New Features
^^^^^^^^^^^^

- Added an option to `to_fits_sip()` to be able to specify the reference
  point (``crpix``) of the FITS WCS. [#337]

- Added support for providing custom range of degrees in ``to_fits_sip``. [#339]

Bug Fixes
^^^^^^^^^

- ``bounding_box`` now works with tuple of ``Quantities``. [#331]

- Fix a formula for estimating ``crpix`` in ``to_fits_sip()`` so that ``crpix``
  is near the center of the bounding box. [#337]

- Allow sub-pixel sampling of the WCS model when computing SIP approximation in
  ``to_fits_sip()``. [#338]

- Fixed a bug in ``to_fits_sip`` due to which ``inv_degree`` was ignored. [#339]
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

2 participants