Given the size of today's hard drives, you can certainly afford the small space WAMPServer takes. You also get PHP debugging and tracing tools built into the distribution Look at it this way, you may never need/want to use Apache, but you may indeed want to work with MySQL databases, and this way it comes along for the ride, preconfigured and ready to roll. You might want double check to make sure that cgi.force_redirect=0 is already set, but other than that, you're good to go. WAMPServer 2.2 has a simple, automated install program, and in my install, at least, everything was preconfigured (a working php.ini file, with cgi.force_redirect already disabled).Īll I had to do was point EW to the PHP executable (C:\wamp\bin\php\php5.3.4\php-cgi.exe by default in the current version) and then in each "Site Settings|Preview" tab check "Use the PHP executable set in the Application Options," and Here's a suggestion, and is what I have done on every machine on which I have installed EW-just install an *AMP stack (includes Apache, MySQL, and PHP, hence the name). Kathleen Wilber BrightWillow - Asp.Net Applications If you see that page, that means you are good to go. You should see a page full of information on your PHP installation. Now create a new php page with just this in it: Make sure Preview Using Website URL is selected,Ĭheck off the box for Use Microsoft Expression Development Server, select For all web pages, and select Use the PHP executable set in the Application Options. Now you need to make sure you are previewing your pages using EW's development server so any php you put in your pages will run: Open your site and go to Site -> Site Settings, Preview tab. > Application Options, in the General tab, and put the Path to PHP Executable in as: C:\PHP\php-cgi.exe You can do it on a site-by-site basis (say, if you were using different versions of PHP for different sites), but generally you want to set it once and apply it to all sites. Now you need to tell EW where your php executable is. You'll find you've already done the first bits, and that it also contains much more information than you need, covering old OSsįollow the instructions to copy either php.ini-production or php.ini-development to php.ini.Įdit that file and change the commented line Open the install.txt file and read the section titled "Chapter 2. Create a PHP folder on your C drive, unzip the download and extract it to C:\PHP, orĮxtract it in place and copy all the files and folders into your PHP folder. The latest versions of PHP don't have an msi installer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |