02-10-2010, 06:29 PM | #1 |
Junior Member
Join Date: Jan 2010
Posts: 15
|
Php Configuration files
Hello everyone.
I have been testing ISpmanager for awhile, and i might put it into a production. But i got a few php related questions. which php.ini files does php use for an account? i know they got their own php.ini in /var/www/username/data/php-bin/php.ini but it only contains two lines, where does php load the rest of the configurations? I am running ubuntu, with php as cgi. Denie. |
02-11-2010, 04:59 AM | #3 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
All other configuration options used from global php.ini
See /etc/php5/cgi/php.ini file aslo in the debian-like system used 3 different php.ini files for different php modes: /etc/php5/apache2/php.ini - php as apache module (mod_php / libphp5) /etc/php5/cgi/php.ini - php as cgi (php-cgi binary file) /etc/php5/cli/php.ini - php as CLI (php binary) |
02-11-2010, 10:01 AM | #4 |
Junior Member
Join Date: Jan 2010
Posts: 15
|
Okay..
because if you edit the php5/cgi/php.ini file to reconfig some of the php options, those options are not being active at the user accounts, if you check the php-info, those options that i just disabled, are still enabled at the user account.. i have tried to edit all of the php.ini files, both apache2, cgi and cli.. none of the php.ini files influence the users php-info script. so if i wanna adjust something in the php configuration that needs to be used global for all users on the server.. which php.ini file should be edited? |
02-12-2010, 09:17 AM | #6 |
Junior Member
Join Date: Jan 2010
Posts: 15
|
tried to restart apache.. notthing happened. Well i was just trying to test the system, and wanted to turn off allow_url_fopen in the global config. Notthing happens in the users php-info script..
I allso tried to edit the memory limit, manually via the php.ini file and from ispmanager, notthing happened either.. tried to restart apache, afterwards the server.. notthing changed. Last edited by Denie; 02-12-2010 at 03:18 PM. |
|
|