PHP problem

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

well, but can i instead install the php4??? And if not, i dont know which instructions to follow, yesterday i found ones but they were very short and i had other issues, so i would rather installl php4, if it works.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

As long as you are not planning on taking advantage of the OOP nature of PHP5 (and some of the other PHP5 features) then sure, install it. In fact, when you are comfortable with it, you can install PHP5 on the same machine and choose which you want to run.
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

dam! i love this forum! answears come in like 10 minutes later
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Thats why we're the best. Stick around a while and you'll really start to like us!

Image
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

oh my god, i have another problem. Now i installed my php.msi file and all and apache doesnt work. It appears a console with this printed:
It is only permited one use of each direction of socket <protocol/net direction/port> :make_sock could not bind to adress 0.0.0.0:80
no listening sockets available, shuting down
Unable to open logs
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

You might have to edit the apache config file.
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

I tryed but in the instruction file there is not much to do, it says that to configure for apache 2 just make sure things have \ instead of / in the adrese
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Did you load apache 2.0 or 2.2.
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

i downloaded 2.0, the one you told me... :!:
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

Well, m apache does start on startup of PC. but i cant run it if i closed it on start up because the past mssage appears (the one i posted up).
I installed PHP5 manually. but still my *.php files wont run, or know which app to use.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

How are you trying to run them? Double clicking them generally isn't set up to process them.

This overall seems like it's too much headache to deal with, so I'll suggest using xampp or one of the other packages that installs MySQL, Apache and PHP at once already set up to work with each other.
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

yeah iam going to do that
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

hahaha, i may look so noob...when i install the xammp pak, and then try to open a php file, it still doens't recognze it
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

How are you trying to open it? It won't run by double clicking. You have to open it through the browser via Apache: http://localhost/some/path/to/a/file.php.
Racoon200
Forum Newbie
Posts: 16
Joined: Fri Oct 06, 2006 9:35 pm

Post by Racoon200 »

And step by step...how do i do dat? is there any instructions included in the software?
Post Reply