Page 1 of 4
PHP Install Help Required
Posted: Wed Jul 04, 2007 12:15 pm
by JazzyJust
Hi newbie on this site.
I need help installing PHP on my PC and laptop, so that I can redesign 2 websites.
I'm using XAMPP for Apache etc, but I've tried installing PHP.net but it won't connect to the server for some unknown reason it just keeps coming up with error unable to configure, httpd.conf needs to be manually installed, but I don't know how to do that.
Any good advice or help would be appreciated.
Posted: Wed Jul 04, 2007 12:37 pm
by volka
If you have trouble installing xampp you might want to ask here:
http://www.apachefriends.org/f/?language=english
Posted: Wed Jul 04, 2007 1:24 pm
by JazzyJust
I've got XAMPP installed fine it's just PHP I can't get to install correctly.
Posted: Wed Jul 04, 2007 2:02 pm
by volka
xampp includes php.
Posted: Wed Jul 04, 2007 2:12 pm
by JazzyJust
How do I activate it as I can't open any php files?
I'm trying to use e107, phpfusion or Joomla on it.
Posted: Wed Jul 04, 2007 2:28 pm
by volka
open
http://localhost/xampp/ and click phpinfo() in the menu on the left side.
Posted: Wed Jul 04, 2007 2:35 pm
by JazzyJust
Done what you said now what do I do?
Sorry
Posted: Wed Jul 04, 2007 2:40 pm
by feyd
If you get results with PHP stating stuff, PHP's there and working.
Posted: Wed Jul 04, 2007 2:44 pm
by JazzyJust
I'm lost what are you on about?
Posted: Wed Jul 04, 2007 2:48 pm
by feyd
If you see the PHP logo, and/or Zend engine logo and a large amount of information about all the PHP directives, PHP is installed and running just fine.
Posted: Wed Jul 04, 2007 2:57 pm
by volka
...because it's php that prints (most of) this page.
Posted: Wed Jul 04, 2007 3:01 pm
by JazzyJust
Oh right I got that, so why can't I open php files?
Posted: Wed Jul 04, 2007 3:06 pm
by feyd
Find '_SERVER["DOCUMENT_ROOT"]' in the PHP Variables section. It should be the last section. Is this where you've been placing the files you are attempting to "open"?
Posted: Wed Jul 04, 2007 3:17 pm
by volka
and do you "open" the files via
http://localhost/... ?
Posted: Wed Jul 04, 2007 3:17 pm
by JazzyJust
Would this be it: - file:///C:/xampp/htdocs/index.html