Home > Backend Development > PHP Tutorial > 如何在php上安装phalcon

如何在php上安装phalcon

WBOY
Release: 2016-06-13 11:59:01
Original
948 people have browsed it

怎么在php上安装phalcon
老是安装不成功 按官网上面提示去搞
先是放在ext文件夹下 再是在php.ini里面加extension=php_phalcon.dll然后重新启动wamp就提示这种错误...

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

------解决方案--------------------
我的 php 是 5.4.20 的
php_phalcon.dll 是5.4.12.0  的
没有问题的

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

Array<br>(<br>    [145] => Phalcon\Exception<br>    [146] => Phalcon\Db\Adapter<br>    [147] => Phalcon\DI\Injectable<br>    [148] => Phalcon\DI<br>    [149] => Phalcon\Forms\Element<br>    [150] => Phalcon\Mvc\Model\Validator<br>    [151] => Phalcon\Validation\Validator<br>    [152] => Phalcon\Cache\Backend<br>    [153] => Phalcon\Db\Adapter\Pdo<br>    [154] => Phalcon\Db\Dialect<br>    [155] => Phalcon\Mvc\Model\MetaData<br>    [156] => Phalcon\Annotations\Adapter<br>    [157] => Phalcon\Logger\Formatter<br>    [158] => Phalcon\Logger\Adapter<br>    [159] => Phalcon\Flash<br>    [160] => Phalcon\Mvc\Model\Behavior<br>    [161] => Phalcon\Dispatcher<br>    [162] => Phalcon\Mvc\Model\Resultset<br>    [163] => Phalcon\Mvc\View\Engine<br>    [164] => Phalcon\Mvc\Model\Exception<br>    [165] => Phalcon\Assets\Resource<br>    [166] => Phalcon\Config<br>    [167] => Phalcon\Session\Adapter<br>    [168] => Phalcon\Acl\Adapter<br>    [169] => Phalcon\Translate\Adapter<br>    [170] => Phalcon\DI\FactoryDefault<br>    [171] => Phalcon\Mvc\Router<br>    [172] => Phalcon\Tag<br>    [173] => Phalcon\Acl<br>    [174] => Phalcon\Db<br>    [175] => Phalcon\Cache\Exception<br>    [176] => Phalcon\Cache\Multiple<br>    [177] => Phalcon\Cache\Backend\Apc<br>    [178] => Phalcon\Cache\Backend\File<br>    [179] => Phalcon\Cache\Backend\Mongo<br>    [180] => Phalcon\Cache\Backend\Memory<br>    [181] => Phalcon\Cache\Backend\Memcache<br>    [182] => Phalcon\Cache\Frontend\Output<br>    [183] => Phalcon\Cache\Frontend\None<br>    [184] => Phalcon\Cache\Frontend\Json<br>    [185] => Phalcon\Cache\Frontend\Base64<br>    [186] => Phalcon\Cache\Frontend\Data<br>    [187] => Phalcon\Tag\Select<br>    [188] => Phalcon\Tag\Exception<br>    [189] => Phalcon\Paginator\Exception<br>    [190] => Phalcon\Paginator\Adapter\Model<br>    [191] => Phalcon\Paginator\Adapter\QueryBuilder<br>    [192] => Phalcon\Paginator\Adapter\NativeArray<br>    [193] => Phalcon\Validation<br>    [194] => Phalcon\Validation\Message<br>    [195] => Phalcon\Validation\Exception<br>    [196] => Phalcon\Validation\Message\Group<br>    [197] => Phalcon\Validation\Validator\Email<br>    [198] => Phalcon\Validation\Validator\Regex<br>    [199] => Phalcon\Validation\Validator\Identical<br>    [200] => Phalcon\Validation\Validator\Between<br>    [201] => Phalcon\Validation\Validator\Confirmation<br>    [202] => Phalcon\Validation\Validator\PresenceOf<br>    [203] => Phalcon\Validation\Validator\ExclusionIn<br>    [204] => Phalcon\Validation\Validator\StringLength<br>    [205] => Phalcon\Validation\Validator\InclusionIn<br>    [206] => Phalcon\Db\Index<br>    [207] => Phalcon\Db\Column<br>    [208] => Phalcon\Db\Adapter\Pdo\Sqlite<br>    [209] => Phalcon\Db\Adapter\Pdo\Mysql<br>    [210] => Phalcon\Db\Adapter\Pdo\Oracle<br>    [211] => Phalcon\Db\Adapter\Pdo\Postgresql<br>    [212] => Phalcon\Db\Dialect\Oracle<br>    [213] => Phalcon\Db\Dialect\Mysql<br>    [214] => Phalcon\Db\Dialect\Sqlite<div class="clear">
                 
              
              
        
            </div>
Copy after login
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