|
Posted by dylan.boudreau on 08/18/06 13:14
Thanks to both of you....what I mean when I say I defined new variables
in php.ini is not that I added things but rather changed the value of
things that were already but not defined there and the changes do not
show.
f I force a load of php.ini using PHPRC the line at the top of
phpinfo() is /usr/local/apache/conf/php.ini and at that point things
show as they should but other apps (PHPmyAdmin) stop working properly.
Without using PHPRC the line in phpinfo() is just
/usr/local/apache/conf.
>From what I have been able to find looking around the net, if that line
does not end in php.ini then the file is not being read...I just can't
figure out why.
Thanks in advance for any further insight you can provide.
Dylan
Erwin Moller wrote:
> dylan.boudreau@gmail.com wrote:
>
> > My configuration is Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7d
> > PHP/5.0.4 on Solaris 10.
> >
> > phpinfo() lists the location of php.ini as /usr/local/apache/conf and
> > my php.ini file is there but for some reason it does not appear to be
> > being read by php. I have defined things such as upload_tmp_dir in
> > that file yet even with restarting apache I am not seeing this
> > reflected in phpinfo().
> >
> > I am pretty new to PHP so its entirely possible I am missing somethign
> > but any help as to why php.ini would not be read would help me a lot.
> >
> > Thanks,
> >
> > Dylan
>
> Hi Dylan,
>
> If phpinfo() runs fine it will also tell you the location of php.ini.
> I think somewhere in the first block of info.
> Are you edditing THAT php.ini file?
> This may sound stupid, but I have seen the mistake of edditing a not-used
> php.ini a lot of times before.
> Always ask phpinfo() which on eit is using. :-)
>
>
> Regards,
> Erwin Moller
Navigation:
[Reply to this message]
|