How to Display PHP Configuration for Your Vtiger CRM

Vtiger CRM administration guide

Updated:

Need to check the PHP version, upload limit or memory settings used by your Vtiger CRM? Start with the PHP environment serving your actual CRM website.

Your Vtiger PHP configuration can help explain failed uploads, PDF generation errors, extension installation problems and differences between web requests and scheduled tasks. This guide shows you where to look before changing anything.

Start with your hosting control panel

Sign in to your hosting panel, select the domain or subdomain used by Vtiger, and open its PHP settings or PHP version selector. Menu names vary by provider. Check the selected PHP branch without changing it.

If the panel shows only a branch such as 8.2, ask the provider for the complete installed PHP package version when checking security updates. For detailed values such as memory limits and loaded extensions, use the browser method below.

Display the PHP configuration in your browser

1Find your Vtiger installation folder

Open your hosting file manager or connect using SFTP. Locate the folder containing Vtiger's index.php and config.inc.php. Do not edit either file. Use the CRM directory, not the WordPress directory or another website on the server.

2Create a temporary PHP information file

After restricting access to the diagnostic page, create crm-php-info.php in that folder. Save it as plain text with the following content:

<?php
header('Cache-Control: no-store');
phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES);

This limits the report to general information, configuration and modules. It omits the dedicated environment and request variable sections, but the remaining report still contains sensitive server details. A hard to guess filename alone is not access protection.

3Open the file using your CRM address

Example addresses: replace these with your own CRM domain
Your CRM addressTemporary diagnostic page
https://crm.example.com/https://crm.example.com/crm-php-info.php
https://example.com/vtiger/https://example.com/vtiger/crm-php-info.php

Open the address in your browser through the protected access you configured. The page reports the PHP runtime executing that file on the CRM domain. Per script or application overrides can still make some values differ inside Vtiger.

Example PHP information page showing configuration details and loaded PHP settings
Example from the original guide. Your PHP version, file paths and available settings will differ; the version shown in this older screenshot is not a recommendation.

4Record the relevant values and remove the file

Note only the values needed for your investigation, then delete crm-php-info.php. Confirm that the report is no longer served. Do not publish the report or share a complete screenshot containing internal paths or other private details.

Which PHP settings should you check for Vtiger?

Use your browser's search function to find these entries in the report. Compare the values with our Vtiger system requirements and the requirements of your installed extensions.

EntryWhat it helps you check
PHP VersionThe full version used for this web request.
Server APIHow PHP runs, for example through FPM/FastCGI or an Apache module.
Loaded Configuration FileThe main php.ini file actually loaded. The configuration search path alone does not identify the active file.
Additional .ini files parsedExtra configuration files loaded after the main php.ini.
memory_limitMemory available to a PHP request, relevant to large exports and document generation.
upload_max_filesize and post_max_sizePer file and total request upload limits. The total request limit must allow for the uploaded file and other form data.
max_execution_time and max_input_varsExecution limits and the number of input variables PHP accepts.
Loaded PHP extensionsWhether modules required by your CRM features are available, such as mysqli, curl, mbstring, gd or bcmath.

Need only the PHP version? You can use this smaller temporary file instead of the full report. Apply the same access restrictions and deletion step:

<?php
header('Content-Type: text/plain; charset=UTF-8');
header('Cache-Control: no-store');
echo phpversion();

Check PHP through SSH and compare it with Cron

If you have SSH access, run these commands separately:

php -v
php --ini
php -m

php -v displays the command line version, php --ini lists its configuration files, and php -m lists its loaded modules.

What if the PHP information page does not work?

404 or access denied

Check the CRM directory, filename, domain and access restriction. A hosting security rule may block diagnostic scripts. Ask your provider rather than disabling protection.

PHP source appears or downloads

Remove the temporary file immediately and ask your provider to check PHP handling for that location. Do not upload any CRM configuration files as a test.

Blank page or server error

Check the server error log or ask your provider. The diagnostic function may be disabled or the file may contain a syntax error. Avoid enabling public error output on a production CRM.

Changes do not appear

Confirm the domain, PHP runtime and loaded configuration file. The provider may need to reload the relevant service. Refresh the report after any approved change and remove it again.

Check first, then plan configuration changes

Once you know the active environment, follow our guide to changing PHP settings for Vtiger. Back up configuration before making changes and test the CRM functions involved.

Do not switch to a newer PHP branch without checking Vtiger, extension and custom code compatibility. For older installations, our Vtiger upgrade service can help plan a compatible upgrade path. For the recent security issues, read our PHP security update guide for Vtiger CRM.

Frequently asked questions

Can I check PHP without uploading a file?

Yes. Start with the PHP settings for your CRM domain in the hosting control panel, or ask the provider to confirm the full web runtime version and relevant limits.

Where should I upload the diagnostic file?

Use the Vtiger directory containing index.php and config.inc.php, on the same domain and path you use to access CRM. Restrict access to the diagnostic page first.

Why does SSH show a different PHP version?

The shell, website and scheduled tasks can use different PHP executables and configuration files. Check each environment involved in the issue.

Does checking the version confirm that PHP is secure?

No. It identifies the runtime version. Vendors may backport security fixes into packages with older version numbers, so confirm the installed package patch status with the provider.

Can I leave the information page on the server?

No. Remove it as soon as the check is complete. Even a restricted diagnostic report contains information that should not remain available unnecessarily.

Need help checking your Vtiger PHP configuration?

Send us your Vtiger version, hosting provider and a short description of the issue. Share only the relevant PHP values, without passwords or complete diagnostic reports.

IT Solutions4You customers can request a free initial analysis. Any configuration changes, fixes or upgrades are quoted separately according to complexity and the agreed scope.

Comments (6)

  • 온라인바카라 Reply

    I think this is one of the so much vital information for me.
    And i am glad reading your article. But should observation on some general things, The web site style is wonderful, the
    articles is in reality nice : D. Excellent activity, cheers

    November 23, 2017 at 01:13
    • its4you Reply

      Thx, we do our best.

      November 27, 2017 at 14:33
  • sharemodest.com Reply

    Updating the PHP configuration settings is a common task when setting up a PHP-based website.

    December 21, 2017 at 12:27
  • Johny Jackson Reply

    I believe this is among the so much significant information for me.
    And i am happy studying your article. But should remark on some general things, The site taste is perfect, the articles is in point of fact nice :
    D. Just right job, cheers

    January 12, 2018 at 22:38
  • Johny Jackson Reply

    I’ve been browsing online more than 2 hours today, yet I never found any interesting article like yours.

    It is pretty worth enough for me. In my view, if all website owners and
    bloggers made good content as you did, the web will be much more useful than ever before.

    January 15, 2018 at 23:17
  • Vtiger system requirements - IT-Solutions4You Reply

    […] How to find your php settings? How to change your php settings? […]

    January 22, 2018 at 14:15

Leave a Reply

Your email address will not be published. Required fields are marked *