SUPPORTED PHP can run Python here. Whether processes stay alive in the background is tested separately below.
Limitation: a passing check means PHP can launch a Python process. It does not mean the
process will stay alive. Shared hosting may disable process execution, kill background processes
shortly after the PHP request ends, apply CPU/RAM/time limits, or block long-running processes. This is not
guaranteed 24/7 hosting.
Checks
| Check | Result | Note | |
|---|---|---|---|
| PHP version | 8.3.6 | OK | PHP 7.3+ required. |
| Operating system | Linux | OK | Linux/Unix required for local mode. |
| Run mode | LOCAL | INFO | Python runs on this web host. |
| Sessions | active | OK | Login state lives in PHP sessions. |
| Session save path | /var/lib/php/sessions | OK | |
| HTTPS on this request | yes | OK | Session cookie is marked Secure. |
| Panel base URL (auto-detected) | https://pyhost.duckdns.org/pyhost/ | INFO | Correct for both "/" and "/pyhost/". If it is wrong, set BASE_URL in config.php (one place). |
| Core extensions (json, password, hash) | available | OK | Required by the panel. |
| Database | mysql, sqlite, mysqli, sqlite3 | INFO | Optional: PyHost stores its data in JSON files under projects/, so NO database is required. |
| Default password in use | no | OK | |
| proc_open() | exists, enabled | OK | Preferred method. |
| exec() | exists, enabled | OK | Fallback method. |
| shell_exec() | exists, enabled | OK | Fallback method. |
| Process execution (any method) | proc_open, shell_exec, exec, popen | OK | At least one is required (local mode). |
| Python available | Yes: python3 | OK | |
| Python version | 3.12.3 | OK | Python 3 required (local mode). |
| ZipArchive extension | available | OK | Needed to extract uploads (local mode). |
| Writable: projects/ | writable | OK | |
| Writable: uploads/ | writable | OK | |
| Writable: logs/ | writable | OK | |
| Writable: Data dir | writable | OK | |
| Writable: System temp | writable | OK | |
| Maximum upload size | 10 MB | OK | upload_max_filesize=100M, post_max_size=100M, panel limit=10 MB |
| Data inside web root | yes | WARN | Protected only by .htaccess. Set DATA_DIR outside the web root if your host allows it. |
| max_execution_time | 30s | INFO | |
| memory_limit | 128M | INFO | |
| open_basedir | (none) | INFO | May block paths outside the account directory. |
PHP functions
| Function | Status |
|---|---|
proc_open() |
ENABLED |
exec() |
ENABLED |
shell_exec() |
ENABLED |
passthru() |
ENABLED |
system() |
ENABLED |
popen() |
ENABLED |
posix_kill() |
ENABLED |
escapeshellarg() |
ENABLED |
proc_get_status() |
ENABLED |
disable_functions
(empty)
Python detection log
python3: Python 3.12.3
Background survival test
Launches a 20-second Python sleep in the background, then checks whether the PID is still alive after PHP has finished the request. This separates "launched" from "remained alive".