Most Rated Articles

Installing Apache and Apache Modules the easy way

The Essential steps on how to Sysprep Windows 7

SSH is very much similar to telnet. SSH is a shell program which allows a user remote access and the ability to execute commands over a network.

It is important to protect your wireless networks from unwanted and abusive users. Unauthorized users may reduce the bandwidth and may lock up your network

There are many methods on how to optimize apache. It could be on the software side, but upgrading the hardware also makes a difference.

With Windows 7 as a new OS in the market, one may worry about any problems that could be encountered especially network issues such as compatibility with older OS. Windows 7 might encounter problems communicating with older Windows models such as XP. The following are ways on how to network Windows 7 and XP.

One way of installing windows over the network is through the use of RIS or Remote Installation Services. However, you must have the following prerequisites in order to install Windows over the network.

Installing a printer on a mac is just as easy as installing a printer on an OS of Windows. The following steps are just some of the steps on how to connect your printer a Mac operating system.

Nowadays, it is important to have access to Wi-Fi. However, not everyone has their own internet connection so most people leech wherever there is free Wi-Fi. Most routers with Wi-Fi access require passwords but nowadays, there are other places to look around and search for free Wi-Fi.

Some applications cannot install in Windows 7 due to incompatibility issues. A solution would be to enable XP mode in a virtual environment of Windows 7. This configuration may be used to run and install programs that were incompatible in Windows 7.

Linux  »  PHP
 Picture

How to test if PHP is working correctly

By: Jerry Slagger
Date Added : June 26, 2009 Views : 2322



From installing, upgrading, to trouble shooting, there will come a time in every server administrators life when they need to test PHP to assure it is working correctly. Here are some quick ways you can test PHP a linux web server.

How to test with phpinfo:


PHPInfo is a built in function of PHP that allows you to easily review just about every aspect of how PHP is setup. From what options it was compiled with to what version of Zend is running, phpinfo is an awesome tool for any web server administrator.

1. Create a new web page under your websites root directory called phpinfo.php.

2. Edit the file, add the following PHP code, and then save the changes.

phpinfo();

3. Open the phpinfo.php page in your web browser.

http://Your-Domain/phpinfo.php

This should display the phpinfo detail and will tell you just about everything and anything you could want to know about PHP running on your server.

How to test PHP from the bash shell prompt:


If you have console or ssh access to your web server you can quickly verify that PHP is installed and works by check the version information. This will let you know that PHP is installed, works, and will give you detailed information about the version of PHP that is running on the server.

1. Login to your web server's bash shell and enter the following. Note that you may have to su to root.
# php --version

This will output something simular to:
# php --version
PHP 5.2.9 (cli) (built: Mar 10 2009 16:30:52)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies




Article Categories