Forum Moderators: coopster
Is there such a piece of software, possibly easy to install? I'm not too familiar with servers.
Pardon the drama but having paid a quick visit to firepages they are quite a few ticks behind the curve.
For a start their "latest news" page is dated December 2002. Their "phpdev423 (upgrade at last) [21-10-2002]" contains PHP 4.2.3 which is bug ridden. At least with respect to using getimagesize which returns empty width and height attributes (meaning you don't get to see the image even though it downloads).
Better go to EasyPHP, LAMP or one of the other distributions. The current version of EasyPHP offers PHP 4.3.3, mySQL 4.0.15, Apache 1.3.27 and phpmyadmin 2.5.3 which is as about current as one needs to get at this time of writing.
I recommend either WebServ which you can find via SourceForge, which is an all in one instlaller like PHPDev was.
Or give DeveloperSide.Net a looksee. They've got everything Pre-Bundled with very explicit, yet simple, instructions to install each service on your windows platform. Which I recommend, because it's a simple learning curve for you, and helps you to better understand what you are doing for later reference when you wish to make changes. They also provide step by step instructions for each service individually as well, which makes it simpler when you wish to upgrade just one service (php, perl, apache, mysql, analog etc...)
I was going to suggest that you *don't* use one of the quick installs. I would think going through the install step-by-step would give you a better sense of how it all fits together and more options for customization (though I don't know, since I've never used the installer packages).
One word of caution, though. Don't get too upgrade crazy. I could be way outdated, but Apache 2 and PHP still don't play that well together (at least the PHP 4.3.3 install file still has a warning to this effect) and most hosts that you would go to will probably be offering some configuration like
PHP 4.3.4 or perhaps still 4.3.3 since .4 is really new
Apache 1.3.29
MySQL 3.23.59
Ideally, you would want to have your local configuration as close as possible to the one (or ones) that you will be using for live sites.
When you have it all up and running, you should build your first PHP page. It should be exactly three lines long and these are the three lines (only material between the ----- goes in the actual file).
file: info.php
--------------
<?
phpinfo();
?>
----------
Put this in your web root and go to your browser and type in
[localhost...]
This will give you enough information about your install that it will likely take you months before you know what it all means ;-)
Have fun.
I just installed WAMP using Apache 1.3.26 and my httpd.conf looks like this:
# Document types.
#
<IfModule mod_mime.c>
.
.
# To use server-parsed HTML files
#
#AddType text/html .shtml
#AddHandler server-parsed .shtml
.
.
</IfModule>
I'm not sure which version of Apache you're using, but from my recollection of having installed Apache <= 1.3.26 the syntax has remained the same. Which would mean that you just have to uncomment the 'AddType' line and add the 'AddHandler' line if it doesn't already exist somewhere within the 'mod_mime.c' module definition section of your config. Unless you're using Apache >=2.x in which case I could be way off base as I haven't looked at the default httpd.conf for those versions. HTH.