Previous Thread
Next Thread
Print Thread
Rate Thread
#205921 10/28/2000 1:52 PM
Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
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[/]

Sponsored Links
Joined: May 2000
Posts: 125
Member
Member
Offline
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


tym #205923 10/28/2000 2:44 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
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
Offline
Joined: May 1999
Posts: 624
Ah, that's good news. Even if they won't play, I'll be OK. Thanks, Scream.

[]http://www.amdragon.com/images/eileensig.gif[/]

Chris Schreiber #205925 10/28/2000 3:09 PM
Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
Joined: May 1999
Posts: 624
...the persistent orange is here too!

[]http://www.amdragon.com/images/eileensig.gif[/]

Sponsored Links
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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.


tym #205927 10/28/2000 4:44 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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
Offline
Joined: May 1999
Posts: 624
Thanks, If they won't do it, I'll go find the cgi version.

[]http://www.amdragon.com/images/eileensig.gif[/]

Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
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
Offline
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)


Sponsored Links
Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
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
Offline
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. grin Whoops.


Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
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
Offline
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. grin


Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
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
Offline
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: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
Joined: May 1999
Posts: 624
Thanks, Adam. I'll note that for reference.

[]http://www.amdragon.com/images/eileensig.gif[/]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I forgot that one...



Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)