XAMPP and PHP

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
DMerchen
Posts: 2
Joined: Thu Aug 20, 2009 4:53 pm

XAMPP and PHP

Post by DMerchen »

I am using Xampp to develop my php files, and I have a question concerning setting up php and debugging and such. When I install Xampp it installs php version 5.3. When I check to see if debug will work and try to set it up, I can't find the information I need in php.ini. Should I install a separate version of php that I download from the php site, or will the xdebug information in the php ini file be sufficient for debugging my php files. I am struggling with setting up the debug function, so I am curious if I need to install a separate version of php and this would help me. Any help is appreciated.

Dave
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: XAMPP and PHP

Post by Karlis »

You can install the instant PHP+XDebug package from our website but it works with built-in web server and not XAMPP. The upside is that once it is installed, debugging features should work without hassle.

If you want to run xDebug with XAMPP, you will have to configure XAMPPs PHP to run xDebug. I do not thing that installing additional PHP copy in this case is necessary, I think it would make things even more complex.
Karlis Blumentals
Blumentals Software
www.blumentals.net
DIZ
Posts: 18
Joined: Thu Aug 27, 2009 12:36 pm

Re: XAMPP and PHP

Post by DIZ »

You should take last version xdebug dll from developer's site and plug it in xampphp php folder in usual way.
User avatar
Boofo
Posts: 69
Joined: Mon Sep 15, 2008 6:15 pm
Location: Des Moines, Iowa (USA)
Contact:

Re: XAMPP and PHP

Post by Boofo »

Karlis,

Are you planning on upgrading the PHP and xDebug package on the site? It is a little old now.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: XAMPP and PHP

Post by Karlis »

Boofo wrote:Karlis,
Are you planning on upgrading the PHP and xDebug package on the site? It is a little old now.
Due to lack of time we can not maintain the latest version all the time, but we try to update it once every 6 months or so.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Boofo
Posts: 69
Joined: Mon Sep 15, 2008 6:15 pm
Location: Des Moines, Iowa (USA)
Contact:

Re: XAMPP and PHP

Post by Boofo »

I understand, but it has been more than 6 months on this version. ;)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: XAMPP and PHP

Post by Karlis »

Boofo wrote:I understand, but it has been more than 6 months on this version. ;)
Is there something so wrong with it? Should fit for the local development/testing just fine for a few more months. I am sure, you will have the latest and very best version at your hosting provider.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Boofo
Posts: 69
Joined: Mon Sep 15, 2008 6:15 pm
Location: Des Moines, Iowa (USA)
Contact:

Re: XAMPP and PHP

Post by Boofo »

What I meant was that you guys usually stay on top of things like that as new PHP versions come out. I wasn't meaning to offend and the sarcasm really wasn't necessary.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: XAMPP and PHP

Post by Karlis »

Whare do you see the least bit of sarcasm? What I meant is exactly what I said with no attached meaning - the present version should be good enough for the development purpose. You simply should not need a newer version on your local computer, unless this version crashes or something :wink:

There are tons of more urgent issues to be settled right now, but we will get to the PHP package as well. It is not a quick task to update the package - we need to get the latest php with the latest debug drivers and test them on multiple platforms, then release the package and test it again. Since there is almost no benefit at all in updating this package frequently, we want to focus on things that will give greater benefit first.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Boofo
Posts: 69
Joined: Mon Sep 15, 2008 6:15 pm
Location: Des Moines, Iowa (USA)
Contact:

Re: XAMPP and PHP

Post by Boofo »

Karlis wrote:I am sure, you will have the latest and very best version at your hosting provider.
This wasn't meant as sarcasm?
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: XAMPP and PHP

Post by Karlis »

Boofo wrote:
Karlis wrote:I am sure, you will have the latest and very best version at your hosting provider.
This wasn't meant as sarcasm?
Nope, you totally misread my thought. It says what it says - decent hosting providers maintain the latest stable versions and since that is where your webpage sits (99%), you should not care too much of whether the version you are using for development is the latest stable. I have the worst PHP 5 available on some of my PCs and I haven't felt any discomdort whatsoever (not so with PHP 4).

But do not worry - whan I tell a joke or intend to be sarcastic , often people think it is meant directly and whan I am direct, they often think it is a joke, so I am used to this :D
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Boofo
Posts: 69
Joined: Mon Sep 15, 2008 6:15 pm
Location: Des Moines, Iowa (USA)
Contact:

Re: XAMPP and PHP

Post by Boofo »

My bad then. My apologies.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: XAMPP and PHP

Post by Karlis »

Boofo wrote:My bad then. My apologies.
The problem with the Internet is that you do not see ones face and voice. Words can be misleading. Smileys help, but not to a great extent and picking the right one takes too much time.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Boofo
Posts: 69
Joined: Mon Sep 15, 2008 6:15 pm
Location: Des Moines, Iowa (USA)
Contact:

Re: XAMPP and PHP

Post by Boofo »

True, but I also think that different cultures/languages handle things differently as far as some meanings go.
davenz

Re: XAMPP and PHP

Post by davenz »

My wife is Croatian and it has taken me years to get used to the direct way many Europeans speak and translate English. To us, things said often sound rude or offensive when in fact there is no undertone or offence intended. As you say, this is a cultural difference that is not immediately apparent to native English speakers but one which we should at least know about so we don't end up taking things completely the wrong way.

Dave.
Post Reply