matomo-org / matomo-org/matomo-for-wordpress

check php cli compatibility from within archiving process

Open
#1,102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Easier debugging
Dominant language
PHP
Stars
145
Forks
35
Avg merge
2d 2h
Merged PRs (30d)
6

Description

The PHP used to start the archiving process is not controlled by Matomo (unlike the climulti:request command). To better aid debugging, we should check again at the start of the core:archive process if the current PHP is configured correctly, and warn if not:

  • check that the memory limit is high enough
  • check that the PHP version matches what is used in web requests

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the core:archive process and inspect how its current PHP configuration can be checked against the PHP used for web requests. Verify warnings for an insufficient memory limit and a mismatched PHP version, with both conditions covered before considering the issue done.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.