[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with php config in debian

On Sun, Jul 01, 2007 at 12:32:45PM -0000, Xinhao Zheng wrote:
> hi all,
>  I was a fresh man to debian linux.Is there anyone who  can tell me
> where to find the php's config file?I install php5 with following cmd:
> ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --
> with-apxs2=/usr/local/apache2
> /bin/apxs2
> make
> make install

Is there any reason why the php5 packaged for debian is not sufficient
for your purposes?  See the libapache2-mod-php5 and php5-mysql

> And,is there a cache in debian linux?I run phpinfo and it told me the
> php.ini was located in /usr/local/php/lib,however,there is no such
> file.Although i use cmd find / -name php.ini and then rm every php.ini
> it found.the php can still work well.So my question is:

php works just fine without a php.ini available.  It will simply use
the compiled in defaults for all those settings.

> where is php config file stored?
> How many config file it used?
> Is debian use cache for config file?

Kushal Kumaran                               kushal@it.iitb.ac.in

Reply to: