- Learning Phalcon PHP
- Calin Rada
- 119字
- 2021-07-16 20:30:17
Installing Phalcon
Now that we have installed all the required software, we will proceed with the installation of Phalcon. Before we continue, we must install some dependencies:
$ sudo apt-get install php5-dev libpcre3-dev gcc make php5-mysql
For Windows systems and more details about how to compile the extension on different systems, please check the latest documentation at http://phalconphp.com/en/download.
Now, we can clone the repository and compile our extension:
$ git clone --depth=1 git://github.com/phalcon/cphalcon.git $ cd cphalcon/build $ sudo ./install $ echo 'extension=phalcon.so' | sudo tee /etc/php5/mods-available/phalcon.ini $ sudo php5enmod phalcon $ sudo service php5-fpm restart
If everything goes well, you should be able to see Phalcon in the list of PHP installed modules:
$ php -m | grep phalcon
推薦閱讀
- Learning LibGDX Game Development(Second Edition)
- NGINX Cookbook
- Deep Learning for Natural Language Processing
- Laravel Design Patterns and Best Practices
- IBM RUP參考與認證指南
- 征服C指針(第2版)
- Spring Boot從入門到實戰
- Java EE程序設計與開發實踐教程
- 微信公眾平臺開發最佳實踐
- JavaScript編程精解(原書第3版)
- GO語言編程從入門到實踐
- PHP程序設計高級教程
- Web程序設計與架構
- Oracle Database 12c DBA官方手冊(第8版)
- Learning Node.js for Mobile Application Development