Install Xampp :
Step 1. Open terminal and download XAMPP 1.8.2
for 32-bit:
http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.2/xampp-linux-1.8.2-6-installer.run/download
for 64-bit:
http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.2/xampp-linux-x64-1.8.2-6-installer.run/download
Step 2. After that, Change xampp package installer to executable then run to installing with following command:
sudo chmod +x xampp-linux-x64-1.8.3-2-installer.run
sudo ./xampp-linux-x64-1.8.3-2-installer.run
sudo ./xampp-linux-x64-1.8.3-2-installer.run
The window installation wizard will appear:
Click “Next”. Another appears:
Click “Next” again. And you will go to the next window:
Click “Next” again. And will to the following:
Uncheck: “Learn more about BitNami for XAMPP”
And click “Next”
Click Next again. Wait for the installation:
When finished, this will be the last window:
When you checked “launch XAMPP” before clicking finish A page will open in your browser, If the page does not open automatically, go into your browser’s address and type http://localhost/xampp
To stop the XAMPP service:
sudo /opt/lampp/lampp stop
To start the XAMPP service:
sudo /opt/lampp/lampp start
To open the page of XAMPP, whenever you want, type in the address bar of your browser: http://localhost/xampp/
Install XDebug
Step 1 : First Download XDebugger
or
tar xzf xdebug-2.0.3.tgz
cd xdebug-2.0.3/
phpize
cd xdebug-2.0.3/
phpize
After this you will have following output on your console…
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
./configure
make
sudo make install
make
sudo make install
Note : xdebug.so file automatic created in xdebug-2.0.3 folder after above process)
After Copy xdebug.so file copy in Xampp Extension Path ( /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613 )
then Open PHP.INI file ( /opt/lampp/etc/php.ini) and add this line
zend_extension = /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
;xdebug.remote_host="localhost"
xdebug.remote_host=10.2.2.1
;xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"
ZendGuardLoader Installation :
First Download ZendGuardLoader.so file in the below url :
After copy this in below location and add tline
sudo nano /opt/lampp/etc/php.ini
zend_extension=/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/ZendGuardLoader.so
zend_loader.disable_licensing=0
zend_loader.enable=1
zend_loader.obfuscation_level_support=1
No comments:
Post a Comment