I have set up PHP 5, Apache 2, and MySQL on a vista pro 64bit machine. I am using the Sams teach yourself text to set up and learn from. When i navigate to localhost and look at a html file, i see a webpage, if i look at a php script, i get nothing, just blank, and i can't even view source. I have checked and re-checked php.iini and httpd, and tried different configs I have found in other posts, nothing seems to be working, I thank you in advance for any help you could offer.
Brand New to PHP Apache, Banging my head against the wall
Collapse
X
-
Tags: None
-
I believe so
I added the line LoadModule php5_module c:/php/php5apache2_2.d ll to httpd and the PHPIniDir "c:/php/ line as well. In add type I added AddType application/x-httpd-php .php .html
I was told that was all I needed to add to get apache to access php, I am most likely wrong.Comment
-
Did you use a package like WAMP?
Install PHP 5 Apache MySQL on Windows : WampServer
It's quick and easy to setup Apache MySQL and PHP on windows box. Also don't forget to start the server/services.niheel @ bytesComment
Comment