Re: Newbie Question: Converting PHP3 files to PHP4?

From: Date: Tue, 04 Sep 2001 03:43:33 +0000
Subject: Re: Newbie Question: Converting PHP3 files to PHP4?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65831@lists.php.net to get a copy of this message
Sorry to all who responded already.. I guess some further clarification is needed... opps :) I am NOT running the server. I am using a local ISP (excellent guy but not really accessible on this long weekend), so I have no control over what the server's configuration is (at least until tomorrow). I can certainly pass these notes along to my ISP to get him to do these changes you've suggested, but do I need to change my file extensions.. ie. professionaldevelopment.php3 to professionaldevelopment.php instead.. or am I missing something here. OR is there only a server fix and nothing that I can do at my end as far as code or file name changes? Michelle -----Original Message----- From: Rasmus Lerdorf <rasmus@php.net> To: Michelle Marcicki <michelle@tsiworks.com> Date: Mon, 3 Sep 2001 20:15:30 -0700 (PDT) Subject: Re: [PHP] Newbie Question: Converting PHP3 files to PHP4? > Just configure your server to serve up .php3 files as PHP 4. ie. add this > line to your httpd.conf file: > > AddType application/x-httpd-php .php .php3 > > And get rid of your other AddType line. > > -Rasmus > > On Mon, 3 Sep 2001, Michelle Marcicki wrote: > > > Hi there, > > > > I have recently taken over the webmaster responsibility for an educational > > website. It is using PHP3 and MySQL. We had to move it to a new server, > that > > as it turns out only supports PHP4. I have been looking through all the > FAQs, > > resource sites, manuals and documentation, but all I can find as a solution > is > > to change all my current file extensions .php3 to just .php ! Can anyone > tell > > me if this will work before I start converting probably close to several > hundred > > files?? I am going to change and test some files, but would like some > advice on > > this! > > > > The type of errors that I get with the current file setup are when clicking > on > > any of the links that lead to files in PHP3 are: You have started to > download a > > file of type "application/x-httpd-php3", etc. > > > > Any other tips or info would be appreciated. This is a bit urgent, as I > have > > just found out that the site "director/owner" wants it as functional as > possible > > for the start of school this week... so no pressure really... lol. > > > > Thanks in advance. > > > > Michelle > > > > > > >

« previous php.general (#65831) next »