Install Curl on PHP5 Webmin + Debian

Submitted by Anonymous (not verified) on Tue, 11/02/2010 - 20:39

I wrote a script for Twitter with Oauth. After running it I got this error:

Fatal error: Call to undefined function curl_init() in /var/public_html/www

Because Curl wasnt install and couldnt find in php.ini file or in webmin navigation functions.

I wanted to install curl for Apache+PHP on my Linux dedicated server with Debian+Webmin.

This code helped me to install curl:

apt-get clean && apt-get update && apt-get install php5-curl

Multiple Virtual Hosts on Localhost of Apache / WAMP

Submitted by Anonymous (not verified) on Sun, 10/24/2010 - 13:58

You want to test multiple domains/sites on your local computer. Each site need to run on root level without urls without subdirectory. You have to create multiple vhosts. For each virtual host creata an entry in windows host file: hosts
Run a text editor as administrator to have right to make changes under windows.

C:\Windows\System32\drivers\etc\hosts :

127.0.0.1       www.mysite1.example
127.0.0.1       www.example.ku

httpd.conf :

NameVirtualHost 127.0.0.1



Black-White theme for Notepad++ (for Programmers)

Submitted by n8coder on Fri, 10/01/2010 - 14:40

If you are a programmer who have to stay long hours against a display, you will need always less light and more constast. This means you need a black background and white font color. To do this you need to create a Nopepad++ theme and install it after each NPP install. Instead of this I add my theme here; you just need to save it in C:\Program Files (x86)\Notepad++\themes\A1_Res_u_Spi.xml and restart/run your NPP as administrator once and in "settings->style configuration" change it to A1_Res_u_Spi.xml. See screenshot/attachment for look of that example.