How to install phalcon_PHP on php Tutorial-php Tutorial

Source: Internet
Author: User
Tags apc crypt
How to install phalcon on php. How to install phalcon in php is always unsuccessful. follow the instructions on the official website to put it in the ext folder and then in php. add extensionphp_phalcon.dll in ini and restart wamp to install phalcon in php.

Installation fails. follow the instructions on the official website.

Put it in the ext folder, add extension = php_phalcon.dll in php. ini, and restart wamp to prompt this error...

Then I download another php5.dll and it prompts this error again.

------ Solution --------------------

My php is 5.4.20

Php_phalcon.dll is 5.4.12.0

No problem

Print_r (preg_grep ('/^ phalcon/I', get_declared_classes ()));

Array

(

[145] => Phalcon \ Exception

[146] => Phalcon \ Db \ Adapter

[2, 147] => Phalcon \ DI \ Injectable

[148] => Phalcon \ DI

[149] => Phalcon \ Forms \ Element

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

[1, 151] => Phalcon \ Validation \ Validator

[152] => Phalcon \ Cache \ Backend

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

[154] => Phalcon \ Db \ Dialect

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

[1, 156] => Phalcon \ Annotations \ Adapter

[157] => Phalcon \ Logger \ Formatter

[158] => Phalcon \ Logger \ Adapter

[2, 159] => Phalcon \ Flash

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

[1, 161] => Phalcon \ Dispatcher

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

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

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

[1, 165] => Phalcon \ Assets \ Resource

[166] => Phalcon \ Config

[1, 167] => Phalcon \ Session \ Adapter

[168] => Phalcon \ Acl \ Adapter

[169] => Phalcon \ Translate \ Adapter

[1, 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

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

[2, 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

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

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

[1, 200] => Phalcon \ Validation \ Validator \

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

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

[1, 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

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

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

[216] => Phalcon \ Db \ Exception

[217] => Phalcon \ Db \ Profiler

[1, 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

[1, 231] => Phalcon \ Session

[232] => Phalcon \ Session \ Bag

[233] => Phalcon \ Session \ Exception

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

[235] => Phalcon \ Filter

[236] => Phalcon \ DI \ Exception

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

[238] => Phalcon \ DI \ Service

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

[240] => Phalcon \ Filter \ Exception

[241] => Phalcon \ Flash \ Direct

[1, 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

[1, 248] => Phalcon \ CLI \ Dispatcher

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

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

[1, 251] => Phalcon \ Annotations \ Reader

[252] => Phalcon \ Annotations \ Exception

[1, 253] => Phalcon \ Annotations \ Reflection

[1, 254] => Phalcon \ Annotations \ Annotation

[1, 255] => Phalcon \ Annotations \ Collection

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

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

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

[259] => Phalcon \ Loader

[2, 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

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

[2, 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

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

[290] => Phalcon \ Crypt \ Exception

[1, 291] => Phalcon \ Escaper

[292] => Phalcon \ Escaper \ Exception

[1, 293] => Phalcon \ Assets \ Manager

[294] => Phalcon \ Assets \ Exception

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

[1, 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

[1, 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

[1, 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

[1, 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 \ sionsionin

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

[1, 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

[1, 370] => Phalcon \ Events \ Manager

[371] => Phalcon \ Events \ Exception)

Ghost installation is always unsuccessful follow the prompts on the official website to put it in the ext folder first, then add extension = php_phalcon.dll in php. ini, and then restart wamp...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.