On Tuesday 25 March 2008 21:19:01 Michael S wrote: > I have a computer with Windows XP professional but no IIS. > I downloaded Apache Server 2.2 and Php.. > Configuring the httpd to use LoadModule did not work. It kept saying > the file was not found. > I added the code. > > ScriptAlias /php/ "c:/program files/php/" > AddType application/x-httpd-php .php > Action application/x-httpd-php "/php/php.exe" > <Directory "C:/Program Files/php/"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > > Apache started and I can read a html file from LocalHost but php code > does not run. > <HTML> > <BODY> > <?php print('Hello world!\n'): ?> > </BODY> > </HTML>
Hi. For novice user I would recommend WAMP, instead of configuring everything separately. It a user friendly install of everything you need to start to work with the php. I stands for Windows-Apache-MySQL-PHP. So you'll get all of them by entering some important date about the installation and web server and by clicking next-next-next... More info: http://www.wampserver.com/en/ regards mmlado