PHP Info
Go to System → Settings → System
Due to the diverse configurations of different systems, phpinfo()
is a valuable tool for checking PHP settings and available variables on a specific system.
It provides a comprehensive overview of the current PHP environment, including:
PHP Version: The installed PHP version.
Compilation Options and Extensions: Information about PHP's compilation settings and loaded extensions.
Server and Environment: Details about the web server and operating system environment.
Configuration Options: Master and local values of PHP configuration settings.
HTTP Headers: Information about HTTP headers.
upload_max_filesize and
memory_limit
Example Use Case:
To prevent scripts from running out of memory, you can use phpinfo()
to check the current memory_limit
setting and then modify it as needed in your PHP configuration file (e.g., php.ini
).
tips
If you're searching for the memory_limit
setting and find a local value of 128M
followed by a master value of 256M
, the effective memory_limit
for that specific context will be 128M
because the local value takes precedence.
If you encounter a blank page, it means your hosting provider does not permit viewing php.info.
Please be aware that phpinfo contains numerous PHP settings that you should not expose publicly.
AbanteCart, all rights reserved. 2024 ©