Add PHP Extensions In Debian 5
Hello,
I have installed apache 2 and php 5 on my server. It works great but what I need is to add few extensions to PHP so it supports my website:
PDO (with MySQL and PostgreSQL driver)
curl
GD2 or Imagick
How can I do that?
I have located my php.ini file. It's in the /etc/php5/apache2.php.ini. I have used nano /etc/php5/apache2/php.ini to open it and I searched for "curl", "pdo" etc but there is no mention of them in the php.ini file. No commented lines with these extensions.
Will it work if I just add this on the end of my php.ini?
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
Sorry if this is stupid question, I'm pretty new to server Unix.
|