Archive for the ‘Apache server’ Category

How to set up Xdebug with webgrind for PHP Performance Profiling on Mac OS X 10.5 (Leopard)

Wednesday, February 1st, 2012
How to set up Xdebug with webgrind for PHP Performance Profiling on Mac OS X 10.5 (Leopard)

This is a straightforward guide on how to setup and use Xdebug 2.0.4 with webgrind 1.0 for PHP Performance Profiling on Mac OS X 10.5 (Leopard). Xdebug is a powerful debugging and profiling tool for PHP. While, webgrind is a web-based alternative to kCacheGrind, which allows you to see bottlenecks in your code represented by [...]

How to set up virtual hosts on Mac OS X 10.5 (Leopard)

Wednesday, February 1st, 2012

This is a simple guide on how to setup name-based virtual hosts in Apache on Mac OS X 10.5 (Leopard). This tutorial is intended as a supplement to my article, How to setup Apache, PHP, & MySQL on Mac OS X 10.5 (Leopard). What are virtual hosts used for? In the case of this tutorial [...]

How to set up virtual hosts in the MAMP environment

Wednesday, February 1st, 2012

I don’t personally use the MAMP application nor do I condone its use. However, a reader posted a comment asking how to setup virtual hosts within MAMP. So here you go: A simple guide on how to setup named-based virtual hosts in the MAMP environment. If you want what’s in my opinion a more stable [...]

How to set up Apache, PHP, & MySQL on Mac OS X 10.6 Snow Leopard

Wednesday, February 1st, 2012

This is a tutorial on how to setup Apache 2.2, PHP 5.3, and MySQL 5.5 on Mac OS X 10.6 Snow Leopard. Tomorrow, I’ll be starting my first day at BetterWorks and figured this tutorial would be a good reference for when I have to set up my development environment. While I’m a big fan [...]

NameVirtualHost + Multiple domain on centos

Thursday, January 5th, 2012
NameVirtualHost + Multiple domain on centos

It’s the example to configure virtual hostings. Following example is done as domain name[topupdeals.com (root directory[/var/www/html])], Virtual domain name[marketing.dvtrust.com (root directory[/home/www/public_html])]. Before doing it, it’s necessarry to add new doman name in your DNS first. [1] Configure httpd for Virtual Hostings [root@www ~]# vi /etc/httpd/conf/httpd.conf # line 972: uncomment NameVirtualHost *:80 # at the last [...]

Enabling CURL on Windows+PHP+Apache Machine!

Thursday, December 29th, 2011
Enabling CURL on Windows+PHP+Apache Machine!

If you are planning to use CURL library on PHP then you may encounter an error like below. Fatal error: Call to undefined function curl_init() in F:\proj\orkutfeeds\trunk\index.php on line 15 Curl is by default not enabled on PHP on Windows although it is there. So to enable this go through following steps… Locate php.ini file. [...]

Setting up SMTP for apache on WindowsXP

Thursday, December 29th, 2011

I am having great difficulty getting my SMTP set up… this is probably more a apache/php problem more than anything but I assume people have solved this problem on this site. I know that in my php.inf file I need to alter the following lines: [mail function] ; For Win32 only. SMTP = smtp.gmail.com smtp_port [...]