PHP4 do not have any problem to execute php3 files. The only problem is you need to force PHP4 to understand .php3 file extension as a php script.
Most modern Linux/BSD system comes with PHP4 (and now PHP5). They can execute PHP3 files without any problem.
Open you httpd.conf file and look for PHP4 configuration directive. Once located add following line to it:
AddType application/x-httpd-php .php3
Above line will make your server execute .php3 scripts as PHP scripts. Restart apahce to take effect.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- 10 Greatest Open Source Software Of 2009
- My 10 UNIX Command Line Mistakes
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!
- Email this to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: Mar/31/2006


{ 1 comment… read it below or add one }
Thanks for the tip, it really helped.