PHP is a general-purpose scripting language suited for Web development. The PHP script can be embedded into HTML. This section explains how to install and configure PHP5 in Ubuntu System
Installation
To install PHP5 you can enter the following command in the terminal prompt:
sudo apt-get install php5 libapache2-mod-php5
You can run PHP5 scripts from command line. To run PHP5 scripts from
Yesterday, I came across a library called ming for php which can do wonders while converting videos to .swf (flash), images to .swf and much more. The best thing is that ming provides wrappers in C/C++/PHP/Python/Perl/Tcl etc. So, can be used within any one of these languages. But, the damn thing drove me crazy while installing. It was very tough experience installing it as the available howtos di
Yesterday, I came across a library called ming for php which can do wonders while converting videos to .swf (flash), images to .swf and much more. The best thing is that ming provides wrappers in C/C++/PHP/Python/Perl/Tcl etc. So, can be used within any one of these languages. But, the damn thing drove me crazy while installing. It was very tough experience installing it as the available howtos di
I thought installing PHP would be as easy as just using the install program. Well it wasn’t… But by learning from my mistakes it can be almost that easy.
Notes
This is tested on PHP 5.2.1, IIS6 on Windows Server 2003 SP2. This guide does not cover the initial setup of IIS, or general configuration of Windows Server 2003. It is assumed that you have already successfully installed and configured Windows Server 2003 and setup IIS 6.
1. Download the latest Windows Binaries zip distribution of PHP at http://www.php.net/downloads.php, the installer package won’t work.
Windows Binaries
PHP 5.2.1 zip package
PECL 5.2.1 Win32 binaries
2. Extract the PHP 5.2.1 zip package to C:PHP and extract the PECL 5.2.1 Win32 binaries into C:PHPext, rest of this guide will assume you are using C:PHP. The Pecl contains more extensions.
3. Rename/copy php.ini-recommended to php.ini
In your PHP directory, you’ll find a couple of php.ini-* files. They are pre-configured settings f
I thought installing PHP would be as easy as just using the install program. Well it wasn’t… But by learning from my mistakes it can be almost that easy.
Notes
This is tested on PHP 5.2.1, IIS6 on Windows Server 2003 SP2. This guide does not cover the initial setup of IIS, or general configuration of Windows Server 2003. It is assumed that you have already successfully installed and configured Windows Server 2003 and setup IIS 6.
(more…)
How To, IIS, PHP, TutorialsShare This
I thought installing PHP would be as easy as just using the install program. Well it wasn’t… But by learning from my mistakes it can be almost that easy.
Notes
This is tested on PHP 5.2.1, IIS6 on Windows Server 2003 SP2. This guide does not cover the initial setup of IIS, or general configuration of Windows Server 2003. It is assumed that you have already successfully installed and configured Windows Server 2003 and setup IIS 6.
(more…)
How To, IIS, PHP, TutorialsShare This
This was a little experiment gone somewhat wrong, when I tried to upgrade my VPS to PHP6. I swear it worked, but I should have known that nothing works on it — Wordpress just crapped out a bunch of errors. On a higher note though, it seems to be hella secure as you can no longer use magic quotes or globals, otherwise Apache will fail. So if you really want to be on the bleeding edge, here’s how you install PHP6:
I didn’t really need to install a whole bunch of stuff, but depending on how your webserver is already set up you may need to install extra dependencies, but this will become obvious during the compile.
1) Make sure your autoconf version is up to date with version 2.13 or higher:
autoconf -V
2) Install ICU…you can find your version here.
wget ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz
tar -xzvf icu4c-3_6-src.tgz
cd icu*/source
mkdir /usr/local/icu
./configure --prefix=/usr/local/icu && make && make i