PHP Install Help Required

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

PHP Install Help Required

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

If you have trouble installing xampp you might want to ask here: http://www.apachefriends.org/f/?language=english
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

I've got XAMPP installed fine it's just PHP I can't get to install correctly.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

xampp includes php.
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

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 »

Done what you said now what do I do?

Sorry
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

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 »

I'm lost what are you on about?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

...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 »

Oh right I got that, so why can't I open php files?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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"?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

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 »

Would this be it: - file:///C:/xampp/htdocs/index.html
Post Reply