MIDAS KnowledgebaseMIDAS Knowledgebase

When I try to install I see a "couldn't create child process" message

If you're trying to install your self-hosted MIDAS booking system and you see a "couldn't create child process" message in your web browser, this usually indicates that you've not correctly specified the "path to perl" (the location at which Perl resides on your server) during the installation process.

To correct this, simply open the installer (install.pl) in a text editor and modify the very first line. By default this will read #!/usr/bin/perl. If you're running on a Windows server, and Perl is installed at C:\Perl for example, then the first line of the install.pl file should be changed to #!C:\perl\bin\perl.exe

TIP: If you're running an Apache server on a Windows platform, you can instead update your Apache server's "httpd.conf" configuration file to include the following line:

ScriptInterpreterSource Registry

This directive tells Apache to ignore the very first line in Perl files (known as the "shebang" line, which points to the location where Perl is expected to be found on your system), and instead retrieves the specific location of Perl from the Windows registry. This means that it then doesn't matter what the first line of the install file is, and so in future you shouldn't need to manually modify the first line of Perl scripts in order to get them to execute on your system!

More information on the "ScriptInterpreterSource" directive can be found in Apache's own documentation

If modifying the first line of the installer doesn't resolve the "couldn't create child process" issue, try re-downloading the installer in a different format (i.e. a UNIX format for a *nix system, or a PC format for a Windows system). This can be done by simply appending either "?format=PC" or "?format=UNIX" to the end of the installer download link (which you'll find within your Welcome Email) to download a specific format of the installer.

You might also be interested in...
» » »

← Return to Knowledgebase