Jump to content

Recommended Posts

I sure hope you mean <?php and ?> not what you posted.

 

if you're installing them as seperate pieces of 'software' on a windows platform, there is an easier option for you so you don't have to pull your hair out.

 

http://www.apachefriends.org/en/xampp-windows.html will solve all your problems ;)

http://www.php-mysql-tutorial.com/wikis/php-tutorial/installing-php-and-mysql.aspx

 

that little guide right there can walk you through how to setup your php, mysql, and apache correctly to work and run under your windows platform.

That would be useful it didn't use outdated versions of apache, php and mysql.

 

Just installed apache, then PHP, but can't get apache to recognise the php, it ignores everything between <php and >

Just checked your Apaches configuration. You haven't setup your document root correctly. I see this one line 178

DocumentRoot "I:\DATA\CentralStorage\PD004\WEBSERVER\WS002"

 

However you have not reflected this change on line 205

<Directory "I:/APPS/Apache Software Foundation/Apache2.2/htdocs">

Change I:/APPS/Apache Software Foundation/Apache2.2/htdocs to I:\DATA\CentralStorage\PD004\WEBSERVER\WS002

 

Now make sure you restart Apache. This is important when you make any changes to Apaches configuration files. Make sure you are placing your html/php files in I:\DATA\CentralStorage\PD004\WEBSERVER\WS002. Now go to http://your_address_here/filename.php to run your php files.

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.