Discussion:
[PHP-INSTALL] problems setting php.ini
Tamer Higazi
2010-03-22 19:51:07 UTC
Permalink
Hi people!
usually this is not a problem, but I have never seen something like that
before. After I compiled php 5.3.2 from source, and running phpinfo(),
the info page told me that it didn't parse the php.ini file.

the php.ini file had been placed from me in "/usr/local/lib" just as php
tell me: Configuration File (php.ini) Path "/usr/local/lib"
Loaded Configuration File: none

Can anybody of you tell me what I made wrong?

for any support of your side I would kindly thank you.

Tamer
Nilesh Govindarajan
2010-03-23 04:43:05 UTC
Permalink
Post by Tamer Higazi
Hi people!
usually this is not a problem, but I have never seen something like that
before. After I compiled php 5.3.2 from source, and running phpinfo(),
the info page told me that it didn't parse the php.ini file.
the php.ini file had been placed from me in "/usr/local/lib" just as php
tell me: Configuration File (php.ini) Path "/usr/local/lib"
Loaded Configuration File: none
Can anybody of you tell me what I made wrong?
for any support of your side I would kindly thank you.
Tamer
I think you missed the --with-config-file-path option during configuration.

I've experienced this problem previously.

After specifying --with-config-file-path, it worked.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
Nilesh Govindarajan
2010-03-23 04:51:19 UTC
Permalink
Post by Tamer Higazi
Hi people!
usually this is not a problem, but I have never seen something like that
before. After I compiled php 5.3.2 from source, and running phpinfo(),
the info page told me that it didn't parse the php.ini file.
the php.ini file had been placed from me in "/usr/local/lib" just as php
tell me: Configuration File (php.ini) Path "/usr/local/lib"
Loaded Configuration File: none
Can anybody of you tell me what I made wrong?
for any support of your side I would kindly thank you.
Tamer
I think you missed the --with-config-file-path option during configuration.

I've experienced this problem previously.

After specifying --with-config-file-path, it worked.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
Loading...