RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1586 | Replies: 5 | Thread Tools  Display Modes
Reply
Join Date: Aug 2004
Location: Los Angeles
Posts: 347
Reputation: Ghost is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Help PHP Installation Help

  #1  
Aug 28th, 2005
Hi Everybody,

I just got a book on PHP, and I'm trying to learn the language. The only problem is, when I make a php test page:
[PHP]<?php
phpinfo();
?>[/PHP],
it doesn't work. As a matter of fact, no php pages work (unless the pages are online.) I installed PHP and added

LoadModule php5_module c:/php5/php5apache2.dll
and
AddType application/x-http-php .php .phtml .html
into
httpd.conf

I also renamed php.ini-recomended to php.ini and copied it into my windows directory. I also copied php5ts.dll in my windows/system and windows/system32 folder.

Thanks in advanced for your help.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2004
Location: Los Angeles
Posts: 347
Reputation: Ghost is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Solution Re: PHP Installation Help

  #2  
Aug 31st, 2005
Hi Everyone,

I don't mean to sound pushy, but I really want to start learning PHP. Any help would be greatly appreciated.

Thanks in advanced for all your help!
Reply With Quote  
Join Date: Jan 2005
Location: Sheffield, UK
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: PHP Installation Help

  #3  
Sep 2nd, 2005
It would be easier to use external hosting than insatlling php own your machine. There is a number of free php hosting sites with mysql database connection. If you really want to run on your own machine...
1. install apache server (available in both windows and linux versions)
2. install php
3. install phpMyAdmin (optional but useful)
...before you can get started. All the best.
Ecommerce-Web-Store.com Building Your e-Business.
Reply With Quote  
Join Date: Aug 2005
Posts: 22
Reputation: ashwinperti is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
ashwinperti ashwinperti is offline Offline
Newbie Poster

Re: PHP Installation Help

  #4  
Sep 2nd, 2005
Hello EveryBody

Yesterday I used my MySqlAdmin and it worked fine. But today it dosen't can anyone tell why this is happening.

Ashwin Perti

Originally Posted by zippee
It would be easier to use external hosting than insatlling php own your machine. There is a number of free php hosting sites with mysql database connection. If you really want to run on your own machine...
1. install apache server (available in both windows and linux versions)
2. install php
3. install phpMyAdmin (optional but useful)
...before you can get started. All the best.
Reply With Quote  
Join Date: Aug 2004
Location: Los Angeles
Posts: 347
Reputation: Ghost is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Re: PHP Installation Help

  #5  
Sep 2nd, 2005
Hi,

Thanks for your help. Somehow, I got PHP working. Now I need help with MySQL. I think I installed it correctly. I just don't know how to configure it so I can use it. First, how does it know what website you're referring to when you enter a command? Also, it says "No Database Selected" when I try to enter a command. How do you make a database (or select one)?

Once again, thanks in advanced for your help!
Reply With Quote  
Join Date: Jul 2004
Location: Sydney, Australia
Posts: 166
Reputation: Lafinboy is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 7
Lafinboy's Avatar
Lafinboy Lafinboy is offline Offline
Junior Poster

Re: PHP Installation Help

  #6  
Sep 3rd, 2005
If you are having trouble with MySQL running from the command line I would suggest you download and instal phpMyAdmin, which is a graphical inteface for working with MySQL. It makes life a lot easier when you're starting out as you don't need to learn how to use commands to do everything.
For future reference, it would help to know your OS and versions when asking about installation and set up issues.
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.

Lafinboy Productions
:: Website Design :: Website Development ::

Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:41 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC