AH00534: apache2: Configuration error: No MPM loaded.
jernelolart
HOBBYOP

3 months ago

Hello Railway Support Team,

I am experiencing recurring deployment failures across multiple projects, including repositories that were previously working fine. Every time I attempt to deploy, the deployment status becomes “Crashed”, and the logs show the following error:

AH00534: apache2: Configuration error: No MPM loaded.

This error suggests an Apache configuration issue, but it is happening on all my deployments — even simple PHP APIs and custom Dockerfile setups — and I have confirmed there were no changes made to the repositories that should cause this issue.

Details:

  • Multiple repositories and services affected

  • Error occurs during deployment start

  • All deploys end in Crashed

  • Using Dockerfiles from GitHub repositories

Could you please investigate if this is related to a platform issue on Railway, or if there has been a recent change in the build/runtime environment affecting Apache? I can share the specific deployment IDs and logs if needed.

Thank you in advance for your assistance.

Attachments

$10 Bounty

2 Replies

nipponflex-bytebio
PRO

3 months ago

I'm also having the same problem; I opened a support ticket just like yours. The problem started on Friday, December 12th.


nipponflex-bytebio

I'm also having the same problem; I opened a support ticket just like yours. The problem started on Friday, December 12th.

jernelolart
HOBBYOP

3 months ago

If you use Docker, change the deployment to “nixpacks.toml.”

Mine ended up looking like this:

[phases.setup]

nixPkgs = [“php82”, “php82Packages.composer”, “php82Extensions.gd”, “php82Extensions.pdo_mysql”, “php82Extensions.zip”, “imagemagick”, ‘nginx’, “bash”]

[phases.build]

cmds = [“composer install --no-dev --optimize-autoloader”]

[start]

cmd = “php -S 0.0.0.0:$PORT”

About the error:

AH00534: apache2: Configuration error: More than one MPM loaded.

This message is not specific to Railway; it is an Apache configuration error that occurs when multiple MPMs (Multi-Processing Modules) are loaded simultaneously:

Apache can only have a single MPM enabled—e.g., prefork, worker, or event.

If two or more MPM modules are enabled in your configuration, Apache fails with that message.

Launchpad

Common causes in a Railway/container environment:

heavy_check_mark emoji Your Dockerfile or base image already enables multiple MPMs

Some builds or stack templates have modules that are loaded by default.

heavy_check_mark emoji You are manually including configurations that load duplicate MPMs

If you added custom configurations to Apache (e.g., in /etc/apache2/mods-enabled/), they are likely to duplicate the modules.


Loading...