Previous Thread
Next Thread
Print Thread
Rate Thread
#77223 10/03/2001 5:05 PM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Read this from my host:


"PHP (officially "PHP: Hypertext Preprocessor") is a server-side HTML-embedded scripting language. It is extemely popular to use with mySQL and other databases. Domain Hosting is currently offering PHP version 3.0.9 and 4.0.3pl1. PHP 4.0.3pl1 is currently installed as a CGI binary, while PHP 3.0.9 is compiled into Apache. Below are the paths to PHP version 4.0.3pl1:

/usr/bin/php4

For backwards compatibility, PHP 3.0.6 is also available in:
/usr/bin/php
And PHP 3.0.9 is also available in:
/usr/local/php/php3.0.9"

So that means I can't use the PHP accelorator thing.. frown

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
i am not sure, but maybe

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
nevermind, i misread cgibinary.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm.. you can use the php part with 4.0.3, you just won't be able to use the zlib compression. I don't understand these companies that use such old software on their web hosting servers. The newer stuff is more stable and less memory intensive.


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Quote
quote:
Yea, they said 8 months ago it was going to become default but noooooooo...

Sponsored Links
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
THe problem is that php4 will only be recognized if you give it a .cgi ending and then put a shebang line to php4 at the top of the file then you can use php4...

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
ya, thats not really helpful for use with the ubb accel.. Maybe a hack could be brewed to use it as a cgi binary?

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Quote
quote:

Well, it would be nice for the time being. I think I need to find a new host because I think they are really screwing me over here. I just asked them about upgrading real soon and waiting for word back.

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Wouldn't hurt to try to use PHP4 and a binary. Probably wont be much effective, but..

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
put a mapping in your .htaccess filoe to map .php to the php4 binary (you'll be able to use zlib if it's installed)

--cal

Sponsored Links
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Quote
quote:
My host sent it to me but I couldn't figure it out. I put it in the main directory .htaccess but t didn't work... Would I put it in the UBB dir?

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
They told me to put this in the .htaccess file:

Code
code:

and this in a file called phpHandler.cgi:

Code
code:


As I said I uploaded it to the main directory to the server and I get this error:

Code
code:

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
It looks as tho I am switching servers... Thanks anyways!


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)