I setup a LAMP environment on my Ubuntu 10.4 machine.
I used the tasksel install lamp-server to set it up.
I found out that it was not configured with “lCURL” (php libcurl module). Therefore I installed curl (apt-get install curl). Now I have to reconfigure PHP.
How do I reconfigure only php ?
Install the
php5-curlpackage. Debian (and Ubuntu) package most PHP extensions as separately loadable modules. Don’t forget to restart Apache afterwards using/etc/init.d/apache2 restart(No, anapache2ctl gracefulwill not do)