Missing pthreads?
Check the requirements for your server release and use its compatible threaded runtime. Installing a random extension into a different PHP version is not a reliable fix.
Use the project-linked binary distribution instead of a generic PHP installation.
Select an asset that matches your operating system, CPU architecture and BetterAltay release. Package availability is determined by upstream.
Prebuilt Linux / macOS runtime package. Extract the archive into your server folder, preserving its directories.
Download Linux / macOS · bin.zip ↓Check the runtime requirements of your BetterAltay release before using these packages. The release metadata does not specify their CPU architecture or PHP version.
Browse all binary releases ↗Linux and macOS: extract the matching archive into your server folder, preserving its directories. Use the actual executable path from your package; the path below is an example.
./bin/php7/bin/php -v
./bin/php7/bin/php -mPlace start.sh alongside BetterAltay.phar, then run these commands from the server folder. Use the executable in the package that matches your operating system and CPU architecture. On macOS, check whether the runtime targets Apple Silicon (ARM64) or Intel (x86-64).
chmod +x start.sh
./start.shIf the runtime itself reports permission denied, check its executable permission. Follow the publisher’s instructions for any missing libraries. On macOS, review the publisher and package before approving a blocked executable through System Settings.
On Windows, use the bundled executable:
.\bin\php\php.exe -v
.\bin\php\php.exe -mCheck the requirements for your server release and use its compatible threaded runtime. Installing a random extension into a different PHP version is not a reliable fix.
“Exec format error” usually means the executable cannot run on your operating system or CPU. Recheck the archive you selected.
Compare the launcher’s expected path with the extracted package. Keep the full error message when requesting support.
Troubleshooting →