1.安装语言包
http://www.eclipse.org/babel/downloads.php
11.0的时候仍然是juno
http://download.eclipse.org/technology/babel/update-site/R0.12.0/juno
2.安装StartExplorer
Location: http://basti1302.github.com/startexplorer/update/
3.修改项目的字符编码为utf8
常规==工作空间==编码
php===编辑器===code folding 取消启用折叠
添加快捷文件头注释: php--编辑器--模板
/**
* HassCMS (http://www.hassium.org/)
*
* @link http://github.com/hasscms for the canonical source repository
* @copyright Copyright (c) 2014-2099 Hassium Software LLC.
* @license http://www.hassium.org/license/new-bsd New BSD License
*/
/**
*
*
* @author zhepama <[email protected]>
* @since 1.0
*/
4.安装composer
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
4.安装zend studio自带插件
Zend Studio Extra Features - http://downloads.zend.com/studio-eclipse/updates-extra
egit push时会提示no fast farward之类的,意思是应该先从github上pull一下,然后再push。
dbeaver mysql 数据库
color theme 主题
5.安装xdebug
yum install php-devel
git clone git://github.com/xdebug/xdebug.git
cd xdebug/
phpize
./configure --enable-xdebug
make
cp modules/xdebug.so /usr/lib64/php/modules/xdebug.so 或者 make install
cp /etc/php.d/pdo.ini /etc/php.d/xdebug.ini
vi /etc/php.d/xdebug.ini
zend_extension=/usr/lib64/php/modules/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
systemctl restart httpd
首选向===调式===已安装的调试器=====xdebug配置
accept remote session 修改为 local 本地
安装zend debug
http://www.zend.com/en/products/studio/downloads?aliId=11100165#Linux
http://files.zend.com/help/Zend-Server/zend-server.htm#zend_debugger_-_configuration_directives.htm
这里可以下载到zenddebug
wget -c http://downloads.zend.com/studio_debugger/2014_07_16/ZendDebugger-linux-x86_64.tar.gz
tar -zxvf ZendDebugger-linux-x86_64.tar.gz
cd ZendDebugger-linux-x86_64/php-5.4.x
cp ZendDebugger.so /usr/lib64/php/modules/ZendDebugger.so
cp /etc/php.d/pdo.ini /etc/php.d/ZendDebugger.ini
vi /etc/php.d/ZendDebugger.ini
zend_extension=/usr/lib64/php/modules/ZendDebugger.so
zend_debugger.allow_hosts=127.0.0.1/32,10.0.0.0/8,192.168.0.0/16,172.16.0.0/12
zend_debugger.expose_remotely=allowed_host
systemctl restart httpd
安装phalcon
sudo yum install php-devel php-mysql gcc libtool
git clone --depth=1 git://github.com/phalcon/cphalcon.git
cd cphalcon/build sudo
./install
sudo echo "extension=phalcon.so" > /etc/php.d/phalcon.ini
git clone https://github.com/phalcon/phalcon-devtools.git cd phalcon-devtools
./phalcon.sh
source ~/.bash_profile
修改php配置
short_open_tag =on
display_errors = on
date.timezone =Asia/Chongqing