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



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

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 28th, 2007, 18:39
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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???

  #2 (permalink)  
Old Oct 28th, 2007, 19:38
SuperMember

SuperMember
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.
  #3 (permalink)  
Old Oct 28th, 2007, 19:47
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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?
  #4 (permalink)  
Old Oct 28th, 2007, 19:49
SuperMember

SuperMember
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.
  #5 (permalink)  
Old Oct 28th, 2007, 19:59
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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"?

  #6 (permalink)  
Old Oct 28th, 2007, 20:36
SuperMember

SuperMember
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.
  #7 (permalink)  
Old Oct 28th, 2007, 20:42
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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..
  #8 (permalink)  
Old Oct 28th, 2007, 20:50
SuperMember

SuperMember
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.
  #9 (permalink)  
Old Oct 28th, 2007, 20:53
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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
  #10 (permalink)  
Old Oct 28th, 2007, 21:04
simonb's Avatar
Blog Moderator

Join Date: Dec 2006
Location: Norwich
Posts: 675
Blog Entries: 4
Thanks: 4
Thanked 2 Times in 2 Posts
Send a message via Skype™ to simonb
Re: Php install problem

What do they say
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
  #11 (permalink)  
Old Oct 28th, 2007, 21:06
SuperMember

SuperMember
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.
  #12 (permalink)  
Old Oct 28th, 2007, 21:20
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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\
  #13 (permalink)  
Old Oct 28th, 2007, 21:41
simonb's Avatar
Blog Moderator

Join Date: Dec 2006
Location: Norwich
Posts: 675
Blog Entries: 4
Thanks: 4
Thanked 2 Times in 2 Posts
Send a message via Skype™ to simonb
Re: Php install problem

the same way. With PHP
localhost right
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
  #14 (permalink)  
Old Oct 28th, 2007, 21:46
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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
  #15 (permalink)  
Old Oct 28th, 2007, 21:52
simonb's Avatar
Blog Moderator

Join Date: Dec 2006
Location: Norwich
Posts: 675
Blog Entries: 4
Thanks: 4
Thanked 2 Times in 2 Posts
Send a message via Skype™ to simonb
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)
  #16 (permalink)  
Old Oct 28th, 2007, 21:56
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 216
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
  #17 (permalink)  
Old Oct 29th, 2007, 05:42
c010depunkk's Avatar
SuperMember

SuperMember
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to c010depunkk
Re: [SOLVED] Php install problem

c010depunkk sings praises to XAMPP and CLOSES the thread...
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 02:09.


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43