Archive for the ‘Apache server’ Category
Wednesday, February 1st, 2012
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 [...]
Posted in Apache server, MAC OSx | No Comments »
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 [...]
Posted in Apache server, MAC OSx | 2 Comments »
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 [...]
Posted in Apache server | No Comments »
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 [...]
Posted in Apache server, MAC OSx | 2 Comments »
Thursday, January 5th, 2012
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 [...]
Posted in Apache server, CentOS 5 | No Comments »
Thursday, December 29th, 2011
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. [...]
Posted in Apache server | No Comments »
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 [...]
Posted in Apache server | No Comments »