- Open C:\xampp\apache\conf\extra\httpd-xampp.conf file in text editor
- Below LoadModule php5_module modules/php5apache2_2.dll
You can see,
- Replace the above set with the below one,
- Find this set of code,
AddType text/html .php .phps
- Replace the above set with this one,
AddType text/html .php .phps .php5
- Done !!!Share, if it works.
Thursday, November 17, 2011
Running PHP5 in XAMPP - Solved
Similar Problem - I have installed XAMPP on a Windows machine but cannot seem to get my PHP5 extensions working. If I go to a page http://localhost/contact.php everything displays fine but if I change the filename to contact.php5 and then try to browse to http://localhost/contact.php5 all I see is my code. My host requires me to specify the .php5 file extension. I've installed XAMPP Apache server and put my website into htdocs. I've started Apache server. On my website I've got files with extension PHP and with extension PHP5.The difference is that when I type in into browser localhost/file.php - I see a parsed website. But when I type localhost/file.php5 (i have this file on server), than browser asks me if I want to download or open this file. And if I choose open than I see PHP code of file.php5!
If you also have trouble in running php5 files in Xampp. Then this will help you.
Some times when you connect to the webhost via FileZilla you may encounter this error message. "421 Sorry, cleartext sessions are ...
Q: Can I start my own company on oDesk? A: Yes! oDesk allows you to build and manage a team of workers, colleagues and collaborators. Yo...
When adding a fancybox popup you may encounter a common issue, which shows the below error message, while clicking the link. "Th...
Here is the working script for PHP Mailer in GoDaddy Hosting, include("includes/class.phpmailer.php"); date_default_timez...
Use the below code to create a calendar event in PHP and send it as email to Microsoft Outlook or iPhone Calendar. < ?php /** * @cate...
define( 'WPCF7_AUTOP', false ); Add the above tag in wp-config.php file It will remove all the auto-generated p tags from 'C...
If anyone using PostgreSQL may encounter Fatal error: Call to undefined function pg_connect() initially. This is because the PostgreSQL m...
DivX Crawler is the first and most reliable source for Direct Download Movies, Software and Music Videos. Username : divx273 Password : 8...
1. Toggl Toggle is a great time tracking tool that helps you keep track of your time during projects. It is mostly a web app, however it ha...
When we are pulling date from the server having UTC, it may display in local timezone format in Arshaw's Full Calendar . This is due...