Re: Can't find .php3 files

From: Date: Tue, 08 Jan 2008 23:33:39 +0000
Subject: Re: Can't find .php3 files
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-266942@lists.php.net to get a copy of this message
Chris wrote:
I think you misunderstood. I have lots of file with things like require "admin.php3" But there is no admin.php3 anywhere. There is however a file admin.php. Since this works on the old server then something on that system is translating a request for a .php3 file to .php I'm guessing. Apache or php but I don't know which.
It will be apache. It will have the handler I mentioned before: AddType application/x-httpd-php .php3 Add that in (with an appropriate comment) to your new config and restart apache. Voila! Look at my last email. I said
Both systems have the AddType application/x-httpd-php .php3 Line in their configuration. And the new one has been restarted more than once. In fact that line was in there from the start, I didn't add it. I'll have to look to see what config file it's in to be sure it's included. Thanks, Jim.

« previous php.general (#266942) next »