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/
wrote:
> 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: "
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
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/
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 someone point me at it?
i'd like to get php to read the php.ini in the config file path.
thanks in advance,
b
Hi All,
Please excuse me for being a Novice in PHP.
I'm running a Windows server 2003 box with PHP 4.
One of the websites that we run on the machine requires PHP.
Everything was working until the yesterday when I tried to install Moodle
on the server.
Some intructions were given to me which re
--
From: Gary Wardell [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 11, 2007 2:36 PM
To: php-install@lists.php.net
Subject: [PHP-INSTALL] PHP.ini question and follow up: pspell problem in
win32
Hi Andy,
Thanks, that did it.
I had looked at that on the php.net site (
Hi Andy,
Thanks, that did it.
I had looked at that on the php.net site (not UK) Not sure if the same
comments are on both sites but it did get me to read it
again. I had missed putting the entry in the ini file.
Now I seems to work OK and phpinfo and the EE wizard find it. And my sample
scr
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/ph
ly 06, 2007 7:50 AM
To: php-install@lists.php.net
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-bcmat
Hello,
I'm trying to compile PHP 5.2.3 on CentOS with the following configure:
'./configure' '--prefix=/usr/local/php' '--with-xml' '--enable-bcmath'
'--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
'--enable-magic-quotes' '--with-m
This is a php.ini issue. Apache/1.3.37 (Unix) PHP/5.1.4.
I copy the php.ini-recommended file to php.ini reload apache and doing a
simple gets me just blank screen. No errors in logs or on
screen.
But when I run an sql query via php it works fine. I can add, delete,
query etc on my sql stuff and
Good Evening,
first of all the Info about PHP
http://www.tactical-wars.net/infophp.php
I've got the following Problmes:
- Senmail function goes Debug Mode
- Login/logout with cookies doesnt work
- browscap.ini - What path?
Infos about the Server: Windows 2003, ISS 6.0, MySQL Datenbank
Good Evening,
first of all the Info about PHP
http://www.tactical-wars.net/infophp.php
I've got the following Problmes:
- Senmail function goes Debug Mode
- Login/logout with cookies doesnt work
- browscap.ini - What path?
Infos about the Server: Windows 2003, ISS 6.0, MySQL Datenbank
Hi all,
I've been having this problem for some time, and frankly I've hit the
wall in terms of ideas, so I'm hoping someone out there has an answer
regarding this (Zeus certainly did not). This has occured with PHP
version 4.3.10 and PHP 4.4.0.
I am compiling PHP 4.4.0 for use as a CGI with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear All,
OS Solaris 9
Apache 2.0.54
PHP 4.4.0
I've been struggling with this for a while, and I've finally nailed it
down to php.ini not being read as soon as a virtual host is activated on
my system.
i.e if a standard distro httpd.conf is install
Hi, I've installed Apache 2.0.52, MYSQL 4.1 and PHP4.3.10. In the
httpd.conf file I added the LoadModule line and AddType line required for
PHP4. Once I did that I did some scripting and then had to add values to
sendmail_from setting, which looks like this when I open the php.ini file:
; For Win
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/
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/php.ini
70: - allow_call_time_pass_reference = 1 [Code cleanliness
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
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 php.ini
file, different of which one given at compil time. But i don't know w
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 -->
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 --> /etc
I set the session.save_path to /tmp in /etc/php.ini.
When I hit the phpinfo
> 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 12:17 PM
> To: P
08, 2004 12:17 PM
To: PHP Install List
Subject: [PHP-INSTALL] php.ini
(SuSE 9.0, PHP4)
I'm trying to install PHP4 and integrate it with Apache2. I've purchased
a Sams book, "Teach Yourself PHP, MySQL, and Apache in 24 Hours". I've
used the book to successfully install MySQ
(SuSE 9.0, PHP4)
I'm trying to install PHP4 and integrate it with Apache2. I've purchased
a Sams book, "Teach Yourself PHP, MySQL, and Apache in 24 Hours". I've
used the book to successfully install MySQL and Apache2 using Synaptic
and the default locations in the install packages. However, it app
Hi.. I write because I did not found a solution to this problem anywhere
else.
I compiled php-4.3.4 and httpd-2.0.48 (Apache) on Solaris 8. I run it in
a chrooted environment (/usr/local/chroot/www/)
The problem I see is that the php.ini file is never readed. It is found,
it is opened and closed, b
Hi
I am new to this list and php in general. And just as I thought I was
getting the hang of it, the changed the global_variables settings :-(
I am using a Mac G5 10.2.8 and the newest php compilation.
I thought that changing the php.ini file in /usr/local/php/lib/php.ini
so from off to on wou
I have a very frustrating problem with which I hope someone can provide a
solution, please.
I am running PHP v4.3.3RC4 on a Windows 2003 Server, which is also running
Apache v2.0.47 and MySQL v4.0.14b.
Problem summary:
My php.ini file (with Full Control permissions) cannot be
read/parsed/proce
31 matches
Mail list logo