Month: April 2014

PHP echo does not work on Server to Test

So you are trying to test a solo PHP script on a webserver and it is not working?

It is not printing anything at all.

Here is a checklist to help you sort it out:

1. Make sure your server supports PHP

2. Make sure the PHP module is enabled

3. Make sure the script filename has no gaps and is named .php

4. If you view source and can see PHP tags you know PHP is not enabled

5. Make sure that the script has closing tags as well:

<?php ....your code.... ?>

6. Try:


Setup the Best Remote Desktop Client Windows to Linux Tutorial Gentoo and Debian

This tutorial will teach you to: Setup the Best Remote Desktop Client Windows to Linux Tutorial Gentoo and Debian.

More elegantly, I will walk you through the process of setting up tightVNC on your windows, debian or gentoo computers and/or servers.
I have chosen tightVNC simply because it is the best I have found and it comes highly recommended: Check tightVNC here. I used this tutorial as a guide for setting up tightVNC on Debian. On Gentoo, as always, it is important to look at the excellent gentoo docs.

Open Source Best Tutorial Remote Desktop
Tight-VNC Logo

emerge --sync
emerge --info
#make sure 'server' is in use flags.
#if not add at: /etc/portage/make.conf
aptitude update

emerge --search tightvnc
emerge net-misc/tightvnc

aptitude install tightvncserver
aptitude install xtightvncviewer

#start and configure password


(kill: pkill Xvnc)

##configure desktop environment
#debian / #gentoo
startkde &

#starting gentoo
/etc/init.d/vnc start

vncviwer server:port

##make start automatically
If there is no script in /etc/init.d you can add the command to launch it in the file /etc/conf.d/local.start
rc-update add vnc default

#debian startup script
find that here

#Downlaod the windows tightvnc client and server
#As with all things windows, very little configuration required

#Set up a dynamic DNS and your port forwarding locally (Rember to check the box for LAN loopback, that was my snare)
#Windows: Start->Programs->TightVNC viewer
#Type in ip and port, type in password -> good to go