Home > Backend Development > PHP Tutorial > pear 下的 db.php如何安装

pear 下的 db.php如何安装

WBOY
Release: 2016-06-13 13:35:00
Original
966 people have browsed it

pear 下的 db.php怎么安装
Parse error: syntax error, unexpected T_STRING in D:\AppServ\php5\PEAR\DB.php on line 1

http://pear.php.net/package/DB/download/1.7.13上下载的,把文件名改成db.php了

第一行是:package.xml100664 764 764 25417 10674751274 6435

------解决方案--------------------
你是否开启了php的短标签? 如果是就关掉它 short_open_tag = Off
------解决方案--------------------
下载后的文件是 DB-1.7.13.tgz
解包后是一个 DB-1.7.13 文件夹和一个 package.xml 文件
将 DB-1.7.13 文件夹中的 DB 文件夹和 DB.php 文件拷贝到 PEAR 目录下即可

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template