Jump to content

Recommended Posts

I've tried this a few times now and can't seem to get this to work. I installed Apache 2.2 and then installed PHP 5. In the installation process of PHP it asked  me which web server i want to configure php for so i choose Apache 2.2 and the instalation finished. The httpd.conf file for appache was altered like this

 

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 

Also ive tried to manually configure the Using the directions PHP gives but that doesnt seem to work either.

 

I'm using a program called ConTEXT to write my php files.

 

I create a new doccument and i copy pasted the code form this tutorial into the text editor

 

<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>

 

Then i save the file as Test.php into the apache htdocs.

 

When i open localhost/test.php

 

all i get is a blank page.

 

Can someone tell me why?

 

Where should i add that? I put it in with the other php information like this

 

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 

When i stop Apache it crashes but it still turns off. When i start apache again it seems ok. So i go to the my localhost/Home.php and it still is a blank page.

Check your web server error log to see what it might have concerning your problem.

 

The .msi php installer is bad news. Everyone who has attempted to use it has issues. There are many threads on this forum in the php installation and WAMP sections that contain working instructions on how to install php manually from the full .zip package.

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.