aSystemOverload Posted July 22, 2010 Share Posted July 22, 2010 I'm using Apache 2.2.15, PHP 5.2.13 under Windows XP Just installed apache, then PHP, but can't get apache to recognise the php, it ignores everything between <php and > Any ideas? [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
radar Posted July 22, 2010 Share Posted July 22, 2010 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 Quote Link to comment Share on other sites More sharing options...
aSystemOverload Posted July 22, 2010 Author Share Posted July 22, 2010 LOL... Nahhh, I want to install them separately so i have total control over them (once I get them working) and yes i did mean <?php blah ?> Quote Link to comment Share on other sites More sharing options...
radar Posted July 22, 2010 Share Posted July 22, 2010 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. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 23, 2010 Share Posted July 23, 2010 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. Quote Link to comment Share on other sites More sharing options...
radar Posted July 23, 2010 Share Posted July 23, 2010 Might be outdated but its still useful but i dont use windows servers -- i prefer my *nix type even for development... windows is bad! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.