On ruachost.com, you can adjust PHP settings and switch PHP versions depending on your hosting package. This ensures your applications run with the correct configuration and compatibility.

 

???? Why Change PHP Settings or Versions?

  • Ensure compatibility with frameworks (WordPress, Laravel, Symfony, etc.).

  • Improve performance by using newer PHP versions.

  • Adjust resource limits (memory, upload size, execution time).

  • Enable or disable extensions based on application needs.

 

Methods to Change PHP Settings

1. Shared Hosting and Reseller Hosting (with CageFS enabled)

  • Use cPanel Navigate to:

    • cPanel → Software → Select PHP Version → Options tab

  • Adjust directives such as:

    • memory_limit

    • upload_max_filesize

    • post_max_size

    • max_execution_time

Changing PHP Version

Shared Hosting and Reseller Hosting (with CageFS enabled)

  • Use cPanel → Select PHP Version

  • Choose the desired PHP version (e.g., 7.4, 8.1).

  • Apply changes; they take effect immediately.

Verification

To confirm your PHP version and settings:

  1. Create a test file info.php with the following code:
<?php phpinfo(); ?>

Visit http://yourdomain.com/info.php in your browser

Check the PHP version and settings

 

  • Delete the file afterward for security

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution