I want to install and run a pre written program (web-site) that uses PHP. I am new to this and have installed PHP 4 and appache as I have learned to do at "HTML Goodies". My php files don't seem to have associated with any program and I still can't open them. I'm very novice and really frustrated. HELP.
Oct 15, 2002, 5:16 AM
Veteran (19537 posts)
Oct 15, 2002, 5:16 AM
Post #2 of 10
Views: 10553
This should really have gone in the Internet Technologies forum as it does not relate to SQL.
Instead of using HTML Goodies I recommend you read the INSTALL file that comes with php. It tells you pretty much everything you need to know to install php properly with apache.
Are you using windows or linux?
Instead of using HTML Goodies I recommend you read the INSTALL file that comes with php. It tells you pretty much everything you need to know to install php properly with apache.
Are you using windows or linux?
Oct 15, 2002, 5:20 AM
Novice (9 posts)
Oct 15, 2002, 5:20 AM
Post #3 of 10
Views: 10633
Sorry about the mistake but now that I have you!!!!!I'm using windows.
I have used the installation process but Used HTML Goodies as well. The problem I have is the file association. If I've followed the procedure correctly would PHP files show up with an associated program icon. Is this an indication of something.
I have used the installation process but Used HTML Goodies as well. The problem I have is the file association. If I've followed the procedure correctly would PHP files show up with an associated program icon. Is this an indication of something.
Oct 15, 2002, 5:25 AM
Veteran (19537 posts)
Oct 15, 2002, 5:25 AM
Post #4 of 10
Views: 10551
No, they won't show up with an associated file icon.
All you need to do is unzip the php zip file into, say, c:\php and then follow the install file, and specifically:
you should move php4ts.dll to the windows/system (for Windows 9x/Me)
or winnt/system32 (for Windows NT/2000) directory, overwriting any
older file. Then you should add the following two lines to you Apache
conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
Remember to restart the server
All you need to do is unzip the php zip file into, say, c:\php and then follow the install file, and specifically:
Quote:
If you would like to use PHP as a module in Apache, you should move php4ts.dll to the windows/system (for Windows 9x/Me)
or winnt/system32 (for Windows NT/2000) directory, overwriting any
older file. Then you should add the following two lines to you Apache
conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
Remember to restart the server