HELP! php.ini file not read (was Php.ini on Solaris?)
| From: | Randall Perry | Date: | Fri, 16 Aug 2002 00:48:29 +0000 |
| Subject: | HELP! php.ini file not read (was Php.ini on Solaris?) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112886@lists.php.net to get a copy of this message | ||
Php.ini is in correct location according to phpinfo() at /usr/local/lib, but
it's not being read. Changed several options and saw no change with
phpinfo().
Anybody got any ideas?
TIA
>
> Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on
> setting it off after I rewrite all my scripts and give my hosting clients
> notice and time to rewrite theirs).
>
> But, it's still not passing vars (though $HTTP_POST_VARS[] works ok). Is
> their something else I need to do to get it to read the php.ini? Php.ini is
> owned by root -- tried both 644 and 755 permissions.
>
>> rename php.ini-dist thats with the php source code to php.ini and copy it
>> to /usr/local/lib
>>
>> Adam
>>
>> On Thu, 15 Aug 2002, Randall Perry wrote:
>>
>>>> is usually in /usr/local/lib
>>>
>>>
>>> Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't
>>> install any php.ini file (although phpinfo() says it's location is
>>> /usr/local/lib).
>>>
>>> Should I just create one from scratch?
>>>
>>>
>>
--
Randy Perry
sysTame
Mac Consulting/Sales
phn 772.589.6449
mobile email help@systame.com