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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.