Search

Language:  
Search for:

Available article translations:

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

APPLIES TO:
  • Parallels Plesk Panel 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.



49af2da0f2dd4c81e962790bbbd0c2b4 56797cefb1efc9130f7c48a7d1db0f0c 5d735c0e028ee5b991e4fb80d34fb87f

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- 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