Which PHP parser?

  Awestruck 21:53 07 Apr 2006

I wish to install a PHP parser but the PHP.net website has a confusing choice. Please which do I download?
The choices are:
PHP 5.1.2
Complete Source Code
§ PHP 5.1.2 (tar.bz2) [6,172Kb] - 12 Jan 2006
md5: 79cee17e9db85be878000a2a4198378e
§ PHP 5.1.2 (tar.gz) [7,875Kb] - 12 Jan 2006
md5: b5b6564e8c6a0d5bc1d2b4787480d792
Windows Binaries
§ PHP 5.1.2 zip package [8,926Kb] - 12 Jan 2006
md5: d2c3440e40c697e62a0b6f23514d03dc
§ Collection of PECL modules for PHP 5.1.2 [1,669Kb] - 12 Jan 2006
md5: 09571722fd44bec411a64eca8ca383ae
§ PHP 5.1.2 installer [2,585Kb] - 12 Jan 2006
(CGI only, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
md5: f4e47bda69ddc081fb44068cd9237b85

Thanks in advance

  PurplePenny 14:01 09 Apr 2006

Is this to test PHP scripting locally? Do you already have Apache or IIS?

  jgosden 18:47 09 Apr 2006

You don't want PHP 5 on a live server its not ready for that -- In my opinion.

Get a version of PHP which is much more stable (PHP 4.4.2)

If you just want to play around with PHP on your local pc use click here

xampp is a really good bundle of apache, mysql and php as well as perl etc. Its really easy to get going and i've found it excellent for local testing

  Awestruck 22:19 09 Apr 2006


I would like to test php forms and counters on my own computer before uploading to a host. At the moment I upload to a test website of mine to see if the php files work.

I have Apache installed



  PurplePenny 21:01 10 Apr 2006

You need the zip package listed under Windows Binaries.

Kevin Yank in his excellent "Build your own database driven website using PHP and MYSQL" advises not to use the installer version that is also offered on the PHP downloads.

They have both PHP5 and the last release of PHP4 (4.4.2.) on there.

  splatter 00:29 12 Apr 2006

PHP5 is great for messing with but I always try to use the same version of PHP that my host is using to ensure maximum compatability.

If you use Xampp (as jgosden suggests) then it allows you to switch between version 4 and 5 via and exellent little batch file it comes with.

  beynac 16:32 12 Apr 2006

I just downloaded xampp. I got the zip version (no installer) - very easy to "install" (just extract from the zip - virtually no configuration needed), very easy to get rid (just delete the folder) and seems to work very well.

I've got full versions of Apache and MySQL on my laptop, which I use as a test server at the moment, but Xampp on my main PC is much more convenient - thanks to jgosden for the suggestion.

  jgosden 19:27 12 Apr 2006

Glad that solved the problem. I have found XAMPP to be a really useful find !

  Awestruck 20:55 13 Apr 2006

To Purplepenny
Many thanks, I downloaded the binary version of php as recommended and I now have a Localhost and parser that work well together.

The only php script which will not work is phpinfo.php The code is simple enough <?php phpinfo(); ?> however when I load it, all I get is the code shown in Notepad.

Any suggestions from the forum?

Incidentally I found the configuration instructions for Apache2 and particularly PHP incredibly complex, and sometimes contradictory. I therefore made copies of the installation/configuration files and weeded out everything that did not apply to my versions. I still found contradictions and confusion. In contrast the equivalent instructions for PERL were crystal clear. Anyway, I have a working system now, thanks to you.

Sorry to ask so many questions but would it be acceptable to have two ScriptAliases in the Apache2 http.conf file as listed below. As a precaution I currently have the php version commented out as shown below.
ScriptAlias /cgi-bin/ "C:/Apache2/cgi-bin/"
#ScriptAlias /php/ "C:/php"
# "C:/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "C:/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
#<Directory "C:/php">
# AllowOverride None
# Options None
# Order allow,deny
# Allow from all

Kindest regards from Awestruck

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Dell XPS 13 9370 (2018) review

The art of 'British' pulp fiction

Best password managers for Mac

TV & streaming : comment regarder le Tournoi des Six Nations 2018 ?