I've just discovered the version of php on my (CIHosted) server is PHP 3.0.15. Assuming phpw3t won't run on this should I try and get them to put PHP 4.0.3 on there? Will this have to replace the current 3.0.15 or can they both be there side-by-side? If it replaces 3.0.15 will stuff written for 3 (like phpMyAdmin) not run any more? If I do need it and they won't do it, is there a standalone way I can install it just on my domain?
- You need PHP 4.0.x to run w3threads - Putting PHP 3.x.x and PHP 4.x.x together is not a trivial task. Most of ISP will replace PHP3 by PHP4 - Some PHP3 scripts may need small modifications to be compatible with PHP3. The very last phpMyAdmin is compatible with PHP4.
> If I do need it and they won't do it, is there a standalone way I can install it just on my domain? - Can't give you a sure answer. Sorry
Actually it should work with PHP3. You would just need to turn the option to use sessions off and use cookies instead. I've had a couple people install the snapshot on PHP3 and they only had to make minor changes, but this was due to a few bads on my part which I have since fixed.
You can run PHP4 and PHP3 side by side. There is a section of the manual to make this work. But 99.99999% of stuff that works on PHP3 works on PHP4. phpMyAdmin works just fine in PHP4. I also recommend that after a bit you install Zend Optimizer with PHP4. It helps out.
Yeah and that's after daylight savings. So it was more like 3:15 by you and 6:15 by me but we turned those clocks back (I personally love this one because we gain that extra hour). Hey I'm a college student on the weekend. If I make it back to the dorms by 3-4am then it's an early night.
I'm half asleep, and didn't see anyone address this, so I'll stick a little note here, to hopefully keep you from pulling your hair out if your php scripts don't work. You may need to get your hosting service to add a line in their server.cfg file that looks like this:
AddType application/x-httpd-php .php
in order for your php scripts to be parsed. Most likely, if they are running PHP 3x, then their AddType line is going to look like:
AddType application/x-httpd-php3 .php3
Just have them put the other AddType line right under this one, and you'll be good to go. If they won't do that, then just go thru all the .php scripts, and replace any instance of .php with .php3, and it should work.
Just thought I'd stick in my 2 cents worth.....
...... Forgive me Father, for I know not what I do.