Copy link to clipboard
Copied
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....
Copy link to clipboard
Copied
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/ChicagoRestart Apache after the change.
Here is a lit of timezones:
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
ok i will try the wamp forums and let you know what i find out thanks
Copy link to clipboard
Copied
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!!
Copy link to clipboard
Copied
Glad you got it sorted.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now