[BlueOnyx:09757] Re: php.ini, suPHP, and xdebug

Matt James matt at rainstormconsulting.com
Thu Mar 8 10:04:53 -05 2012


OK, so I installed through PECL and that seemed to do the trick.

I temporarily ran into the following error on my PHP log, but was able to figure it out.
	PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0 

The issue at that point was that my suPHP custom php.ini file had a reference to the zend_extension for xdebug in it (probably from when I was sloppily trying everything I could last time to fix it).

In any case, it's all better now.

Thanks, Michael!

--
Matt James
Web Programmer
RainStorm Consulting
(207) 866-3908



On Mar 8, 2012, at 9:02 AM, Matt James wrote:

> Hi Michael,
> 
> Thanks again for your speedy response.
> 
> In this case, I actually did the configure and make myself following the xdebug website's instructions and using the phpize from the solarspeed directory.  Having said that, I'm glad to know it could have been simpler just by using PECL, so I'll try and give that a shot today and see how it goes.
> 
> Thanks!
> 
> --
> Matt James
> Web Programmer
> RainStorm Consulting
> (207) 866-3908
> 
> 
> 
> On Mar 7, 2012, at 5:03 PM, Michael Stauber wrote:
> 
>> Hi Matt,
>> 
>>> Having said that, it appears as though the module is still not installed
>>> properly because the xdebug doens't have a section in the phpinfo() output
>>> like it should.
>>> 
>>> If I had compiled it wrong, I'd expect to see some sort of error somewhere,
>>> but that doesn't appear to be the case.  Any ideas on why it isn't
>>> working?  Did the .so get put in the wrong place?
>> 
>> You probably 'only' did a "pecl install xdebug". In which case xdebug was 
>> built for and compiled for the onboard PHP (/usr/bin/php).
>> 
>> You need to build it with the PECL that comes with the Solarspeed PHP:
>> 
>> /home/solarspeed/php/bin/pecl install xdebug
>> 
>> Typically the *.so will then also end up in the right place.
>> 
>> -- 
>> With best regards
>> 
>> Michael Stauber
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at mail.blueonyx.it
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> 
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list