Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 12:15 pm
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.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 1:24 pm
I've got XAMPP installed fine it's just PHP I can't get to install correctly.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Jul 04, 2007 2:02 pm
xampp includes php.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 2:12 pm
How do I activate it as I can't open any php files?
I'm trying to use e107, phpfusion or Joomla on it.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Jul 04, 2007 2:28 pm
open
http://localhost/xampp/ and click phpinfo() in the menu on the left side.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 2:35 pm
Done what you said now what do I do?
Sorry
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Jul 04, 2007 2:40 pm
If you get results with PHP stating stuff, PHP's there and working.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 2:44 pm
I'm lost what are you on about?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Jul 04, 2007 2:48 pm
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.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Jul 04, 2007 2:57 pm
...because it's php that prints (most of) this page.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 3:01 pm
Oh right I got that, so why can't I open php files?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Jul 04, 2007 3:06 pm
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"?
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Jul 04, 2007 3:17 pm
and do you "open" the files via
http://localhost/ ... ?
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Wed Jul 04, 2007 3:17 pm
Would this be it: - file:///C:/xampp/htdocs/index.html