个人工具
104.160.18.24
该IP地址的讨论
登录
查看“UbuntuHelp:PhpPear”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:PhpPear”的源代码
来自Ubuntu中文
←
UbuntuHelp:PhpPear
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/PhpPear}} {{Languages|UbuntuHelp:PhpPear}} == PHP PEAR Introduction == PHP PEAR is a PHP Extension and Application Repository == Modules == PHP PEAR modules <pre><nowiki> $ aptitude search php | grep -i pear p dh-make-php - Creating debian source packages for pear a p php-auth - PHP PEAR modules for creating an authentic p php-date - PHP PEAR module for Date and Time Zone Cla p php-db - PHP PEAR Database Abstraction Layer p php-file - PHP Pear modules for common file and direc p php-html-template-it - PEAR HTML Template IT p php-http - PHP PEAR module for HTTP related stuff p php-image-canvas - Image_Canvas module for PEAR p php-image-graph - Image_Graph module for PEAR p php-mail - PHP PEAR module for sending email p php-mail-mime - PHP PEAR module for creating and decoding p php-net-sieve - net_sieve module for PEAR p php-net-smtp - PHP PEAR module implementing SMTP protocol p php-net-socket - PHP PEAR Network Socket Interface module p php-pear - PEAR - PHP Extension and Application Repos p php-xml-parser - PHP PEAR module for parsing XML p php4-pear - PHP Extension and Application Repository ( p php4-pear-log - Log module for PEAR </nowiki></pre> == Installation == Install <pre><nowiki> $ aptitude install php-pear </nowiki></pre> and any optional PHP PEAR modules such as <pre><nowiki> $ aptitude install php-db $ aptitude install php-image-graph </nowiki></pre> == NOTES == 1) Some PHP PEAR modules seem to be missing from Ubuntu and you will have to manually install them by using PEAR <pre><nowiki> $ pear install Image_color $ pear install Image_Text $ pear install channel://pear.php.net/Image_Text-0.5.2beta2 </nowiki></pre> 2) If you are trying to use Image_graph you may get <pre><nowiki> Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /mnt/sites/asmtennis.net/web/PEAR/Image/Canvas/GD.php </nowiki></pre> unless you have installed TrueType fonts and created a symbolic link to them <pre><nowiki> $ sudo -i # cd /usr/share/php/Image/Canvas # ln -s /usr/share/fonts/truetype/msttcorefonts/ Fonts $ </nowiki></pre> ---- [[category:CategoryDocumentation]] [[category:CategorySoftware]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:PhpPear
。