Dell XPS 13 9370 (2018) review
I wish to install a PHP parser but the PHP.net website has a confusing choice. Please which do I download?
The choices are:
Complete Source Code
§ PHP 5.1.2 (tar.bz2) [6,172Kb] - 12 Jan 2006
§ PHP 5.1.2 (tar.gz) [7,875Kb] - 12 Jan 2006
§ PHP 5.1.2 zip package [8,926Kb] - 12 Jan 2006
§ Collection of PECL modules for PHP 5.1.2 [1,669Kb] - 12 Jan 2006
§ 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)
Thanks in advance
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
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
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.
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.
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.
Glad that solved the problem. I have found XAMPP to be a really useful find !
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.
Allow from all
# 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.