PDA

View Full Version : PHP3 or 4?


dzilk
8th of February 2003 (Sat), 18:52
I am a newbie to EE, but want to use it to display my photo gallery. My webhosting service supports both PHP3 and PHP4, but requires that PHP4 files use the extension of php4. My question is, is this a problem for EE. The current files in EE use the .php extension and will be run under PHP3. Will this work?

If this is a problem, can I just rename the files with .php4, or will this cause internal references to break.

Thanks for your help,

David Zilk

Pekka
10th of February 2003 (Mon), 04:12
There is a lot of code like include() which requires a "fixed" filename. To make EE work with .php4 you should do a search and replace for all files in EE (including subfolders) and rename all .php files to .php4.

I do such multifolder search and replace with Homesite 5 (you can get a trial version from http://www.macromedia.com/software/homesite/ ).

dzilk
20th of February 2003 (Thu), 01:44
Thanks for your help. I made the global changes to the php files changing every instance of .php to .php4, and changing the file extensions. Everything seems to be working fine.

Any chance that the file extensions and references in future versions can be changed to .php4?

David