NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
help with php config in debianhi all, ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql -- And,is there a cache in debian linux?I run phpinfo and it told me the where is php config file stored? -- |
help with php config in debian
On 7 1 , 10 20 , Kushal Kumaran wrote:
> 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
> packages.
>
> > 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
>
> --
help with php config in debian
> Yes,apt-get can install apache with php.However,i had a problem when i
> remove apache manually by rm cmd.Then i can not use apt-get ,aptitude
> to install apache again.How to deal with this problem.
>
you can reinstall any package by
apt-get install --reinstall pkg_name
Oskar
--