Re: [PHP] Missing php.ini file

2003-07-15 Thread Chris Blake
On Tue, 2003-07-15 at 11:05, Joel Rees wrote:
> ..here is the output :
> > 
> > [EMAIL PROTECTED] php]# find / -name php.ini -print
> 
> sudo is your friend.
Not knowing much about Linux, at the moment sudo is very confusing, but
I`ll be looking into it :)
> 
> > /home/chris/Documents/Mein Stuph/PHP 4
> > Package/php-4.3.1/pear/tests/php.ini
> > find: /mnt/floppy: Input/output error
> > find: /mnt/cdrom: Input/output error
> > /mnt/ClientWebs/knowledgeTree/etc/php.ini
> > /mnt/Users/CBlake/Backup/Documents/Mein Stuph/PHP 4
> > Package/php-4.3.1/pear/tests
> > /php.ini
>      What was that?
Just a blank file...

-- 
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379

The greatest of faults is to be conscious of none.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Missing php.ini file

2003-07-15 Thread Joel Rees
> Greetings again,
> 
> Did as Ralph suggested...here is the output :
> 
> [EMAIL PROTECTED] php]# find / -name php.ini -print

sudo is your friend.

> /home/chris/Documents/Mein Stuph/PHP 4
> Package/php-4.3.1/pear/tests/php.ini
> find: /mnt/floppy: Input/output error
> find: /mnt/cdrom: Input/output error
> /mnt/ClientWebs/knowledgeTree/etc/php.ini
> /mnt/Users/CBlake/Backup/Documents/Mein Stuph/PHP 4
> Package/php-4.3.1/pear/tests
> /php.ini
     What was that?

> /usr/local/Zend/bin/php.ini
> ---
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
Greetings again,

Did as Ralph suggested...here is the output :

[EMAIL PROTECTED] php]# find / -name php.ini -print
/home/chris/Documents/Mein Stuph/PHP 4
Package/php-4.3.1/pear/tests/php.ini
find: /mnt/floppy: Input/output error
find: /mnt/cdrom: Input/output error
/mnt/ClientWebs/knowledgeTree/etc/php.ini
/mnt/Users/CBlake/Backup/Documents/Mein Stuph/PHP 4
Package/php-4.3.1/pear/tests
/php.ini
/usr/local/Zend/bin/php.ini
---

With the exception of the .ini located in the last entry, all others are
merely blank files

I then copied the php.ini-dist to /etc as suggested, renamed it and all
is OK now

Thanks to everyone who helped out on this onemuchly appreciated.

Regards


Chris

On Mon, 2003-07-14 at 23:22, Ralph Guzman wrote:
> Chris,
> 
> Not sure how you went about searching for php.ini, but you can type in
> the following find command in your command prompt and it will search
> your entire system:
> 
> find / -name php.ini -print
> 
> You may also want to look for php.in in /usr/local/lib. This is where
> php install php.ini by default.
> 
> If phpinfo() is showing php.ini in /etc and you can't find it, simply
> look for a copy of the original php.ini-dist in the php source directory
> and copy it to /etc. Just be sure to rename it from php.ini-dist to
> php.ini.
> 
> To copy, in your php source directory type:
> 
> cp php.ini-dist /etc/php.ini 
> 
> Hope this helps.
> 
> -Original Message-
> From: Chris Blake [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 14, 2003 3:30 AM
> To: PHP Mailing List
> Subject: [PHP] Missing php.ini file
> 
> Greetings learned PHP(eople),
> 
> My php.ini file has gone awol, how or why I don`t know
> 
> The only php.ini file I can find on my system (MDK 9.1) is located in 
> '/usr/local/ZEND/bin' and only contains the following entries :
> ===
> zend_extension=/usr/local/Zend/lib/ZendDebuggerLocal.so
> zend_debugger.allow_hosts=127.0.0.1/32
> session.save_path=/tmp
> ===
> 
> I did phpinfo() on a test page and it reports the following..
> 
> ---
> Configuration File (php.ini) Path /etc  
> 
> Scan this dir for additional .ini files /etc/php  
> 
> additional .ini files parsed /etc/php/23_gd.ini, /etc/php/26_imap.ini,
> /etc/php/27_ldap.ini, /etc/php/34_mysql.ini, /etc/php/41_readline.ini 
> 
> 
> Could the file be hidden in one of these directoriesI`m kinda new to
> both MDK and php, so would appreciate any ideas if you have some as to
> how I can get my php.ini file back
> 
> Do I need to re-install/recompile PHP ?
> 
> Many thanks
> -- 
> Chris Blake
> Office : (011) 782-0840
> Cell : 083 985 0379
> 
> Just because the message may never be received does not mean it is
> not worth sending.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Missing php.ini file

2003-07-14 Thread Ralph Guzman
Chris,

Not sure how you went about searching for php.ini, but you can type in
the following find command in your command prompt and it will search
your entire system:

find / -name php.ini -print

You may also want to look for php.in in /usr/local/lib. This is where
php install php.ini by default.

If phpinfo() is showing php.ini in /etc and you can't find it, simply
look for a copy of the original php.ini-dist in the php source directory
and copy it to /etc. Just be sure to rename it from php.ini-dist to
php.ini.

To copy, in your php source directory type:

cp php.ini-dist /etc/php.ini 

Hope this helps.

-Original Message-
From: Chris Blake [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 14, 2003 3:30 AM
To: PHP Mailing List
Subject: [PHP] Missing php.ini file

Greetings learned PHP(eople),

My php.ini file has gone awol, how or why I don`t know

