php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18370 More than one php.ini files are required
Submitted: 2002-07-16 10:44 UTC Modified: 2010-12-22 15:11 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jawad at mail dot comsats dot net dot pk Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.1 OS: edHat Linux 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jawad at mail dot comsats dot net dot pk
New email:
PHP Version: OS:

 

 [2002-07-16 10:44 UTC] jawad at mail dot comsats dot net dot pk
Dear PHP Developers,

I want to run different websites on a single Linux box. I want different configuration for each site but enable to do so because it allows me to keep only one php.ini file.

Can u make some sort of cascading php.ini files with the file in the site's home directory has more precedence over main php file or something else that solves the problem

Thanx

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-17 14:11 UTC] tal@php.net
Just compile PHP twice with different prefix (./configure --prefix=whatever).

-Tal
 [2002-08-02 06:51 UTC] siegfried dot huber at kyberna dot com
I run different websites on an IIS 5.0. Similar to <jawad@mail.comsats.net.pk> I want each web to use a different php.ini.
I tried to do this using php as CGI providing the -c command line switch to tell php.exe where to look for the php.ini, but it did not work out.

regards
Sigi
 [2010-12-22 15:11 UTC] johannes@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2010-12-22 15:11 UTC] johannes@php.net
ou can change setting in httpd.conf, .htacess, ...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 15:01:33 2024 UTC