php excel instalação dá erro

1

Eu preciso instalar o php excel writer (PHPExcel) na minha máquina rodando o Ubuntu 12.04. Mas não sei quais os passos que preciso seguir.

Como posso instalá-lo?

Eu tentei

sudo pear channel-discover pear.pearplex.net
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/gd.so' - /usr/lib/php5/20090626/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0

Discovering channel pear.pearplex.net over http:// failed with message: channel-add: Cannot open "http://pear.pearplex.net/channel.xml" (File http://pear.pearplex.net:80/channel.xml not valid (redirected but no location))
Trying to discover channel pear.pearplex.net over https:// instead
Discovery of channel "pear.pearplex.net" failed (channel-add: Cannot open "https://pear.pearplex.net/channel.xml" (Connection to 'pear.pearplex.net:443' failed: ))
    
por Tarun 17.12.2013 / 15:24

1 resposta

0

abra seu terminal com CTRL + ALT + T e cole estes comandos

sudo pear channel-discover pear.pearplex.net
sudo pear install pearplex/PHPExcel
    
por rɑːdʒɑ 17.12.2013 / 15:39