|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: [PHP-INSTALL] php.ini not being read - msg#00073
List: php.install
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() again, the session.save_path is set to empty:
session.save_path no value no value
The permissions on the php.ini are set to readable by everybody (644).
The /tmp directory is writable and readable by everybody (776).
What am I missing here??
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Environment and Modules
HI,
Install instruction file contains all information you need to enable
some of the exetension.
HINT :: dlls folder
zareef ahmed
On Tue, 28 Dec 2004 18:26:52 +0100, Steven Spierenburg
<nrectyolmo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi There,
>
> I recently installed PHP and have two things going on that I can't seem to
> rectify or solve.
> If I may use the collective knowledge of PHP users/developers on these
> groups I would be grateful.
>
> First some info on my setup:
> OS : Windows 2000 Server
> Webserver :IIS6
> PHP : 4.3.10 (extracted zip version from php.net into folder "c:\php4")
> phpinfo() page : www.jikade.com/test.php
>
> The problems:
>
> 1) I want PHP to look for my php.ini file in the php folder (c:\php4) but it
> refuses to do so. Setting PHPRC doesn't help and this setting actualy won't
> show in the summary of phpinfo() in the environment section. I changed the
> PATH environment variable to include "c:\php4" but that doesn't help either.
> Putting the php.ini in the "c:\winnt" folder does work and then I configure
> PHP through this file. Otherwise it won't load *any* php.ini file and use
> defaults, or so it seems.
> What I want to accomplish is that PHP finds and uses the php.ini file that
> resides in the "c:\php4" folder
>
> 2) Some modules won't load, php_mcrypt.dll for one. I tried setting the
> "extension_dir" (extension_dir = "c:\php4\extensions") but that doesn't
> help. Copying the dll to the "c:\winnt\system32" folder doesn't work either.
> Some modules do load however (php_df.dll loads fine from the same location),
> it's just some modules that don't/won't. Examples are: php_mcrypt.dll,
> php_mhash.dll and php_xmlrpc.dll.
> What I want to accomplish here is that modules can load (obviously) :-)
> Any help on these matters will be appreciated immensly!
>
> ps: I used a MailExpire temporary email address to be able to post on this
> newsgroup. Don't know if that's a faux-pas around here but I tend to be
> realy carefull with my real email addresses on newsgroups due to spam
> problems. If people say it's ok to use my real email address then I'll use
> that one in future posts. Sorry for any inconvenience caused.
>
> --
>
> Greetings,
> Steven Spierenburg
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Date:
click to view message preview
Re: [PHP-INSTALL] php.ini not being read
On Tue, 28 Dec 2004 23:41:40 -0600, markcoth <mark@xxxxxxxxxxxxx> 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 --> /etc
>
> I set the session.save_path to /tmp in /etc/php.ini.
>
> When I hit the phpinfo() again, the session.save_path is set to empty:
>
It is really obivious but did you restart httpd after changing php.ini ;)
zareef ahmed
> session.save_path no value no value
>
> The permissions on the php.ini are set to readable by everybody (644).
> The /tmp directory is writable and readable by everybody (776).
>
> What am I missing here??
>
--
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net
Previous Message by Thread:
click to view message preview
How to enable TTF extension
Hi all,
I'm testing an PHP application, this application
requires TTF extension.
Please help me a way to configure PHP enabling TTF
extension.
I have to download & install which application/module
to configure
successfully.
I'm using Linux OS (FC3).
Any help will be appreciated highly!
Thanks in advance.
Hung Le
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Thread:
click to view message preview
Re: [PHP-INSTALL] php.ini not being read
On Tue, 28 Dec 2004 23:41:40 -0600, markcoth <mark@xxxxxxxxxxxxx> 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 --> /etc
>
> I set the session.save_path to /tmp in /etc/php.ini.
>
> When I hit the phpinfo() again, the session.save_path is set to empty:
>
It is really obivious but did you restart httpd after changing php.ini ;)
zareef ahmed
> session.save_path no value no value
>
> The permissions on the php.ini are set to readable by everybody (644).
> The /tmp directory is writable and readable by everybody (776).
>
> What am I missing here??
>
--
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net
|
|