Reply to Re: Php installation (as RPM package)

Your name:

Reply:


Posted by Ivαn Sαnchez Ortega on 12/28/07 02:07

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" in http://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

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация