RE: [PHP] Missing php.ini file
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
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
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
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 ? phpinfo(); ? 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 file
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 ? phpinfo(); ? 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
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 ? phpinfo(); ? 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
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
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
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