(occ command) Adds apc.enable_cli instructions#10670
Open
joshtrichards wants to merge 1 commit intonextcloud:masterfrom
Open
(occ command) Adds apc.enable_cli instructions#10670joshtrichards wants to merge 1 commit intonextcloud:masterfrom
joshtrichards wants to merge 1 commit intonextcloud:masterfrom
Conversation
Mentioned elsewhere in the manual (for cron and the updater), but not mentioned in the occ command section. Since this triggers an exception, let's help people solve the problem themselves. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
szaimen
reviewed
Jun 24, 2023
| on your Nextcloud files and directories. | ||
|
|
||
| .. note:: | ||
| Since APCu is disabled by default for the command-line mode of PHP, it can cause issues with Nextcloud’s ``occ`` command. Please make sure you set the ``apc.enable_cli`` parameter to ``1`` in your PHP CLI's ``php.ini`` configuration file or append ``--define apc.enable_cli=1`` each time you invoke ``occ`` - e.g.:: |
Contributor
There was a problem hiding this comment.
wouldnt this only apply if apcu is actually enabled?
Contributor
There was a problem hiding this comment.
Due to the better performance with APCu, most people have it enabled.
Is there a problem if the APCu module is enabled on CLI but not used because it's not enabled in Nextcloud?
ChristophWurst
approved these changes
Sep 29, 2023
Member
Please take screenshots of the locally compiled documentation webpage, not the markdown preview. Your Note will look very different in the real documentation. |
Contributor
|
@joshtrichards could you rebase the PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The proper setup of
apc.enable_cliis mentioned elsewhere in the manual (for cron and the updater), but not mentioned in the occ command section. Since this triggers an exception, let's help people solve the problem themselves.☑️ Resolves
🖼️ Screenshots