|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
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? [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
- 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
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
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.
UBB.threads Developer
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
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.
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
>> 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
You could install the CGI version of PHP4 and that would work.
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
I'll ask them to install the Zend Optimizer as well. I don't suppose there's a cgi version of that is there? [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
That's actually a dynamic module that gets loaded by PHP when it starts up. It's a .so (like a .dll)
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
Don't forget you're speaking to a complete Patzer here! Where would I have to put it if I had to load it locally? [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Any folder you wanted with the correct read/write permissions. And then you'd just set the path to it in the php.ini file. And don't you go to bed? It's 5:15 in the morning here and you're replying to me.....oh wait. I'm replying back to you myself.  Whoops.
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
Hey, that's great. A fellow night-owl? It's 2.15 am here in Sunny Southern California and maybe I'll go to bed soon... [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
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. 
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
Hehe. One of the really nice things about being old is being able to stay up all night if you like - and not have to get up early in the morning. [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: Oct 2000
Posts: 14
Newbie
|
Newbie
Joined: Oct 2000
Posts: 14 |
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.
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|