Re: Question on updating php3 to php4
| From: | Rasmus Lerdorf | Date: | Wed, 18 Oct 2000 17:45:13 +0000 |
| Subject: | Re: Question on updating php3 to php4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20942@lists.php.net to get a copy of this message | ||
> I have a website that uses a lot of php3 code. I wish to upgrade to
> php4. As far as starting point if I just changed the extension to php4
> would they run or am I looking at a rewrite?
You don't need to change the extension. Just configure PHP4 to parse
.php3 files.
ie.
AddType application/x-httpd-php .php3
-Rasmus