简体   繁体   中英

Reinstall/reconfigure php

I need to change some configuration of my PHP (installed on Ubuntu). I installed it like this:

 sudo apt-get install php5-cli php5-common php5-mysql php5-fpm php-pear php5-cgi php5-odbc php5-curl php5-sybase

Now I want to make it

--with-sybase-ct=/opt/freetds

How to achieve this in correct way?

UPD Is deleting and installing from scratch the one way?

You can not use .configure flags with apt.

There is two ways:

  • do not use apt and build php with proper .configure flags
  • recompile package for your needs (see this question for more details)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM