• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

PHP-Help?

ConfusedSoul20C

New Member
Alright, I'm running XP Home Edition, and I've installed Apache and PHP and MySQL. I was working on making sure PHP was working right, but I cannot open PHP files in my IE explorer. I have Internet Explorer 6.0?

Does anyone have any idea what could be the problem? I really need the help, I've spent hours trying to figure it out.


Thanks,

Jeff
 
I've tried several different ways. I am trying to access the php page that I stuck inside my server. I downloaded PHP-Nuke and tried opening those but couldn't. I also tried making a new php file and I couldn't access those.

I've tried it through the browse option in internet explorer and I've also tried just going to the location of the file through internet explorer's access bar to get to the url persay. I've even double clicked and nothing. It's just gives me some "you must download this file" crap and I've tried everything on that.....


It just makes me....:doh!: So hopefully that will be more specific to my problem.

So to answer your questions...

I've tried a combined package files and stand alone php files and niether open correctly. So it's mostly when I open aFileName.php

I just can't open php files is what I think it is, and I don't understand why.

That is just one of my several problems.
 
Last edited:
Same Problem

Listen, I hve XP Home Edition and I cant open PHP in IE either, for some reason. Anyway, try publishing it to the web first. Here is a PHP file that I made, with a little help. Of coruse it is in *.TXT
 

Attachments

  • sign-up.txt
    7.1 KB · Views: 23
What happens when you try to open php files? are they blank? or simply don't open?

It sounds like just a configuration problem, perhaps a line in php.ini that you didn't uncomment.

More details would be helpful.
 
sounds like a mime problem

make sure php is set ok


application/x-httpd-php
.php .php4 .php3 .phtml
 
"I'm running XP Home Edition" - that's it - home edition isn't domain aware - network services are limited to simple single machine or small shared - no way to do a web server over IP - it needs at least Pro as the network services ain't in there - but you could try phpdev 'do a google on it' and get the last but one :)
 
Originally posted by Decker
"I'm running XP Home Edition" - that's it - home edition isn't domain aware - network services are limited to simple single machine or small shared - no way to do a web server over IP - it needs at least Pro as the network services ain't in there - but you could try phpdev 'do a google on it' and get the last but one :)
I could be totaly wrong but...

You say Home cant be 'transformed' into a server.
How does kazza/msn/and other work on home then.
You can send/transfer files to others from a home xp.
and a server works the same way, it sends out files

What am i missing? :)


plus, he only mentionned problems with PHP, not his whole setup
 
I have XP home, have PHP running with Xitami running as the server. Works fine.

try 127.0.0.1
 
Thanks

Thanks, I will try several of your suggestions first with making sure I have php set up correctly. I also am having trouble with the server going. It's working so far, I mean I can get to it on my home network from other computers, I just can't get to it from outside my network.
 
Sorry Wojtek sometimes it duffs anything that needs server type access and external to itself so home can be a bind or rather thats the problem :ditsy2: - all the other bits serve rather that be servers - simple file sharing not using system services to handle requests - like kazza/msn/yahoo .... etc


Try phpdev from soundforge for a complete local package for Apache/php/MySQL works a treat and if it's got a prob under that then you know it will have on a server but you can track it down locally and sort it :) plus it's really an 'out of the box' job, as in run the installer and it just works :)
 
i propose this troubleshooting method:
1.try to access localhost or 127.0.0.1
if it fails (no apache welcome page), it means apache is not working correctly

2.try to access http://localhost/yourfolder/whatever.php
if it fails (there is download notice), you should add this to your httpd.conf:
AddType application/x-httpd-php .php #or anything
PS: you have to make sure that PHP module has been added (through statement LoadModule and AddModule)

3.try to access http://localhost/yourfolder/ which contains index.php
if it fails you have to add this to your httpd.conf:
<IfModule mod_dir.c>
DirectoryIndex index.html index.php #add index.php
</IfModule>

4.if it still fails, add this to httpd.conf
Listen 127.0.0.1:80 #or whatever your local ip address is

5.if it still fails, configure your ie
at Tools>Options>Connections>LAN settings>, bypass your IP Address from Proxy by adding 127.0.0.1 at Advanced section

6. if it still fails, i don't know what else to do.. :)
 
Last edited:
Back
Top