Re: [PHP4BETA] php.ini not recognised - solved - weird but all works
| From: | mwaples at waples dot net | Date: | Wed, 24 May 2000 19:36:32 +0000 |
| Subject: | Re: [PHP4BETA] php.ini not recognised - solved - weird but all works | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15695@lists.php.net to get a copy of this message | ||
I followed Rasmus's suggetstion with a ./httpd -X
and found
syscall open("./php.ini",0,0666)
errno 2 'No such file or directory'
syscall open("/php.ini",0,0666)
returns 4 (0x4)
so I copied a php.ini to root and one to the same directory as httpd -
killed everything and bobs your uncle now every php.ini on all my apache
servers are being read correctly from where phpinfo() says they are.(i
also removed those 2 php.ini's)
I don't know why but I spent hours looking at them not changing, but
they all work and thats all I need.
Zeev Suraski wrote:
>
> There are no miracles guys. If the changes you made to php.ini aren't in
> effect, it means that either you did not restart your web server properly,
> or that PHP is not reading the right php.ini file you expect it to be
> reading.
>
> Zeev
>
> On Wed, 24 May 2000, Webmaster wrote:
>
> > Don't waist your time. I asked same at least twice.
> > I asked in three diferent related lists.
> > No answer was given.
> >
> > BTW, I use IIS 4.0 not apache
> >
> > Eduardo Jordán G.
> > Webmaster
> >
> > -----Original Message-----
> > From: mwaples@waples.net [SMTP:mwaples@waples.net]
> > Sent: Wednesday, May 24, 2000 11:24 AM
> > To: php4beta
> > Subject: [PHP4BETA] php.ini not recognised
> >
> > I stopped apache - made changes to php.ini and then restarted it but
> > whatever changes I make don't show up - the path to php.ini is correct
> > when i do a phpinfo();
> >
> > I'm going crazy here - any ideas why it's not working ?
> >
> >
>
> --
> Zeev Suraski <zeev@zend.com>
> http://www.zend.com/
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net