I can't get Apache and PHP work it right

United States
December 14, 2010 3:25pm CST
This question is more related to programming, and I just can't set up them right. I want to learn more about Apache, PHP and MySql, but the problem is, I can't configure them right yet as the first step. I installed Apache 2.2 successfully in my Windows 7, and I also follow the exact instruction I found on the web to configure Apache with PHP. But I still can't them work together. I just really don't know what had went wrong. For instance, the instruction taught me to set the default access folder where I want the html file or php files to stored in. I set up document root "C:/websites". It just automatically go back to the Apache folder on htdocs. I can't also load the php file which is for php information. Is it because I have Windows 7 with 64x, while Apache and PHP are both designed for 32x? Can anyone help here? I am scratching my head here.
1 response
@lovedude (4447)
• India
15 Dec 10
Which apache server are you using? Go for wamp.. you can download from http://www.wampserver.com/en/download.php I had installed it in Vista x64 so I guess it should work with Win7 too.. It may be x32 be the issue but not it's only issue.. you reinstall wamp.. you just need to start services from services.msc or from task bar..
• United States
15 Dec 10
I tried the 32 bit computer last night, I still have problem get apache and PHP connected right. I got the apache set up right the beginning, and configure the files. When it comes to PHP, it just can't get the php extension file to display on the web browser. I don't know what went wrong. I followed the exact instruction.