Introduction
When running a Ruby application using the cPanel provided Ruby via Phusion Passenger you may find that you need to adjust the underlying environment to allow your application(s) to properly function. The steps below can be used to accomplish these modifications.
Procedure
First, create a configuration file in /etc/apache2/conf.d/
to hold your customizations.
touch /etc/apache2/conf.d/your_filename.conf
Next, edit that file with your favorite file editor, and add your needed change, and save the file. For example, to set the Start Timeout for scripts add the "PassengerStartTimeout #" directive.
echo "PassengerStartTimeout 600" >> /etc/apache2/conf.d/your_filename.conf
Finally, restart Apache with the command:
/scripts/restartsrv_httpd
Once the above have been completed your changes will be reflected.
More options can be found within the official Phusion Passenger Configuration Reference
Comments
0 comments
Article is closed for comments.