Hello all,
I have installed php on my system version php-4.3.2-Win32 apache has already been installed and is working i tested it by goin doin a http://localhost , works fine ...... All of the following have been done also I coppied php4ts.dll and php.ini to my WINNT folder..
Edited the php.ini file to change the extension_dir to point to the extension folder and also changed doc_root to point to the htdocs folder on apache..
now do I need to edit or uncomment any extension=php_*.dll files ? because i tried a test page by using <? phpinfo ( ) ?> i edited notepad then saved the file in C:\program Files\Apache Group\Apache\htdocs folder then after i ran a test again by typing http://localhost/test.php...
When i hit go on the browser i get a File Download Box saying that I have chosen to download a file from this location...... test.php from localhost...
did i miss something? is there no space between the two brackets or something?
Testing my php
Moderator: General Moderators
You sure did.
If you are getting a 'save' option, it means the server doesn't know what the hell to do with a php file. The lines above tell it why you loaded all those dlls
Code: Select all
AddType application/x-httpd-php .php3
# And for PHP 4.x, use:
AddType application/x-httpd-php .php-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
...
And you must restart apache after editing the httpd.conf file.