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/
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
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/
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
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/
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
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
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
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/
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
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
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 -->
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
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
14 matches
Mail list logo