Website Performance - We can Help - Merkados
Website Design Promo

Install xDebug with your MAMP – Mac OS X 10.6

February 24th, 2011 admin Location: Raleigh, North Carolina

Ok so the very reason why I am writing this post is because I am sure some of you have trouble installing xDebug with MAMP in Mac OS X 10.5 or 10.6. I think the problem is pretty simple, however if you don’t know it, you will scratch your head for hours!
Here it is. The first part of installing xDebug is to get it as an extension for Zend in PHP. So you traditionally would go to the xDebug Wizard and see that it has a nice box where it asks for your phpinfo(); results.

So go ahead and visit the xDebug Wizard first. Then head to your local machine and create a simple php script with the following:

    phpinfo();

2. Ok so now go ahead and save your php script somewhere accessible by your local web server. Now head to your browser and run the script. Select all the output and paste it in the textarea box at the xdebug wizard.

3. Now, xdebug is going to give you tailored instructions on how to proceed from here. HOWEVER, at the end of the instructions you will need to do another step.

4. Head to Komodo IDE’s download page and click on the PHP debugging extension for MAC OS.

5. Once you have the download take the xdebug.so located in the package, and place this into
/Applications/MAMP/Library/share/php/xdebug.so

6. Edit your /Applications/MAMP/conf/php5/php.ini like so:

; xdebug
zend_extension=/Applications/MAMP/Library/share/php/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=

7. Restart your Server and re-run your phpinfo() script.

8. You should now see the extension running properly.

VideoCast: Retrieving IP Addresses with Google Analytics

December 3rd, 2009 admin Location: Raleigh, North Carolina

In this episode Alex Centeno MBA. from Merkados, shows you how to install the necessary code to retrieve the IP addresses of your visitors using Google Analytics.

This online marketing technique can be modified to be used with other scripting languages other than PHP, however, in this case, the languages used are PHP and Javascript. Read the rest of this entry »

Change a background image in CSS with PHP

September 3rd, 2009 admin Location: Raleigh, North Carolina
Protected Content
Register Now
You need to register (FREE) or if you have already registered, be logged in to see this part of the post. Please Login here. If you haven't registered, you may register using the form below:

Thank you for your interest in registering with Merkados' Intermarketing Digital Media Resources & Strategy Information. In order to access some of our premium content and downloads you are required to provide your personal name and valid e-mail account. This information is only used by Merkados to send occasional information about additional digital media products, services and resources that may benefit you. We will never sell or share your information with anybody - ever.

Free - 0.00 USD per 1 month - Ongoing
Free Account - This account grants you access to all of our protected content - only for subscribers. This Free Account is for a limited time only. This account is activated monthly and it will automatically renew (for free) at the end of every month. You may decide to upgrade or cancel at any time.

 

| Lost your password