eZ Publish Developer/Specialist / Blog / Xdebug and APC on openSUSE

blog

A blog about developing websites with the eZ Publish Content Management System. It contains material such as news, how-to articles, tutorials, template and PHP code, and specific solutions.

Stay up-to-date and subscribe to the blog's RSS feed.

maingfx

Xdebug and APC on openSUSE

I'm running openSUSE on my developer machine. Unfortunately, the default openSUSE installation does not include the Xdebug PHP extension (for debugging of course), nor APC (for caching PHP opcode). However, this can easily be remedied.

openSUSE has a PHP extensions repository ( http://download.opensuse.org/repositories/server:/php:/extensions/ ), which you can add to your software repositories database and from which you can download and install Xdebug and APC. Just use ?zypper? (or YAST if you are more GUI oriented), a command line tool for handling package repositories and installation:

$ zypper ar http://download.opensuse.org/repositories/server:/php:/extensions/openSUSE_11.0/ PHP5Extensions
$ zypper in php5-xdebug
$ zypper in php5-APC

You can find the Xdebug configuration file at /etc/php5/conf.d/xdebug.ini

That was simple, wasn't it?

Comments