:o Hello,
I'm trying to teach myself to code. I am working through a book, attempting set up a AMP dev environment on XP. I have the web server apparently running well but am hitting the wall with my php configuration.
The scripts I have written do not show up in IE at all. I have verified the code is OK by running the same scripts on a server I rent space on that runs php. phpinfo.php returns the expected result.
The install and configuration process I used is as follows:
Downloaded and ran php-5.1.2-installer using standard wizard install.
Changed php.ini-dist to php.ini
Copied php.ini to C:\Windows
Copied php5ts.dll to c:\windows\system32
Updated Apache httpd.conf as follows
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DocumentRoot: The directory out of which you will serve your
documents. By default, all requests are taken from this directory, but
symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/Program Files/Apache Group/Apache2/test" (NOTE: this test folder is part of the book)
Note that from this point forward you must specifically allow
particular features to be enabled - so if something's not working as
you might expect, make sure that you have specifically enabled it
below.
#
#
This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Program Files/Apache Group/Apache2/test">
PHPIniDir "C:/php" (per the install instructions in php)
- Restarted Apache.
I have tried to searchthe forum for help but am finding nothing specific to the pain I'm in.
Please be patient with me guys, :o
Thanks.