Jump to content

PHP not working under Apache


Recommended Posts

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.

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.