Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Php engine not working using WAMP, DW

Guest
Dec 28, 2009 Dec 28, 2009

I am using CS4 and the most recent version of WAMP... I recently noticed that my php includes were not showing up when I previewed locally.... upon investigating further I have noticed that nothing php is working...

A simple <?php echo 'test' ; ?> reveals a blank screen when tested locally.  In IE8, I get a window popup prompting me to open or save each php document....

WAMP was reinstalled and even DW.... I also got my pages from my remote server (which work perfect) to eliminate accidental coding errors... Still no luck....

To me it seems  like there are some configuration errors with PHP going on somewhere but have no idea where to start since everything has been reinstalled and double checked to be right??? Any help/ideas are GREATLY APPRECIATED!!! my work is on hold until this gets fixed....

TOPICS
Server side applications
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 28, 2009 Dec 28, 2009

I don't use WAMP but it is probably an issue with PHP 5.3.0

In thr php.ini file look for this:

date.timezone =

Add a timezone like this:

date.timezone = America/Chicago

Restart Apache after the change.

Here is a lit of timezones:

http://php.net/manual/en/timezones.php

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 28, 2009 Dec 28, 2009

The date.timezone directive won't prevent PHP pages from displaying. All that will happen is that you'll get warning messages whenever you use a date-related function.

If nothing is displaying, it suggests that WAMP has not been installed correctly, the server is not running, or there's a conflict on port 80. For example, you can't run IIS and Apache at the same time without changing the default port that one of them uses. Also, Skype has been known to use port 80, preventing a web server from working. Another possibility is an incorrect testing server setting in the site definition.

For help troubleshooting WAMP, visit the WAMPServer forum. For help with the testing server definition in Dreamweaver, see this article in the Adobe Developer Connection: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html. It's based on XAMPP and MAMP, but the principle is exactly the same whichever server you're using.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 28, 2009 Dec 28, 2009

ok i will try the wamp forums and let you know what i find out thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 28, 2009 Dec 28, 2009

It was my htaccess file.... I have to add php5 via htaccess for my remote server but since php5 is already installed on my local machine it was screwing everything up.  All is well now.  Thank you for your very speedy response!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 28, 2009 Dec 28, 2009
LATEST

Glad you got it sorted.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines