Re: [PHP-INSTALL] php.ini not read?

2009-02-11 Thread Paul Reinheimer
If you're on a box with sufficient dev tools, strace can help. strace php -v Will yeild a lot of output, including: open("/usr/local/bin/php-cli.ini", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/php-cli.ini", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/

Re: [PHP-INSTALL] php.ini not read?

2009-02-11 Thread brian
Hi Keith thanks for the response: running on ubuntu. compiled from source with: ./configure --with-mysql --prefix=/apps/local/php5 --with-apxs2=/apps/local/httpd/bin/apxs --with-config-file-path=/apps/local/php5/lib --with-zlib=/usr --with-curl=/apps/local/curl thanks, b Keith Roberts wrot

Re: [PHP-INSTALL] php.ini not read?

2009-02-11 Thread brian
Hi Paul, thanks for the reply. I guess I should have said that the php.ini is indeed in the stated configuration file path. Paul Reinheimer wrote: > Hi Brian, > > this line > configuration file path /apps/local/php5/lib" > > Indicates that it is looking for a php.ini in /apps/local/php5/lib/

Re: [PHP-INSTALL] php.ini not read?

2009-02-11 Thread Keith Roberts
On Wed, 11 Feb 2009, brian wrote: To: php-install@lists.php.net From: brian Subject: [PHP-INSTALL] php.ini not read? phpinfo() says: "configuration file path /apps/local/php5/lib" phpinfo() also says: "loaded configuration file: (none)" i'm sure this has to be in a faq somewhere... can so

Re: [PHP-INSTALL] php.ini not read?

2009-02-11 Thread Paul Reinheimer
Hi Brian, this line configuration file path /apps/local/php5/lib" Indicates that it is looking for a php.ini in /apps/local/php5/lib/ but the next line indicates that it didn't find one. Try doing a search on your machine for php.ini, you will likely find ones like these /usr/local/src/php-5.2.5/

RE: [PHP-INSTALL] PHP.ini question and follow up: pspell problem in win32

2007-11-12 Thread Andy Stratton
Gary, I think the UK site is just a mirror for www.php.net - it redirected me automatically when I went searched for aspell stuff. It's nice to organize your install by adding the PHP directory to the system path and keeping all related PHP files in that directory, but you can do either. M

Re: [PHP-INSTALL] php.ini doesn't get loaded

2007-07-06 Thread Keith Roberts
On Fri, 6 Jul 2007, [EMAIL PROTECTED] wrote: To: php-install@lists.php.net From: [EMAIL PROTECTED] Subject: [PHP-INSTALL] php.ini doesn't get loaded Hello, I'm trying to compile PHP 5.2.3 on CentOS with the following configure: './configure' '--prefix=/usr/local/php' '--with-xml' '--enable-bc

RE: [PHP-INSTALL] php.ini doesn't get loaded

2007-07-06 Thread Paul Blondé
My php.ini is right in /etc (as in /etc/php.ini), in both my Fedora and my CentOS installs. I wouldn't even expect to find it anywhere in /usr. Perhaps you need to configure apache to look for php.ini in the correct location? Or, if you are on a shared host, you may not have access to php.ini so t

Re: [PHP-INSTALL] PHP.ini setup, config, installation & recognition?

2005-01-22 Thread Chris Hewitt
On Sat, 2005-01-22 at 07:38, Joseph E. Maxwell wrote: > Hello, > > I am setting up a program that requires allow_call_time_pass_reference to be > enabled. I've set allow_call_time_pass_reference = ON in the > /usr/local/etc/php.ini file > > grep -n allow_call_time_pass_reference /usr/local/etc/

Re: [PHP-INSTALL] php.ini ignored.

2005-01-06 Thread Chris Hewitt
On Wed, 2005-01-05 at 19:19, CRI74 - Fabien Combernous wrote: > Hello, > > In my apache configuration file i have this line : > SetEnv PHPRC /path/i_would_like/to_use/ > > In directory /path/i_would_like/to_use/, i put a php.ini file. > Usualy PHPRC variable permit to modify path where php search

Re: [PHP-INSTALL] php.ini not being read

2004-12-29 Thread Mark Cotherman
Zareef Ahmed wrote: On Tue, 28 Dec 2004 23:41:40 -0600, markcoth <[EMAIL PROTECTED]> wrote: I've compiled and installed Apcache 2.0.52 and PHP 5.0.3 with the config file path set to "/etc". When I hit a php page through apache that contains phpinfo(), it shows: Configuration File (php.ini) Pa

Re: [PHP-INSTALL] php.ini not being read

2004-12-28 Thread Zareef Ahmed
On Tue, 28 Dec 2004 23:41:40 -0600, markcoth <[EMAIL PROTECTED]> wrote: > I've compiled and installed Apcache 2.0.52 and PHP 5.0.3 with the config > file path set to "/etc". When I hit a php page through apache that > contains phpinfo(), it shows: > >Configuration File (php.ini) Path -->

RE: [PHP-INSTALL] php.ini

2004-01-08 Thread Donald Henson
Thanks for the pointer. It says the php.ini file should be in the /etc directory which is where it is. Maybe I should just have more faith. Don Henson On Thu, 2004-01-08 at 10:25, John Holden wrote: > Does PHP work? > > If so, run this command: > > php -i > phpinfo.txt > > Then look through th

RE: [PHP-INSTALL] php.ini

2004-01-08 Thread John Holden
Does PHP work? If so, run this command: php -i > phpinfo.txt Then look through that file. It will tell you the location of the php.ini file, along with a bunch of other information. John -Original Message- From: Donald Henson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004