PHP not loading
Posted by: sahara2810 (---.hsd1.mn.comcast.net)
Date: March 18, 2008 05:38AM

I have wamp loaded on two laptops. Last school term I did a recipe database which worked fine as of end of January. I am unable to view the webpages on both laptops. I ran the <? phpinfo(); ?> and nothing came out. Am I missing somthing? All servers on wamp say they are running. I did not change any files? Do I need to reinstall wamp or PHP? Any assistance would be appreciated.

Options: ReplyQuote
Re: PHP not loading
Posted by: yfastud (Moderator)
Date: March 18, 2008 05:39AM

Use full tag <?php ... ?> if short_open_tag is not enable in php.ini

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: PHP not loading
Posted by: sahara2810 (---.hsd1.or.comcast.net)
Date: March 18, 2008 05:43AM

Unfortunately that did not work either. All my files had the long tags on them and they are not loading. Is there another way to test if PHP is working? Using the <?php phpinfo(); ?> did not give me any information. Could it be some setting in Wamp?

Options: ReplyQuote
Re: PHP not loading
Posted by: yfastud (Moderator)
Date: March 18, 2008 12:36PM

Can you run a normal html file through localhost? BTW, did you install anysoft recently or anything in this black list: IIS, NOD32, Zone Alarm, ISET, Internet Optimizer, Google Accelerator, so on?

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: PHP not loading
Posted by: sahara2810 (---.hsd1.mn.comcast.net)
Date: March 19, 2008 02:31AM

Ok, when you mentioned viewing an HTML file in localhost, a bell rang in my head. I am viewing the files from my www directory when they load into the browser, but I remembered that somewhere in the URL address it should be localhost/filename. How to I get my files into localhost? I have them in the www directory and did anything ? I am missing a localhost directory?

Options: ReplyQuote
Re: PHP not loading
Posted by: sahara2810 (---.hsd1.or.comcast.net)
Date: March 19, 2008 02:33AM

OK, I'm and idiot, just did the URL correctly www.localhost/myfiles - DUH!!! THanks your local host triggered my memory!!

Options: ReplyQuote
Re: PHP not loading
Posted by: yfastud (Moderator)
Date: March 19, 2008 04:40AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.