Jump to content

PHP worked, now 3 months later doesnt?


Recommended Posts

Learning PHP and 3 months ago installed EasyPHP and did some basic webpages. I.E. Hello world, find the circumference of a circle, etc.  They all worked great. I got busy, and three months later returned to my old programs and they don't work on my side anymore? So I tried some generic webpages from the web and they didn't load up the PHP either. I have no idea what would have caused this, have searched for an answer but couldn't find any. Any thoughts of what might have caused my PHP to stop working, and what I could do to fix it?

 

Thanks so much.

 

 

Link to comment
Share on other sites

What happens exactly?  Do the apache error logs say anything?

 

So I tried some generic webpages from the web and they didn't load up the PHP either.

 

Not sure what this means.

Link to comment
Share on other sites

Concerning the question about generic webpages what I meant was things of this nature:

<html>
<head><title>Factorials</title></head>
<body>

<?php
echo "hello word";
?>

</body>
</html>

 

 

Checked the error log and got various errors related to missing favicons, images, things of that nature, but they were all time stamped in the past and weren't related to the current webpage I was running. There were no current errors, nothing... I tried a javascript snippet to see if that worked, and it did, just not php.

Link to comment
Share on other sites

Okay after extensive research and testing I still don't have an answer to my problem, but I think I can ask the question better.

 

I am not having issues viewing php enabled webpages online, it is only when I do a local view that the php doesn't show up. So I would assume that I have installed something incorrectly. I use EasyPHP and uninstalled and reinstalled it. Apache, PHP, PHP administration, and MYSQL were all installed but when I try to view  a webpage in local view it still will not show the php portion of the page. Any ideas?

Link to comment
Share on other sites

  • 2 months later...
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.