[SOLVED] Php install problem

This is a discussion on "[SOLVED] Php install problem" within the PHP Forum section. This forum, and the thread "[SOLVED] Php install problem are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Oct 28th, 2007, 18:39
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Php install problem

Hello!

I am having trouble installing Php, i have set up php many times with no problems. The way i normally set Php up always worked for me in the past, but i recently reformated my PC and am having no end of problems setting Php up.

Basically when i right click on my computer icon, then click advanced, and try to add ;C:\webserver\php to the path of system variables, i do not seem to get any responce in cmd that php is working.

When going into cmd and typing php -v all i get is a messege saying "php is not recognised as internal or external command, operable program or batchfile"

I have set appache\mysql & php up ina folder called webserver located in c drive, so i can use localhost.

I have never had problems setting everythink up using localhost before in this way. Everythink works except Php.

Any suggestions???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Oct 28th, 2007, 19:38
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

why not use xampp it saves all the hassle of setting up each programme individually.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Oct 28th, 2007, 19:47
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Cheers mate!

Am just downloading that now, if i have any problems is it ok if i get back to you?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Oct 28th, 2007, 19:49
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

no problem. if i cant help there are many on here who can.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Oct 28th, 2007, 19:59
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Ok i have installed it and all seems to work just fine apart from apache service failed saying port already in use.

should i uninstall my prevoius apache installation?

Is the xampp htdocs folder now classed as my webserver "if u get me drift"?

Also is php currently installed now i have installed xampp?

Lastly i use sql file for my mysql databases, should i still store them in C drive? or somewere in the xampp folder located in "My documents"?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Oct 28th, 2007, 20:36
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Quote:
Originally Posted by longstand View Post
Ok i have installed it and all seems to work just fine apart from apache service failed saying port already in use.

should i uninstall my prevoius apache installation?

Is the xampp htdocs folder now classed as my webserver "if u get me drift"?

Also is php currently installed now i have installed xampp?

Lastly i use sql file for my mysql databases, should i still store them in C drive? or somewere in the xampp folder located in "My documents"?

I would uninstall your apache.

yes htdocs is now your webserver

yes php is now installed.

if you open the xampp control panel and click on phpmyadmin this will show all available db's and allow you to create or upload one you already have.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Oct 28th, 2007, 20:42
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Quote:
Originally Posted by dab42pat View Post
I would uninstall your apache.

yes htdocs is now your webserver

yes php is now installed.

if you open the xampp control panel and click on phpmyadmin this will show all available db's and allow you to create or upload one you already have.


How do i open Phpmy admin?? I have clicked the explore button on the xampp control panel and found the phpmy admin folder, but i dont understand what to do next..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Oct 28th, 2007, 20:50
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

In the xampp control panel click the apache admin button, this should open up another window wiht various choices. if not let me know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Oct 28th, 2007, 20:53
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

When i click the apache admin button in the control panel its is loading up a webpage, with a list of language choices, i chose English and it just display errors
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Oct 28th, 2007, 21:04
Highly Reputable Member
Join Date: Dec 2006
Location: Norwich
Posts: 721
Blog Entries: 4
Thanks: 6
Thanked 2 Times in 2 Posts
Re: Php install problem

What do they say
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Oct 28th, 2007, 21:06
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

You may have to make a backup of your db's uninstall your apache,mysql and php.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Oct 28th, 2007, 21:20
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Quote:
Originally Posted by dab42pat View Post
You may have to make a backup of your db's uninstall your apache,mysql and php.

Ok i reinstalled xampp and now when i click the admin button the page loads correctly and phpmy admin works just fine, i have loaded one of my sql databases files into php my admin and all querys came back fine!

So now i want to use that database loaded into phpmyadmin with a php file in dreamweaver, normaly when adding a database to a php page in dreamweaver i use the following settings below:

Connection name: Mydatabase

Mysql server: localhost

Username: root

Password: mypassword

Select: Then i just select my database, so what settings should i type when i have loaded my database into php myadmin??

so i open xampp, clicked admin button, selected phpmyadmin, then imported a database into phpmyadmin, now how do i link the database from phpmyadmin to a php file in my dreamweaver site directory, which is now C:\xampp\htdocs\
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old Oct 28th, 2007, 21:41
Highly Reputable Member
Join Date: Dec 2006
Location: Norwich
Posts: 721
Blog Entries: 4
Thanks: 6
Thanked 2 Times in 2 Posts
Re: Php install problem

the same way. With PHP
localhost right
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old Oct 28th, 2007, 21:46
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Quote:
Originally Posted by simonb View Post
the same way. With PHP
localhost right


I have sloved my problem, i didnt have a paswword set in php myadmin, once i input a password in the privleges section of php my admin my database connected to dreamweaver just fine...


Cheers guys...

Lots of rep points for u guys, i will add them now for you both...

Thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old Oct 28th, 2007, 21:52
Highly Reputable Member
Join Date: Dec 2006
Location: Norwich
Posts: 721
Blog Entries: 4
Thanks: 6
Thanked 2 Times in 2 Posts
Re: Php install problem

if you could mark the topic sovled it would be extra brony points. JK
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #16  
Old Oct 28th, 2007, 21:56
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Php install problem

Will do..... Ahhhhhhh dats wot happens wen i crack open a beer, i attend to forget!

Night bud
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #17  
Old Oct 29th, 2007, 05:42
Highly Reputable Member
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] Php install problem

c010depunkk sings praises to XAMPP and CLOSES the thread...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do i install fonts for photoshop? danny322 Graphics and 3D 4 Nov 29th, 2007 14:55
Problem with PHP install – ‘module already loaded’? Tim356 PHP Forum 0 Jan 19th, 2007 02:44
Help! Im trying to install a forum! sammiboy Web Page Design 7 Jan 10th, 2006 00:21
can anyone install PHP for me ash PHP Forum 1 May 29th, 2005 16:28


All times are GMT. The time now is 11:04.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved