Another nube strugaling to get PHP working with Apache.
| From: | Dale Turner | Date: | Sun, 04 Sep 2005 01:03:28 +0000 |
| Subject: | Another nube strugaling to get PHP working with Apache. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221838@lists.php.net to get a copy of this message | ||
I installed apache and it seems to be working.
I installed PHP and ti seems to translate HTML but it dosent seem to understand PHP.
Here is what is did;
I modified the PATH=...... to PATH= .....;C:\php5
i placed the PHP.ini file in the c:\php5 directory
I made three modifacations to html.config
# Set the server name to a local variable server name.
ServerName fugbar:80
# For PHP 5 do something like this:
LoadModule php5_module "c:/php5/php5apache2.dll"
# added the line.
AddType application/x-hpptd-php .php .phtml .html
My browser will find:
http://fugbar/index.html
but will NOT find
http://fugbar/phpinfo.php Unknown file type.
I could sure use some help