Jump to content

php installation on windows.....


Recommended Posts

hello everyone, after installing apache, mysql, and php, I have trouble creating php page to display in the browser correctly, apache is working after going to http://localhost, it displays a page just fine, but when creating php page with regular notepad and put it in the apache directory, the page displays the php code, I did move the .ini file that comes with php to the windows\system32 folder as the installation cd explains. I'm probably missing something any thoughts to what I'm missing?

 

thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/48080-php-installation-on-windows/
Share on other sites

you didn't say vhat is version of Apache, but anyway..

 

you probably miss to add this line in your httpd.conf file

AddType application/x-httpd-php .php

 

and maybe this line too:

LoadModule php5_module "c:/php/php5apache2.dll"

 

// offcourse, if you want to use php as an Apache module insted of CGI..

 

 

all that you can find on: http://www.php.net/manual/en/install.windows.manual.php

 

good luck

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.