This section will guide you through downloading and installing the PHP Excel class in Windows XAMPP. Step 1. Go to the official page: http://phpexcel.codeplex.com/ and then click the Download button. Step 2. Go to the folder where the application has been downloaded. (In Windows, this is most likely found in the My Documents à Downloads folder) Step 3. As of the time this tutorial was written (July 2010), the latest version is PHPExcel 1.7.3c. You should see the ZIP file of the application (for example 1.7.3c.zip) in the download folder. You will need to right click on the zip archive and then "Extract to 1.7.3c". The zip application will then extract the entire contents to a folder named 1.7.3c. Step 4. Rename the folder 1.7.3c to phpexcel The folder should contain the contents shown in the screen shot below:
Step 5. Copy the phpexcel folder to your XAMPP htdocs directory. If your XAMPP directory is installed in the root directory of your C: drive, the path to the phpexcel directory will be: C:xampphtdocsphpexcel To see if you have correctly installed XAMPP in htdocs, try entering this path in your web browser: http://localhost/phpexcel/install.txt. You should see the contents of the install.txt file without a 404 or file not found error.
blog comments powered by Disqus |