Search

Language:  
Search for:

Available article translations:

Where can I find the php.ini configuration file on the Plesk server?

APPLIES TO:
  • Parallels Plesk for Linux/Unix

Resolution

Usually the php.ini location is /etc/php.ini. PHP modules *.ini files are placed in /etc/php.d.
Also, you can find which configuration files are used by PHP by using a script with the phpinfo() function:

<?php
phpinfo();
?>

Open a page which contains this PHP code and review the "Configuration File (php.ini) Path", "Scan this dir for additional .ini files," and "additional .ini files parsed" sections at the beginning of the page.

In Parallels Plesk Panel version 10 it is possible to set up php.ini per-domain for each domain which is running PHP scripts as a CGI of FastCGI application. In this case it should be located in ${VHOST_DIR}/<domain>/etc/ directory to be recognized by PHP interpreter.



c81e59b61af9dca603ba03b14aabe968 56797cefb1efc9130f7c48a7d1db0f0c 9f8baf78266b4e54525d1c6bf06305a5

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification