Ok so I got Apache and MySQL on Windows XP
Now the last step is to install PHP:
I made a C:\php directory
in there i grabbed php.ini and put it on my C:\WINDOWS\
Also I put php5ts.dll in the WINDOWS\SYSTEM\ folder
ok so far so good
Now I went to the Apache httpd.conf file,
There I added
LoadModule php5_module c:/php// php5apache2.dll
at the end of the list that starts like this:
Example:
LoadModule foo_module modules/mod_foo.so
#
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
....and so on until the last one was:
#LoadModule php5_module c:/php// php5apache2.dll
Lastly I put:
AddType application/x-httpd-php .phtml .php in the:
#
AddType allows you to add to or override the MIME configuration
file mime.types for specific file types.
#
#AddType application/x-tar .tgz
#AddType application/x-httpd-php .phtml .php
#
AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
information on the fly. Note: Not all browsers support this.
So now to test it:
Went to my txt editor, added <? phpinfo (); ?> and saved it as phpinfo.php and saved it on the Apache's htdocs file.
I reset the Apache
Now I opened:
http://127.0.0.1/ and is good working APACHE
then:
http://127.0.0.1/phpinfo.php I get a Open/Save File...?????
WHAT's this?!?! If I hit Open it opens DREAMWEAVER and I can see the text/php I made but that's it. Every php opens in dreaweaver and I then changed the php to open in IE but nothing happens. What am I doing wrong????