# quercus **Repository Path**: junphine/quercus ## Basic Information - **Project Name**: quercus - **Description**: php engine run on jvm, Ten times faster than php(c++) - **Primary Language**: Java - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2015-09-09 - **Last Updated**: 2025-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # READ ME This directory contains a modified version of [Quercus][]. It includes changes for the final release version of the [Java Caching API][] and `@PostConstruct` fixes required to deploy it to [GlassFish Server][] 4. In addition, it can be built as Apache [Maven][] artifacts. # Quercus特点 - 支持php5.6 和 部分php7语法。 - 支持和Java互操作 - 支持数据库连接池 - 更高的性能,运行drupal有5倍性能提升, 运行bench.php有10倍提升。 - 支持中文字符串(必须为utf-8编码,数据库编码也必须为utf-8) - 可以翻译成java代码执行 # Quercus和Php的区别 - 不支持trait - 支持用+号连接字符串 # 模块说明 - kernel 基础依赖库 - hessian Hessian跨语言调用协议 - quercus-pro 提供将php翻译为java代码然后运行的功能 - quercus-ldap 访问LDAP和jndi服务器的扩展,同时提供支持访问spring bean - quercus-server 基于嵌入式tomcat,实现的php web服务器 - xdebug-quercus 基于xdebug协议,提供IDE单步调试quercus代码的功能 # Hessian和Burlap区别 - Hessian采用二进制的方式,而Burlap采用xml的格式。 [Quercus]: [Java Caching API]: [GlassFish Server]: [Maven]: