Jump to content

PHP Will not load properly, it keeps trying to download instead of display.


Recommended Posts

SORRY FOR THE DOUBLE POSTING. I COULDNT FIGURE OUT HOW TO CHANGE THE TITLE IN THE OTHER ONE SO PLEASE DISCARD THE OTHER ONE..........

Ok heres the problem. Ive got apache and php on my computer, all configured and everything and all of the sudden now when i try to open php files locally on my computer they wont display and they try to download. PLEASE HELP this is urgent and im at a real crunch for time. Thanks.
[!--quoteo(post=354781:date=Mar 13 2006, 10:36 PM:name=charlesdayhoff)--][div class=\'quotetop\']QUOTE(charlesdayhoff @ Mar 13 2006, 10:36 PM) [snapback]354781[/snapback][/div][div class=\'quotemain\'][!--quotec--]
SORRY FOR THE DOUBLE POSTING. I COULDNT FIGURE OUT HOW TO CHANGE THE TITLE IN THE OTHER ONE SO PLEASE DISCARD THE OTHER ONE..........

Ok heres the problem. Ive got apache and php on my computer, all configured and everything and all of the sudden now when i try to open php files locally on my computer they wont display and they try to download. PLEASE HELP this is urgent and im at a real crunch for time. Thanks.
[/quote]


So, how do you know you have it installed properly?

one way to ensure that everything is working fine is by going to [a href=\"http://localhost\" target=\"_blank\"]http://localhost[/a] and it should show you either the package installation or the root folder of your installation. It sounds to me like something went wrong with your installation.

Another thing you can do is re-boot. Maybe that will clear things out.
[!--quoteo(post=354806:date=Mar 14 2006, 08:43 AM:name=txmedic03)--][div class=\'quotetop\']QUOTE(txmedic03 @ Mar 14 2006, 08:43 AM) [snapback]354806[/snapback][/div][div class=\'quotemain\'][!--quotec--]
That depends on if you are using CGI PHP or not, but the question is has it ever worked and have you made any recent changes.
[/quote]

Just click on the apache symbol bottom rigth hand side within the apache dialog box on the bottom what does it say , you should see the apache version and php version also database version.

If the information exists then all is set correctly then its your php.ini file setup.


If you dont see any inforamtion on the apache dialpg box, then the php is not loadded properly then reinstall the php package or goto www.hotscripts.com and look up apache and install a pre perpered package with all the included pakages example. apach,php,mysql,cgi.etc.etc

good luck.




This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.