WebFaction
Community site: login faq

Can you tell me if WebFaction can support a PHP debugger such as phpstorm? I would like to debug my php code, running on my WebFaction site, from my workstation by having my debugger latch on to the PHP running on the WebFaction server. What are the steps to do this?

asked 03 Jul '12, 14:25

Grosner
112
accept rate: 0%

edited 05 Jul '12, 06:28


PHPstorm is a GUI driven application, it would not run on the server, it would run on your local machine.

permanent link

answered 03 Jul '12, 23:10

johns
5.4k312
accept rate: 23%

What I really want to know is how to install XDebug on my account so I can remotely debug Php code.

(05 Jul '12, 06:27) Grosner

Here are the general steps you need to take:

  1. Download Xdebug.

  2. Untar it in a directory of your choice: tar -xzf xdebug-2.2.0.tgz

  3. Run the following command: cd xdebug-2.2.0

  4. Run phpize – the command for this will depend on which PHP version your application uses. For example, if your app is using PHP 5.4, your phpize command will be 'phpize54'.

  5. Run the following command: ./configure –-enable-xdebug –-with-php-config=/usr/local/bin/php54-config (again, if you are using a different PHP version, modify the path to php-config accordingly)

  6. Run 'make'.

  7. Add the following line to your web application php.ini: zend_extension="/home/<username>/modules/xdebug.so"

(05 Jul '12, 10:18) todork

Thanks! Exactly what I was looking for!

(05 Jul '12, 21:03) Grosner
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×13
×3
×1
×1

question asked: 03 Jul '12, 14:25

question was seen: 3,365 times

last updated: 21 Oct '15, 16:07

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM