Re: [PHP] Where is php.ini located by default?
btw, i found that the configure option: --with-config-file-path=PATH is slightly misleading, as "PATH" to usually refers to a file location. moreoever, php does not report if it fails to read a php.ini. perhaps the text should be rewritten as: --with-config-file-path=DIR Steve At 4/28/2001 11:37 AM, Martin =?ISO-8859-4?Q?Skj=F6ldebrand?= wrote: >I've built php from a tarball. Now I need to specify a special include path >in the php.ini file. But I can't find it. There is a php.in-dist in the >build catalog but I can't find a production php.ini anywhere. >The docs says that it should be in the install catalogue (which is where?, >/usr/local/lib/php doesn't have one) or the cwd. I've tried editing the >sample file and putting it in either place but my app still gives me the >following error: > >Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') >in FILENAME > >Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Where is php.ini located by default?
On Saturday 28 April 2001 01:23, you wrote: > It's /usr/local/lib/php.ini NEW: Unix install paths changed Please note that the PHP 4.0.5 release will have a new set of installation paths for any Unix-like operating systems. The default php.in path is now "/usr/local/etc" (previously "/usr/local/lib") PEAR will be placed in "/usr/local/share/php/pear" (previously "/usr/local/lib/php") shared extensions can be found in"/usr/local/lib/php" http://www.zend.com/zend/week/week34.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Where is php.ini located by default?
idban secandri wrote: > On Saturday 28 April 2001 00:37, you wrote: >> I've built php from a tarball. Now I need to specify a special include >> path in the php.ini file. But I can't find it. There is a php.in-dist in >> the build catalog but I can't find a production php.ini anywhere. >> The docs says that it should be in the install catalogue (which is >> where?, /usr/local/lib/php doesn't have one) or the cwd. I've tried >> editing the sample file and putting it in either place but my app still >> gives me the following error: >> >> Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') >> in FILENAME >> >> Martin S. > > > read INSTALL doc, they will told you > Found the litte line. Thanks - too all who replied! Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Where is php.ini located by default?
If I'm not mistaken, the "locate" command uses a cache which is only updated every 24 hours or so. You can either recreate locate's cache by reading locate's man pages, or you can actually search the filesystem by using the following commands: cd / (go to the root directory) find . -name php.ini The last command actually searches the filesystem at the time the command is executed, instead of relying on a cached database like the locate command. Of course, if the file has been on your system for a while and has not recently changed location, you should probably use locate because the search will be faster. Also, another tip: To make sure you know where the configuration file is going to be, compile PHP with this option: ./configure --with-config-file-path=/etc/httpd (or wherever you would like to place your file.) Erica ""PHPBeginner.com"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > /usr/lib/php > is the default configuration... if I am not worng... 'cause I have some > memory leaks recently :-) > > have you tried : > # locate php.ini > # locate php.ini-dist > > while on windows it should be located in WINNT directory (on NT/2K). It will > ask YOU to move them there during the installation. > > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > [EMAIL PROTECTED] > www.phpbeginner.com > > > > > -Original Message----- > From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 28, 2001 1:38 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Where is php.ini located by default? > > > I've built php from a tarball. Now I need to specify a special include path > in the php.ini file. But I can't find it. There is a php.in-dist in the > build catalog but I can't find a production php.ini anywhere. > The docs says that it should be in the install catalogue (which is where?, > /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the > sample file and putting it in either place but my app still gives me the > following error: > > Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') > in FILENAME > > Martin S. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Where is php.ini located by default?
true, true... m -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 2:23 PM To: PHPBeginner.com Cc: Martin Skjoldebrand; [EMAIL PROTECTED] Subject: Re: [PHP] Where is php.ini located by default? It's /usr/local/lib/php.ini Chris "PHPBeginner.com" wrote: > /usr/lib/php > is the default configuration... if I am not worng... 'cause I have some > memory leaks recently :-) > > have you tried : > # locate php.ini > # locate php.ini-dist > > while on windows it should be located in WINNT directory (on NT/2K). It will > ask YOU to move them there during the installation. > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > [EMAIL PROTECTED] > www.phpbeginner.com > > -Original Message- > From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 28, 2001 1:38 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Where is php.ini located by default? > > I've built php from a tarball. Now I need to specify a special include path > in the php.ini file. But I can't find it. There is a php.in-dist in the > build catalog but I can't find a production php.ini anywhere. > The docs says that it should be in the install catalogue (which is where?, > /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the > sample file and putting it in either place but my app still gives me the > following error: > > Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') > in FILENAME > > Martin S. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Chris Fry Quillsoft Pty Ltd Specialists in Secure Internet Services and E-Commerce Solutions 10 Gray Street Kogarah NSW 2217 Australia Phone: +61 2 9553 1691 Fax: +61 2 9553 1692 Mobile: 0419 414 323 eMail: [EMAIL PROTECTED] http://www.quillsoft.com.au You can download our Public CA Certificate from:- https://ca.secureanywhere.com/htdocs/cacert.crt ** This information contains confidential information intended only for the use of the authorised recipient. If you are not an authorised recipient of this e-mail, please contact Quillsoft Pty Ltd by return e-mail. In this case, you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. This e-mail and any attachments may also contain copyright material belonging to Quillsoft Pty Ltd. The views expressed in this e-mail or attachments are the views of the author and not the views of Quillsoft Pty Ltd. You should only deal with the material contained in this e-mail if you are authorised to do so. This notice should not be removed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Where is php.ini located by default?
It's /usr/local/lib/php.ini Chris "PHPBeginner.com" wrote: > /usr/lib/php > is the default configuration... if I am not worng... 'cause I have some > memory leaks recently :-) > > have you tried : > # locate php.ini > # locate php.ini-dist > > while on windows it should be located in WINNT directory (on NT/2K). It will > ask YOU to move them there during the installation. > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > [EMAIL PROTECTED] > www.phpbeginner.com > > -Original Message- > From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 28, 2001 1:38 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Where is php.ini located by default? > > I've built php from a tarball. Now I need to specify a special include path > in the php.ini file. But I can't find it. There is a php.in-dist in the > build catalog but I can't find a production php.ini anywhere. > The docs says that it should be in the install catalogue (which is where?, > /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the > sample file and putting it in either place but my app still gives me the > following error: > > Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') > in FILENAME > > Martin S. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Chris Fry Quillsoft Pty Ltd Specialists in Secure Internet Services and E-Commerce Solutions 10 Gray Street Kogarah NSW 2217 Australia Phone: +61 2 9553 1691 Fax: +61 2 9553 1692 Mobile: 0419 414 323 eMail: [EMAIL PROTECTED] http://www.quillsoft.com.au You can download our Public CA Certificate from:- https://ca.secureanywhere.com/htdocs/cacert.crt ** This information contains confidential information intended only for the use of the authorised recipient. If you are not an authorised recipient of this e-mail, please contact Quillsoft Pty Ltd by return e-mail. In this case, you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. This e-mail and any attachments may also contain copyright material belonging to Quillsoft Pty Ltd. The views expressed in this e-mail or attachments are the views of the author and not the views of Quillsoft Pty Ltd. You should only deal with the material contained in this e-mail if you are authorised to do so. This notice should not be removed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Where is php.ini located by default?
/usr/lib/php is the default configuration... if I am not worng... 'cause I have some memory leaks recently :-) have you tried : # locate php.ini # locate php.ini-dist while on windows it should be located in WINNT directory (on NT/2K). It will ask YOU to move them there during the installation. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 1:38 PM To: [EMAIL PROTECTED] Subject: [PHP] Where is php.ini located by default? I've built php from a tarball. Now I need to specify a special include path in the php.ini file. But I can't find it. There is a php.in-dist in the build catalog but I can't find a production php.ini anywhere. The docs says that it should be in the install catalogue (which is where?, /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the sample file and putting it in either place but my app still gives me the following error: Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') in FILENAME Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Where is php.ini located by default?
On Saturday 28 April 2001 00:37, you wrote: > I've built php from a tarball. Now I need to specify a special include path > in the php.ini file. But I can't find it. There is a php.in-dist in the > build catalog but I can't find a production php.ini anywhere. > The docs says that it should be in the install catalogue (which is where?, > /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the > sample file and putting it in either place but my app still gives me the > following error: > > Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') > in FILENAME > > Martin S. read INSTALL doc, they will told you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Where is php.ini located by default?
I've built php from a tarball. Now I need to specify a special include path in the php.ini file. But I can't find it. There is a php.in-dist in the build catalog but I can't find a production php.ini anywhere. The docs says that it should be in the install catalogue (which is where?, /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the sample file and putting it in either place but my app still gives me the following error: Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') in FILENAME Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]