Töre Çağrı Uyar

The Awesome

Follow me on TwitterRSS Feeds

  • Home
  • About
  • Projects
    • Artificial Neural Network
    • Linux Network Programming
  • 3D Computer Game
  • 32bit Xdebug on 32bit LAMPP on 64bit Linux (WTF!?)

    Many times I found myself trying to figure out how to work with 32 bit Xdebug on 32 bit LAMPP server on 64 bit linux. I have done exact same searches on Google over and over again in time. So I decided to mix those informations up once and not to search Google for this subject again. I assume that you already know about Xdebug and LAMPP server. First thing to do is to install XAMPP for linux on your system. There...
  • Multiplication Table Calculation Implementation using Artificial...

    I have done a multiplication table calculation implementation using artificial neural networks at university as a homework project. Uploaded the project with full source code to my site, here. Feel free to use it anywhere you like. Of course comments and references appreciated. Not much of a tutorial here and it is not suitable for newbies, but object oriented implementation of neural networks should work fine to...
  • TrackManiac!

    I have uploaded binary and source files for my senior thesis TrackMania K.T.Ü., so what are you waiting for? Go get it!

Top things to do after installing Ubuntu Linux 9.10 Karmic Koala

Dec 22nd

Posted by Töre in Links

No comments

I found this nice mashup: Top things to do after installing Ubuntu Linux 9.10 Karmic Koala

Links, Linux

32bit Xdebug on 32bit LAMPP on 64bit Linux (WTF!?)

Dec 22nd

Posted by Töre in Computer Engineering

No comments

Many times I found myself trying to figure out how to work with 32 bit Xdebug on 32 bit LAMPP server on 64 bit linux. I have done exact same searches on Google over and over again in time. So I decided to mix those informations up once and not to search Google for this subject again. I assume that you already know about Xdebug and LAMPP server.

First thing to do is to install XAMPP for linux on your system. There is nice explanation about how to do this on it’s own site, so i think this won’t be a hard task for any of you geeks or nerds.

Second thing is to download and install development package for XAMPP on linux. It could be installed the same way and of course there is an explanation for that too.

So you have downloaded, installed and configured (secured) your XAMPP for linux and it’s development package. Surpirse! Development package was not needed. Really, you could done the all procedure without installing development files, but I insist on installing those files because they probably will be needed for others things you would try to do in feature.

And yet comes the tricky part. If you are using a 64bit linux system like I do, trying to compile Xdebug as 32bit extension for PHP on a 64bit compiler, don’t do it. Well, I am sure about it there is a way to do this right but my opinion is trying to this is really pain in the **s. Our trick to get Xdebug extension without compiling it is to visit this website which has remote debugging packages for Komodo IDE. You will need 32bit linux “PHP Remote Debugging” package. There is your 32bit compiled Xdebug extension, in somewhere on that package.

Next step: “cp xdebug.so /opt/lampp/lib/php/extensions”, with something like this command, copy your Xdebug extension to your php extension directory on your LAMPP install.

If you had no problems until here, then your job is nearly finished. Only thing left to do is to tell your php installation to use Xdebug as an extension. Adding these lines to your php.ini

[Xdebug]
zend_extension = "/opt/lampp/lib/php/extensions/xdebug.so"
xdebug.profiler_output_dir = "/tmp/xdebug/"
xdebug.profiler_enable = On
xdebug.remote_enable = On
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.remote_handler = "dbgp"

will do the work. But remember you can not use Xdebug extension with Zend Debugger together. You have to choose one of them. If your installation is configured to work with Zend Debugger, please disable it.(by commenting out the Zend Debugger extension)

That’s all and your 32bit Xdebug extension on 32bit LAMPP installation on a 64bit linux should work fine. Feel free to leave feedback.

Also if you like to compile your own Xdebug here the sites I found while i was searching over and over:

Install ‘xdebug’ PHP extension for XAMPP on linux

Getting Xdebug to work with Apache/XAMPP to debug PHP

Computer Engineering, Linux, PHP

LED Cube 4×4x4

Dec 12th

Posted by Töre in Computer Engineering

No comments

I found this very nice cube while i was stumbling on my regular blog Hack a Day.

Electronics, Links

ODE Tutorial

Dec 12th

Posted by Töre in Computer Engineering

No comments

Basic ODE Tutorial: ODE is a dynamics engine for computer simulations. It is hard to find good tutorials about ODE.

Computer Games, Links, ODE
« First...«23456»...Last »
  • Other Websites of Me

    • Türkçe Türkçe içerikli siteyi ziyaret edin.
    • Popular posts
    • Archives
    • Tags
    • Categories
    • Computer Engineering (15)
    • Design (1)
    • Fun (7)
    • Geek (8)
    • Internet (7)
    • Links (14)
    • Linux (9)
    • Nerd (4)
    • Personal (1)
    • Technology (10)
    • Uncategorized (1)
    • Web (2)
    3D Artificial Neural Network Bash Computer Engineering Computer Games Design Electronics Facebook Fun Gadgets Geek Internet JavaScript Links Linux Nerd ODE PHP Social Media Technology ubuntu Virtualization Web Windows 7
    • May 2010 (1)
    • April 2010 (1)
    • March 2010 (2)
    • February 2010 (6)
    • January 2010 (2)
    • December 2009 (11)
    • November 2009 (8)
    • October 2009 (4)
    • How High – Wake Up Time (0)
    • Pacemaker (0)
    • Pocket Rocket (0)
    • Google Wave (0)
    • 25+ Useful Linux and Unix Cheat Sheets (0)
    • “Geek Test” says that i’m a Major (0)
    • Internet costs (0)
    • The Evolution of a Programmer (0)
    • Creative Inspiration (0)
    • Ubuntu Karmic on Windows 7 Seminar :D (0)
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
  • Flickr Gallery

  • My Friends

    • Mehmet Aydın Bahadır Nice blog about technology and computer science from a Microsoft Student Partner.
RSS Feeds XHTML 1.1 Top
Copyright © 2010 Töre Çağrı Uyar