Author |
|
cicitta86
Joined: 02 Oct 2006 Posts: 7
|
Posted: Mon 02 Oct '06 12:43 Post subject: php scripts don't show on the browser |
|
|
Hello everybody....
I installed Apache 2.2 and php5 and Apache works fine....
i wrote the usual script to test php
but the browser page remains blank....what's the problem??
Thanks to anyone that can help me |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3096 Location: Hilversum, NL, EU
|
Posted: Mon 02 Oct '06 12:56 Post subject: |
|
|
You miss the ";"
Try:
<?php
phpinfo();
?>
Steffen |
|
Back to top |
|
cicitta86
Joined: 02 Oct 2006 Posts: 7
|
Posted: Mon 02 Oct '06 13:00 Post subject: |
|
|
I did but it doesn't work still... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Oct '06 14:38 Post subject: |
|
|
What does the browser output show (source) |
|
Back to top |
|
cicitta86
Joined: 02 Oct 2006 Posts: 7
|
Posted: Mon 02 Oct '06 14:41 Post subject: |
|
|
I did the debugging of httpd.conf and this is what it tells me:
make_sock: could not bind to adress 0.0.0.0:80
no listening sockets available, shutting down
unable to open logs
help please.. |
|
Back to top |
|
cicitta86
Joined: 02 Oct 2006 Posts: 7
|
Posted: Mon 02 Oct '06 14:42 Post subject: |
|
|
The browser doesn't show anything...just a white page |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Oct '06 14:51 Post subject: |
|
|
Quote: |
make_sock: could not bind to adress 0.0.0.0:80
no listening sockets available, shutting down
|
That means. there is a server running on Port 80 like IIS. or a firewall blocks the port.
Quote: |
unable to open logs
|
Are the log writeable? |
|
Back to top |
|
cicitta86
Joined: 02 Oct 2006 Posts: 7
|
Posted: Mon 02 Oct '06 14:56 Post subject: |
|
|
I disactivated Windows Firewall and it tells me the same thing.
Where can I see that the logs are writable or not?thanks |
|
Back to top |
|
cicitta86
Joined: 02 Oct 2006 Posts: 7
|
Posted: Tue 03 Oct '06 11:47 Post subject: |
|
|
I uninstalled and installed everything back again using the apachelounge guide, and it doesn't give me no errors, but I still can't visualize php scripts....anybody has an answer??thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Tue 03 Oct '06 12:37 Post subject: |
|
|
Check you file extension! Windows don't show known file extensions by default. maybe the file is named file.php.txt or something like that |
|
Back to top |
|