The only php.ini file I can find on my system (MDK 9.1) is located in 
'/usr/local/ZEND/bin' and only contains the following entries :
===
zend_extension=/usr/local/Zend/lib/ZendDebuggerLocal.so
zend_debugger.allow_hosts=127.0.0.1/32
session.save_path=/tmp
===

I did phpinfo() on a test page and it reports the following..

---
Configuration File (php.ini) Path /etc  

Scan this dir for additional .ini files /etc/php  

additional .ini files parsed /etc/php/23_gd.ini, /etc/php/26_imap.ini,
/etc/php/27_ldap.ini, /etc/php/34_mysql.ini, /etc/php/41_readline.ini 


Could the file be hidden in one of these directoriesI`m kinda new to
both MDK and php, so would appreciate any ideas if you have some as to
how I can get my php.ini file back

Do I need to re-install/recompile PHP ?

Many thanks
-- 
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379

Just because the message may never be received does not mean it is
not worth sending.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Missing php.ini file

2003-07-14 Thread Philip Olson
> > You'll be waiting a long time, until the end of time :)
> > Because the php4 module is now named php-src, so change
> > that in the url and you'll be set.
> 
> Thanks. Someone needs to change the link in the Configuration chapter of the
> manual, too, b/c that's how I always find it. :)

Done, fixed in CVS!

Regards,
Philip


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Missing php.ini file

2003-07-14 Thread CPT John W. Holmes

> You'll be waiting a long time, until the end of time :)
> Because the php4 module is now named php-src, so change
> that in the url and you'll be set.

Thanks. Someone needs to change the link in the Configuration chapter of the
manual, too, b/c that's how I always find it. :)

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Missing php.ini file

2003-07-14 Thread Philip Olson
On 14 Jul 2003, Chris Blake wrote:

> On Mon, 2003-07-14 at 14:13, John W. Holmes wrote:
> > .
> > 
> > You can normally just get a new php.ini from here:
> > 
> > http://cvs.php.net/co.php/php4/php.ini-dist
> > 
> > but it's giving a 505 error right now. May have to wait a bit.
> > 
> > First, create a PHP page with just the function  on it. 
> > Load up that page and look in the first block. Look for the line that 
> > says: Configuration File (php.ini) Path. If a php.ini file is listed 
> > there, that's the one that PHP is using. If just a path is shown, then 
> > PHP is using its defaults and that's where you should place the php.ini 
> > file when you get one. You can download the appropriate distro for your 
> > OS and just copy the php.ini from there, also. They are normally called 
> > php.ini-dist and php.ini-recommended that you rename into php.ini.
> > 
> > -- 
> > ---John Holmes...
> 
> 
> Thanks John,
> 
> I`m also getting the 505 and will check back later..
> 
> Thanks for the tip/link, much appreciated...

You'll be waiting a long time, until the end of time :)
Because the php4 module is now named php-src, so change
that in the url and you'll be set.

Regards,
Philip


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
On Mon, 2003-07-14 at 14:13, John W. Holmes wrote:
> .
> 
> You can normally just get a new php.ini from here:
> 
> http://cvs.php.net/co.php/php4/php.ini-dist
> 
> but it's giving a 505 error right now. May have to wait a bit.
> 
> First, create a PHP page with just the function  on it. 
> Load up that page and look in the first block. Look for the line that 
> says: Configuration File (php.ini) Path. If a php.ini file is listed 
> there, that's the one that PHP is using. If just a path is shown, then 
> PHP is using its defaults and that's where you should place the php.ini 
> file when you get one. You can download the appropriate distro for your 
> OS and just copy the php.ini from there, also. They are normally called 
> php.ini-dist and php.ini-recommended that you rename into php.ini.
> 
> -- 
> ---John Holmes...


