944,126 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1962
  • PHP RSS
Aug 28th, 2005
0

PHP Installation Help

Expand Post »
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.
Similar Threads
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
Aug 31st, 2005
0

Re: PHP Installation Help

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!
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
Sep 2nd, 2005
0

Re: PHP Installation Help

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.
Reputation Points: 10
Solved Threads: 7
Posting Whiz in Training
zippee is offline Offline
294 posts
since Jan 2005
Sep 2nd, 2005
0

Re: PHP Installation Help

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

Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ashwinperti is offline Offline
22 posts
since Aug 2005
Sep 2nd, 2005
0

Re: PHP Installation Help

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!
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
Sep 3rd, 2005
0

Re: PHP Installation Help

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.
Reputation Points: 16
Solved Threads: 7
Junior Poster
Lafinboy is offline Offline
166 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: dynamically generated textboxes & radio buttons php, insert into db
Next Thread in PHP Forum Timeline: Ecommerce Store Directory





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC