LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-11-2011, 10:24 AM   #1
SmurfGGM
Member
 
Registered: Jul 2008
Posts: 49

Rep: Reputation: 0
PHP - How do I change the "Scan this dir for additional .ini files" setting


Howdy

How can I change the "Scan this dir for additional .ini files", as it is no showing up when I run "php -i"

Scan this dir for additional .ini files => (none)

I on SUSE 11

PHP was installed using RPM packages,

Thanks
 
Old 01-11-2011, 06:39 PM   #2
tligda
LQ Newbie
 
Registered: Jan 2011
Posts: 9

Rep: Reputation: 1
There is an environment variable: PHP_INI_SCAN_DIR. Put the directory in there that you want to have scanned for additional .ini files.
 
Old 01-12-2011, 03:22 AM   #3
SmurfGGM
Member
 
Registered: Jul 2008
Posts: 49

Original Poster
Rep: Reputation: 0
Thanks for that.

Where do I add this setting, is it to httpd.conf ?

I have multiple virtual hosts set up in seperate configuration files.

Cheers
 
Old 01-12-2011, 03:20 PM   #4
tligda
LQ Newbie
 
Registered: Jan 2011
Posts: 9

Rep: Reputation: 1
This parameter is also entered at "./configure" time. Is the RPM you installed through yast or did you download it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ho can i enable "Virtual Directory Support" in php.ini deepakdeore2004 Linux - General 1 10-15-2010 08:29 AM
php.ini "upload_max_filesize 2meg" error on large pixel images under 1meg DT (D_Turmined) Linux - Newbie 4 03-25-2009 07:46 AM
Need ACCESS to change files! Every time I try to change a setting,"Permission Denied" Balarabay1 SUSE / openSUSE 2 03-06-2006 09:54 AM
How can you change the default setting for the "Run Command" program? whited Linux - General 6 02-28-2005 11:34 PM
how to change setting for "battery low" warnings trinbellwoods Linux - Laptop and Netbook 15 09-29-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration