- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How do I include a php.ini file in another php.ini file?
The .ini files from the main php,ini file can’t be included. Instead, while compiling PHP, the line
--with-config-file-scan-dir=PATH
can be added.
The ‘PATH’ in the above line refers to the location where the configuration file is to be scanned.
During compile time, PHP will look for each and every .ini file in that specific directory, apart from searching in the normal php.ini file.
Advertisements