Jump to content

help


Recommended Posts

There is an install.txt file in there that has instructions for just about every possible combination of operating system and web server. The same information can be found in the installation section in the php manual. Find, read, and follow the instructions that apply to your operating system and web server.

Link to comment
Share on other sites

Download the windows binaries zipped package from php.net (not the source code). Extract the contents of the zip to C:/php.  Add the following lines to Apache's httpd.conf:

LoadModule php5_module "C:/php/php5apache2_2.dll";
PHPIniDir "C:/php"
AddType application/x-httpd-php .php

 

Save the httpd.conf. Now go to C:\php and rename a file called php.ini-recommended to php.ini

 

Restart Apache.

 

To test php create a file called phptest.php and place it in C:/Program Files/Apache Foundation/Apache2/htdocs (Note your path to Apache might differ, also delete any existing files within the htdocs folder too) Add the following code in phptest.php:

<?php phpinfo(); ?>

 

Open your web browser and go to the following address http://localhost/phptest.php

 

If your installation of PHP was a success you should get a page full of PHP's current configuration and operating environment.

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.