If you are planing PHP upgrade on your server have in mind that the 5.3.0 version has a bug which was fixed in 5.3.1. If your websites requires register_globals set to On you will have troubles. If there is no php 5.3.1 package available in your distribution repositority try to find it elsewhere or wait a while until it’s compiled for your distro.
Tag: PHP
PHP 5.2.9
PHP is a server side scripting language that can run on various platforms. It is the most popular language for developing dynamic websites and web based software and applications. The combination PHP + MySQL is almost legendary among the web developers all over the world and is used as a basis for a huge number […]
PHP MySQL connection simple script
Before you can access and work with data in a database, you must create a connection to the database. In PHP, this is done with the mysql_connect() function. Syntax mysql_connect(servername,username,password); Parameter Description servername Optional. Specifies the server to connect to. Default value is “localhost:3306” username Optional. Specifies the username to log in with. Default […]
Installing Apache and mod_fastcgi and php 4.x
This will show you how to install apache + mod_fastcgi + php 4.x on Nix system. #to unify the process and to make first a test that all will work fine we will install these first in /opt directory mkdir /opt/apache # we will create a source directory where we will download the apache source […]
Howto see the PHP information
In order to see how is the PHP compiled and set on the server you can create a simple script. The first step is to create the script. You can create an empty file name phpinfo.php and put the following content into it: Code: <?php phpinfo(); ?> Once you put this into the file you […]