2
0
mirror of https://github.com/acepanel/acepanel.github.io.git synced 2026-02-04 21:47:24 +08:00
Files
acepanel.github.io/en/faq/application.md
2026-01-26 23:59:09 +08:00

2.0 KiB

Application FAQ

PHP Module Installation

Apps -> Runtimes -> PHP -> Manage -> Modules, install the required modules.

Some modules require compilation and take longer to install. You can check the progress on the Tasks page.

PHP Functions Disabled

Some high-risk functions are disabled by default. To enable them:

Apps -> Runtimes -> PHP -> Manage -> Configuration

Find disable_functions and remove the function names you want to enable.

::: warning Security Warning Functions like exec, shell_exec, system have security risks. Please confirm necessity before enabling. :::

Nginx Configuration Error

If Nginx fails to start after modifying configuration, check the error:

nginx -t

After fixing the configuration, restart:

systemctl restart nginx

Supervisor Startup Error

EACCES Permission Error

Project directory permission issue, ensure the directory owner is www:

chown -R www:www /opt/ace/projects/project-name

Cannot Find node/npm

Node.js installed via nvm is not in the default PATH.

Apps -> Supervisor Manager -> Manage -> Configuration, add:

environment=PATH="/root/.nvm/versions/node/v24.0.0/bin:/usr/local/bin:/usr/bin:/bin"

Replace the version number with the actual installed version. You can check the path with whereis node.

Application Installation Failed

  1. Check network connection
  2. View error messages on the Tasks page
  3. Try clicking Update Cache on the Apps page and retry

Application Cannot Be Uninstalled

Applications with dependencies need to uninstall dependent applications first.

For example, phpMyAdmin depends on Nginx, so phpMyAdmin needs to be uninstalled first.

Multiple PHP Versions Coexistence

Multiple PHP versions can be installed simultaneously. Select the corresponding version when creating a website.

To switch versions for existing websites: Edit -> Basic Settings -> PHP Version.