I'm new here, and a complete beginner in php home testing. I hope someone can help me. I've spent literally hours trying to find guidance to my problem in the net, without success. Now I have a huge headache. I'm designing pages for a company, using php. And I should finally succeed in setting up a home server. I must be extraordinarily dumb. Please, pretty please, someone, PLEASE help me.
So. I have installed xampplite.
Xampp control panel shows both Apache and Mysql running, happy green boxes.
When I open the htpp://localhost
page, I do see the default page 'congratulations! you have succesfully..." etc.
I have set up site definitions in dreamweaver, correctly as I believe: my site is located in xampplite htdocs -directory, and I have set the testing server to local, using php/mysql, also correctly.
The problem: when I open my php site (lets call it mySite here) index in http://localhost/mySite
, the correct page opens in firefox - but I still see the php scripts on top of my page: none of my php commands work.
When I type http://localhost/xampp/
to the address bar, and then click phpinfo(), I see that configuration file php.ini path reads 'no value'. Ahha, right. If I understand correctly, that may be why my php scripts are not working. When I navigate to my xampplite setup directory, I do find the php.ini file in what I assume to be the correct folder: D:// xampplite/php.ini ( installed xampplite in D:)
Shouls I change the php.ini location, or perhaps the default path, where xampp (or xampplite) is looking for it? How to do this?
I hope this is a really simple question for you guys... I don't mind looking like a fool. After so long time trying to get it working, I already know I am one. So just pleeeeeease help me.
Thanks a million. No, let's make it two.
edit: forgot to add my system info: I'm using windows 7, 64bit. xampplite is in D: directory.