Thanks John,

I`m also getting the 505 and will check back later..

Thanks for the tip/link, much appreciated...
-- 
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379

Oppernockity tunes but once.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Missing php.ini file

2003-07-14 Thread John W. Holmes
Chris Blake wrote:

My php.ini file has gone awol, how or why I don`t know
You can normally just get a new php.ini from here:

http://cvs.php.net/co.php/php4/php.ini-dist

but it's giving a 505 error right now. May have to wait a bit.

First, create a PHP page with just the function  on it. 
Load up that page and look in the first block. Look for the line that 
says: Configuration File (php.ini) Path. If a php.ini file is listed 
there, that's the one that PHP is using. If just a path is shown, then 
PHP is using its defaults and that's where you should place the php.ini 
file when you get one. You can download the appropriate distro for your 
OS and just copy the php.ini from there, also. They are normally called 
php.ini-dist and php.ini-recommended that you rename into php.ini.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Missing PHP.ini

2001-11-22 Thread David Robley

On Fri, 23 Nov 2001 12:36, John Monfort wrote:
>  Hello everyone!
>
>  I upgraded my system from win98 to win2k, a few weeks ago.
>  Now,  I can't seem to locate my php.ini file.
>
>  I've looked in
>   C:\
>   C:\windows
>   C:\windows\system (and system32)
>
>   to no success.
>
>  Is anyone aware of what may have happened?
>  I was under the impression that PHP could NOT run without the Php.ini
>  file, is that incorrect?
>
>  Please help.

No, PHP uses default settings if it doesn't find the ini file. Run 
phpinfo() in a script to see where it expects to find the ini file to be, 
then put one there, if you need other than the default settings.

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Brain fried - core dumped.

-- 
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] Missing PHP.ini

2001-11-22 Thread John Monfort



 Thanks Joseph!

 btw,

 Happy Thanksgiving to all!


__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-

On Fri, 23 Nov 2001, Joseph Blythe wrote:

> John,
>
> Look in the original distribution files for php.ini-dist (or
> php.ini-optimized) and copy it to c:\windows\php.ini
>
> As far as I know php can run without a php.ini I beleive it has builtin
> defaults.
>
> Regards,
>
> Joseph
>
> -Original Message-
> From: John Monfort [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 23 November 2001 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Missing PHP.ini
>
>
>
>
>  Hello everyone!
>
>  I upgraded my system from win98 to win2k, a few weeks ago.
>  Now,  I can't seem to locate my php.ini file.
>
>  I've looked in
>   C:\
>   C:\windows
>   C:\windows\system (and system32)
>
>   to no success.
>
>  Is anyone aware of what may have happened?
>  I was under the impression that PHP could NOT run without the Php.ini
>  file, is that incorrect?
>
>  Please help.
>
>  -john
>
> __John Monfort_
> _+---+_
>  P E P I E  D E S I G N S
>www.pepiedesigns.com
> "The world is waiting, are you ready?"
> -+___+-
>
>
>
> --
> 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] Missing PHP.ini

2001-11-22 Thread Martin Towell

doesn't win2k files go under C:\winnt ?
what about looking under the php directory???

-Original Message-
From: John Monfort [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 23, 2001 1:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Missing PHP.ini




 Hello everyone!

 I upgraded my system from win98 to win2k, a few weeks ago.
 Now,  I can't seem to locate my php.ini file.

 I've looked in
  C:\
  C:\windows
  C:\windows\system (and system32)

  to no success.

 Is anyone aware of what may have happened?
 I was under the impression that PHP could NOT run without the Php.ini
 file, is that incorrect?

 Please help.

 -john

__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-



-- 
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] Missing PHP.ini

2001-11-22 Thread Joseph Blythe

John,

Look in the original distribution files for php.ini-dist (or
php.ini-optimized) and copy it to c:\windows\php.ini

As far as I know php can run without a php.ini I beleive it has builtin
defaults.

Regards,

Joseph

-Original Message-
From: John Monfort [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 12:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Missing PHP.ini




 Hello everyone!

 I upgraded my system from win98 to win2k, a few weeks ago.
 Now,  I can't seem to locate my php.ini file.

 I've looked in
  C:\
  C:\windows
  C:\windows\system (and system32)

  to no success.

 Is anyone aware of what may have happened?
 I was under the impression that PHP could NOT run without the Php.ini
 file, is that incorrect?

 Please help.

 -john

__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-



--
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]