We finally got Expression Web 2 installed and working (that is another story). One of the biggest reasons in switching to EW 2 is the ability to handle PHP (though we still do ASP.NET). Installing PHP directions is found in EW 2 help under PHP.
In setting up PHP preview, a few problems surfaced:
- Under Tools > Application Options > General the path to the installed PHP needed to be set.
- All the extensions, such as curl, are disabled by default. You must uncomment them in php.ini
- The default directory for the extensions is “ext” though the default directory is set to “.”. Find “extension_dir” in php.ini and set it to: “./ext”
- If you choose to create a new PHP file it is populated with HTML
As I find other PHP-related problems and observations, I will post them here.
Doug
Tags: Expression Web 2, PHP