Skip to main content
December 28, 2009
Question

Php engine not working using WAMP, DW

  • December 28, 2009
  • 2 replies
  • 1038 views

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....

This topic has been closed for replies.

2 replies

December 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!!

David_Powers
Inspiring
December 28, 2009

Glad you got it sorted.


Ken_Ford_-_ACP-QFo4AB
Inspiring
December 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

David_Powers
Inspiring
December 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.

December 28, 2009

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