cURL in DAB

apmuthu

Renowned Member
Feb 26, 2009
871
11
83
Chennai - India & Singapore
github.com
When building a VM using DAB, choosing PHP5 does not automatically install cURL for PHP5. It needs to be installed from the VM's console using:
Code:
aptitude install php5-curl
Then restart the VM. Afterwards, the console displays it's successful installation:

Code:
aptitude show php5-curl

Package: php5-curl
State: installed
Automatically installed: no
Version: 5.2.6.dfsg.1-1+lenny3
Priority: optional
Section: web
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Uncompressed Size: 119k
Depends: libc6 (>= 2.7-1), libcurl3 (>= 7.16.2-1), phpapi-20060613+lfs, php5-common (= 5.2.6.dfsg.1-1+lenny3)
 
just add this package in the dab configuration files before your create the template and it get installed.
 
In dab Makefile, we just insert the aptitude commands by replacing aptitude with dab.
For example, in the Makefile:-
Code:
.
.
.
dab task mysql
dab task php
.
.
dab install php5-mysql
dab install php5 curl
.
.
.

The man dab pages need more examples.

How do we install innodb for mysql and configure it in dab?
 
Last edited:
perl do support CURL.try php also.CURL is well supported in perl and you need to install the modules before using them,