Compiling PHP extension
- Download and install Microsoft Visual Studio Express 2012. Microsoft removed it from downloads - for the moment you can find it at Softpedia .
- Create the folder C:\php-sdk
- Unpack the binary-tools archive (php-sdk-binary-tools-20110915.zip) into this directory, there should be one sub-directory called bin and one called script
- Open VS2012 x86 Native Tools Command Prompt (it's available from the start menu group)
- Execute the following commands:
cd c:\php-sdk\ bin\phpsdk_setvars.bat bin\phpsdk_buildtree.bat php
- Create C:\php-sdk\php\vc11 directory and copy content from vc9 one
- Extract PHP source code for Windows (you can download it from http://windows.php.net/downloads/releases/) in C:\php-sdk\php\vc11\x86
- Download libraries required to build PHP and extract them in C:\php-sdk\php\vc11\x86\deps
- Create directory C:\php-sdk\php\vc11\x86\php\ext\phalcon
- Download Phalcon source from Github
- Copy files from Phalcon source build\32bits directory in C:\php-sdk\php\vc11\x86\php\ext\phalcon
- Run following commands:
cd C:\php-sdk\php\vc11\x86\php buildconf configure --disable-all --enable-cli --enable-phalcon=shared nmake
- The php_phalcon.dll after the compilation is located in C:\php-sdk\php\vc11\x86\Release_TS\
Enable Phalcon extension
In php.ini add following:
extension=php_phalcon.dll
Configure code completion for Netbeans
- Download Phalcon Developer Tools . How to setup them is described in documentation
- In ide directory there is gen-stubs.php script. You have to point 'CPHALCON_DIR' to where your extracted phalcon source is, then run:
This will create ide subdirectory in which you will find directory with your Phalcon version as name. In latter there is Phalcon subdirectory - copy it in your Netbeans php\phpstubs\phpruntime directory. Now you will have code completion for Phalcon.php ide/gen-stubs.php
Thank you! You saved me tons of time.
ReplyDeleteStaring Into The Abyss: How To Setup Phalcon Framework Under Windows 8 For Php 5.5 And Netbeans >>>>> Download Now
Delete>>>>> Download Full
Staring Into The Abyss: How To Setup Phalcon Framework Under Windows 8 For Php 5.5 And Netbeans >>>>> Download LINK
>>>>> Download Now
Staring Into The Abyss: How To Setup Phalcon Framework Under Windows 8 For Php 5.5 And Netbeans >>>>> Download Full
>>>>> Download LINK Ox
Happy to know it works for someone else ;)
ReplyDeleteIt’s a nice blog posted by you. I was seeking for this type of technical news blog that have a fresh and interesting content and coding examples. Thanks..
ReplyDeleteAngularjs on Rail
Thank you :)
ReplyDeleteAlso Codelobster supports Phalcon very good.
ReplyDeleteFor 119 Euros it should ;) Tried free version a long ago - did not click with me.
DeleteThis comment has been removed by the author.
ReplyDeleteMy favorite IDE for Phalcon framework is Codelobster
ReplyDeleteStaring Into The Abyss: How To Setup Phalcon Framework Under Windows 8 For Php 5.5 And Netbeans >>>>> Download Now
ReplyDelete>>>>> Download Full
Staring Into The Abyss: How To Setup Phalcon Framework Under Windows 8 For Php 5.5 And Netbeans >>>>> Download LINK
>>>>> Download Now
Staring Into The Abyss: How To Setup Phalcon Framework Under Windows 8 For Php 5.5 And Netbeans >>>>> Download Full
>>>>> Download LINK jY