I did sudo aptitude –purge remove php5, which removed successfully, except php5 is still installed on my system. How can I uninstall and re-install php5?
UPDATE
Thanks for the answers, I have these packages installed:
tony@bandop $ aptitude search php|grep "^i"
i A libapache2-mod-php5 - server-side, HTML-embedded scripting langu
i php-pear - PEAR - PHP Extension and Application Repos
i php5-cli - command-line interpreter for the php5 scri
i A php5-common - Common files for packages built from the p
i php5-dev - Files for PHP5 module development
i php5-mysql - MySQL module for php5
I want to configure PHP to use a external PCRE library that I built. Do you know which package I have to reconfigure? Is there a way to specify config options when installing a package with aptitude?
Best Answer
If you want to change the ./configure options if a package, you need to rebuild the package. The easiest way to do this is run:
You should now find the rebuild packages in the directory above the source. You can install these using "dpkg -i php5_1.2.3-4_amd64.deb" where the filename is the list of packages you want to install.