Re: Can't find .php3 files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux