|
Posted by Ming on 12/28/07 03:03
On Dec 27, 6:07 pm, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.org> wrote:
> Ming wrote:
> > Where does Apache (?) says that "I am going to read the php.ini from /
> > etc/php5" ?
>
> I misunderstood your question. I tought you were just looking for the
> php.ini file
>
> > Apache only loads the libphp5.so. does all information is in this .so
> > file?
>
> Yes, it is. The location of the configuration file is a compilation option,
> so it is stored, hard-coded, in libphp5.so at compile time.
>
> See "--with-config-file-path" inhttp://www.php.net/manual/en/configure.php
>
> You can peek at this info by running <?php phpinfo(); ?> and looking at the
> first lines.
>
> > (by the way, in fedora 6, there is no /etc/php5 directory. php.ini is
> > in /etc)
>
> Debian here... YMMV.
>
> Cheers,
> --
> ----------------------------------
> Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
>
> Proudly running Debian Linux with 2.6.22-3-amd64 kernel, KDE 3.5.8, and PHP
> 5.2.4-2 generating this signature.
> Uptime: 03:01:08 up 35 days, 13:16, 4 users, load average: 0.94, 0.75,
> 0.82
Thanks a lot!
[Back to original message]
|