欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

如何在php上安装phalcon_PHP教程

程序员文章站 2022-05-17 08:27:14
...
  怎么在php上安装phalcon

  老是安装不成功 按官网上面提示去搞

  先是放在ext文件夹下 再是在php.ini里面加extension=php_phalcon.dll然后重新启动wamp就提示这种错误...

如何在php上安装phalcon_PHP教程
如何在php上安装phalcon_PHP教程

  然后我再去下载个php5.dll它又提示这种错误

如何在php上安装phalcon_PHP教程

  ------解决方案--------------------

  我的 php 是 5.4.20 的

  php_phalcon.dll 是5.4.12.0 的

  没有问题的

  print_r(preg_grep('/^phalcon/i', get_declared_classes()));

  Array

  (

  [145] => Phalcon\Exception

  [146] => Phalcon\Db\Adapter

  [147] => Phalcon\DI\Injectable

  [148] => Phalcon\DI

  [149] => Phalcon\Forms\Element

  [150] => Phalcon\Mvc\Model\Validator

  [151] => Phalcon\Validation\Validator

  [152] => Phalcon\Cache\Backend

  [153] => Phalcon\Db\Adapter\Pdo

  [154] => Phalcon\Db\Dialect

  [155] => Phalcon\Mvc\Model\MetaData

  [156] => Phalcon\Annotations\Adapter

  [157] => Phalcon\Logger\Formatter

  [158] => Phalcon\Logger\Adapter

  [159] => Phalcon\Flash

  [160] => Phalcon\Mvc\Model\Behavior

  [161] => Phalcon\Dispatcher

  [162] => Phalcon\Mvc\Model\Resultset

  [163] => Phalcon\Mvc\View\Engine

  [164] => Phalcon\Mvc\Model\Exception

  [165] => Phalcon\Assets\Resource

  [166] => Phalcon\Config

  [167] => Phalcon\Session\Adapter

  [168] => Phalcon\Acl\Adapter

  [169] => Phalcon\Translate\Adapter

  [170] => Phalcon\DI\FactoryDefault

  [171] => Phalcon\Mvc\Router

  [172] => Phalcon\Tag

  [173] => Phalcon\Acl

  [174] => Phalcon\Db

  [175] => Phalcon\Cache\Exception

  [176] => Phalcon\Cache\Multiple

  [177] => Phalcon\Cache\Backend\Apc

  [178] => Phalcon\Cache\Backend\File

  [179] => Phalcon\Cache\Backend\Mongo

  [180] => Phalcon\Cache\Backend\Memory

  [181] => Phalcon\Cache\Backend\Memcache

  [182] => Phalcon\Cache\Frontend\Output

  [183] => Phalcon\Cache\Frontend\None

  [184] => Phalcon\Cache\Frontend\Json

  [185] => Phalcon\Cache\Frontend\Base64

  [186] => Phalcon\Cache\Frontend\Data

  [187] => Phalcon\Tag\Select

  [188] => Phalcon\Tag\Exception

  [189] => Phalcon\Paginator\Exception

  [190] => Phalcon\Paginator\Adapter\Model

  [191] => Phalcon\Paginator\Adapter\QueryBuilder

  [192] => Phalcon\Paginator\Adapter\NativeArray

  [193] => Phalcon\Validation

  [194] => Phalcon\Validation\Message

  [195] => Phalcon\Validation\Exception

  [196] => Phalcon\Validation\Message\Group

  [197] => Phalcon\Validation\Validator\Email

  [198] => Phalcon\Validation\Validator\Regex

  [199] => Phalcon\Validation\Validator\Identical

  [200] => Phalcon\Validation\Validator\Between

  [201] => Phalcon\Validation\Validator\Confirmation

  [202] => Phalcon\Validation\Validator\PresenceOf

  [203] => Phalcon\Validation\Validator\ExclusionIn

  [204] => Phalcon\Validation\Validator\StringLength

  [205] => Phalcon\Validation\Validator\InclusionIn

  [206] => Phalcon\Db\Index

  [207] => Phalcon\Db\Column

  [208] => Phalcon\Db\Adapter\Pdo\Sqlite

  [209] => Phalcon\Db\Adapter\Pdo\Mysql

  [210] => Phalcon\Db\Adapter\Pdo\Oracle

  [211] => Phalcon\Db\Adapter\Pdo\Postgresql

  [212] => Phalcon\Db\Dialect\Oracle

  [213] => Phalcon\Db\Dialect\Mysql

  [214] => Phalcon\Db\Dialect\Sqlite

  [215] => Phalcon\Db\Dialect\Postgresql

  [216] => Phalcon\Db\Exception

  [217] => Phalcon\Db\Profiler

  [218] => Phalcon\Db\Profiler\Item

  [219] => Phalcon\Db\Reference

  [220] => Phalcon\Db\RawValue

  [221] => Phalcon\Db\Result\Pdo

  [222] => Phalcon\Acl\Role

  [223] => Phalcon\Acl\Resource

  [224] => Phalcon\Acl\Adapter\Memory

  [225] => Phalcon\Acl\Exception

  [226] => Phalcon\Text

  [227] => Phalcon\Kernel

  [228] => Phalcon\Security

  [229] => Phalcon\Security\Exception

  [230] => Phalcon\Version

  [231] => Phalcon\Session

  [232] => Phalcon\Session\Bag

  [233] => Phalcon\Session\Exception

  [234] => Phalcon\Session\Adapter\Files

  [235] => Phalcon\Filter

  [236] => Phalcon\DI\Exception

  [237] => Phalcon\DI\FactoryDefault\CLI

  [238] => Phalcon\DI\Service

  [239] => Phalcon\DI\Service\Builder

  [240] => Phalcon\Filter\Exception

  [241] => Phalcon\Flash\Direct

  [242] => Phalcon\Flash\Session

  [243] => Phalcon\Flash\Exception

  [244] => Phalcon\CLI\Task

  [245] => Phalcon\CLI\Router

  [246] => Phalcon\CLI\Console

  [247] => Phalcon\CLI\Console\Exception

  [248] => Phalcon\CLI\Dispatcher

  [249] => Phalcon\CLI\Dispatcher\Exception

  [250] => Phalcon\CLI\Router\Exception

  [251] => Phalcon\Annotations\Reader

  [252] => Phalcon\Annotations\Exception

  [253] => Phalcon\Annotations\Reflection

  [254] => Phalcon\Annotations\Annotation

  [255] => Phalcon\Annotations\Collection

  [256] => Phalcon\Annotations\Adapter\Apc

  [257] => Phalcon\Annotations\Adapter\Memory

  [258] => Phalcon\Annotations\Adapter\Files

  [259] => Phalcon\Loader

  [260] => Phalcon\Logger

  [261] => Phalcon\Loader\Exception

  [262] => Phalcon\Logger\Item

  [263] => Phalcon\Logger\Multiple

  [264] => Phalcon\Logger\Exception

  [265] => Phalcon\Logger\Adapter\Stream

  [266] => Phalcon\Logger\Adapter\File

  [267] => Phalcon\Logger\Formatter\Json

  [268] => Phalcon\Logger\Adapter\Syslog

  [269] => Phalcon\Logger\Formatter\Line

  [270] => Phalcon\Logger\Formatter\Syslog

  [271] => Phalcon\Config\Exception

  [272] => Phalcon\Config\Adapter\Ini

  [273] => Phalcon\Forms\Form

  [274] => Phalcon\Forms\Manager

  [275] => Phalcon\Forms\Exception

  [276] => Phalcon\Forms\Element\File

  [277] => Phalcon\Forms\Element\Text

  [278] => Phalcon\Forms\Element\Date

  [279] => Phalcon\Forms\Element\Hidden

  [280] => Phalcon\Forms\Element\Numeric

  [281] => Phalcon\Forms\Element\Submit

  [282] => Phalcon\Forms\Element\Check

  [283] => Phalcon\Forms\Element\Select

  [284] => Phalcon\Forms\Element\Password

  [285] => Phalcon\Forms\Element\TextArea

  [286] => Phalcon\Crypt

  [287] => Phalcon\Translate

  [288] => Phalcon\Translate\Exception

  [289] => Phalcon\Translate\Adapter\NativeArray

  [290] => Phalcon\Crypt\Exception

  [291] => Phalcon\Escaper

  [292] => Phalcon\Escaper\Exception

  [293] => Phalcon\Assets\Manager

  [294] => Phalcon\Assets\Exception

  [295] => Phalcon\Assets\Resource\Js [296] => Phalcon\Assets\Collection

  [297] => Phalcon\Assets\Resource\Css

  [298] => Phalcon\Http\Cookie

  [299] => Phalcon\Http\Request

  [300] => Phalcon\Http\Response

  [301] => Phalcon\Http\Cookie\Exception

  [302] => Phalcon\Http\Request\File

  [303] => Phalcon\Http\Response\Cookies

  [304] => Phalcon\Http\Response\Headers

  [305] => Phalcon\Http\Request\Exception

  [306] => Phalcon\Http\Response\Exception

  [307] => Phalcon\Queue\Beanstalk

  [308] => Phalcon\Queue\Beanstalk\Job

  [309] => Phalcon\Mvc\Url

  [310] => Phalcon\Mvc\View

  [311] => Phalcon\Mvc\Micro

  [312] => Phalcon\Mvc\Model

  [313] => Phalcon\Mvc\Application

  [314] => Phalcon\Mvc\Application\Exception

  [315] => Phalcon\Mvc\Collection

  [316] => Phalcon\Mvc\Controller

  [317] => Phalcon\Mvc\Collection\Manager

  [318] => Phalcon\Mvc\Collection\Exception

  [319] => Phalcon\Mvc\Dispatcher

  [320] => Phalcon\Mvc\Dispatcher\Exception

  [321] => Phalcon\Mvc\Model\Query

  [322] => Phalcon\Mvc\Model\Row

  [323] => Phalcon\Mvc\Micro\LazyLoader

  [324] => Phalcon\Mvc\Micro\Collection

  [325] => Phalcon\Mvc\Micro\Exception

  [326] => Phalcon\Mvc\Model\Message

  [327] => Phalcon\Mvc\Model\Criteria

  [328] => Phalcon\Mvc\Model\Relation

  [329] => Phalcon\Mvc\Model\Manager

  [330] => Phalcon\Mvc\Model\Transaction

  [331] => Phalcon\Mvc\Model\Query\Lang

  [332] => Phalcon\Mvc\Model\MetaData\Files

  [333] => Phalcon\Mvc\Model\MetaData\Apc

  [334] => Phalcon\Mvc\Model\Query\Status

  [335] => Phalcon\Mvc\Model\Query\Builder

  [336] => Phalcon\Mvc\Model\Validator\Url

  [337] => Phalcon\Mvc\Model\MetaData\Memory

  [338] => Phalcon\Mvc\Model\Resultset\Complex

  [339] => Phalcon\Mvc\Model\ValidationFailed

  [340] => Phalcon\Mvc\Model\Resultset\Simple

  [341] => Phalcon\Mvc\Model\Validator\Email

  [342] => Phalcon\Mvc\Model\MetaData\Session

  [343] => Phalcon\Mvc\Model\Validator\Regex

  [344] => Phalcon\Mvc\Model\Behavior\SoftDelete

  [345] => Phalcon\Mvc\Model\Validator\PresenceOf

  [346] => Phalcon\Mvc\Model\Validator\Uniqueness

  [347] => Phalcon\Mvc\Model\Transaction\Failed

  [348] => Phalcon\Mvc\Model\Transaction\Manager

  [349] => Phalcon\Mvc\Model\Behavior\Timestampable

  [350] => Phalcon\Mvc\Model\MetaData\Strategy\Annotations

  [351] => Phalcon\Mvc\Model\MetaData\Strategy\Introspection

  [352] => Phalcon\Mvc\Model\Transaction\Exception

  [353] => Phalcon\Mvc\Model\Validator\StringLength

  [354] => Phalcon\Mvc\Model\Validator\Exclusionin

  [355] => Phalcon\Mvc\Model\Validator\Inclusionin

  [356] => Phalcon\Mvc\Model\Validator\Numericality

  [357] => Phalcon\Mvc\Router\Group

  [358] => Phalcon\Mvc\Router\Route

  [359] => Phalcon\Mvc\Router\Exception

  [360] => Phalcon\Mvc\Router\Annotations

  [361] => Phalcon\Mvc\User\Plugin

  [362] => Phalcon\Mvc\User\Module

  [363] => Phalcon\Mvc\Url\Exception

  [364] => Phalcon\Mvc\User\Component

  [365] => Phalcon\Mvc\View\Exception

  [366] => Phalcon\Mvc\View\Engine\Php

  [367] => Phalcon\Mvc\View\Engine\Volt

  [368] => Phalcon\Mvc\View\Engine\Volt\Compiler

  [369] => Phalcon\Events\Event

  [370] => Phalcon\Events\Manager

  [371] => Phalcon\Events\Exception)

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/820408.htmlTechArticle怎么在php上安装phalcon 老是安装不成功 按官网上面提示去搞 先是放在ext文件夹下 再是在php.ini里面加extension=php_phalcon.dll然后重新启动wamp就...