Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-08-2001, 05:21 PM   #1
whoreans
Confirmed User
 
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
php4 question

i heard this language is fast but i think its making my server load higher than before!

any one here uses php scripts? or php in your html? anything happened to your server?
whoreans is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 05:39 PM   #2
JackFoley
Confirmed User
 
Join Date: Jul 2001
Location: Pac-land
Posts: 858
Depends on what you use it for. Anything that has to be processed by the server before it gets sent to the browser will increase server load.
JackFoley is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 05:40 PM   #3
Robert
Ask me about negative cash flow
 
Join Date: Feb 2001
Posts: 533
php works perfect here. no problems found.

------------------
Smashing Thumbs TGP
Robert is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 05:51 PM   #4
Fart
Confirmed User
 
Join Date: Feb 2001
Posts: 144
It surely will increase the server load a bit but you could as well say I am just serving static pages because of that.

Php is great, I'd strongly recommend that you start using it. The thing I like most is it is pretty easy to learn, there is no chmod stuff as with perl scripts, and you have all the code right in the html pages, not in separate files distributed all ver the place.

I have almost no page WITHOUT php and can't see a huge difference in server speed. And you always could upgrade the cpu and RAM in case you need it.



------------------
AVS that converts AND sends traffic. Be a good guy and use my link: ProAdult

(Fairly new, so you won't share the link list traffic with 10,000 other webmasters over there :D )
Fart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 09:11 PM   #5
echo465
Confirmed User
 
Join Date: Mar 2001
Location: Indiana
Posts: 265
I like PHP because it works no matter what browser the surfer has. They can disable javascript, but not PHP.

What are you using it for?
echo465 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 10:00 PM   #6
Lane
Will code for food...
 
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
php is cool
a lot better than perl

i heard its even faster than C/Cgi in some cases
Lane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 10:53 PM   #7
FADE19
Snow's Parole Officer
 
Join Date: Sep 2001
Location: mud hut next to Bin Laden's
Posts: 1,161
I come a Microsoft background using ASP/SQL and found that the switch to PHP/MySQL was pretty easy..in alot of cases I like PHP more so. Most of my site is coded in it and more bang for your dollar PHP has ASP beat hands down..thank-god for open source

FADE

oh PS....That there PERL is the Devil's work

------------------
Admin
HTTP://www.itsyourass.com
FADE19 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2001, 11:49 PM   #8
ronnie
Registered User
 
Join Date: Jul 2001
Location: Central IL
Posts: 19
I have nothing but good to say about php. I have done some incredible things with it. Plus like every one says, it is EASY to learn. Have'nt found much I can't do with it. It can also do alot more than serve dynamic code on a html page.

ronnie
ronnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 05:26 AM   #9
Osholio
Confirmed User
 
Join Date: Sep 2001
Location: UK
Posts: 99
Quote:
Originally posted by whoreans:
i heard this language is fast but i think its making my server load higher than before!

any one here uses php scripts? or php in your html? anything happened to your server?
Two things to try, if you haven't already:

Firstly, make sure that the webserver has the Zend Optimizer installed, it makes a noticable difference in speed, get it free from http://www.zend.com

Secondly, to speed things up further, and protect your code from others if you're on a poorly secured virtual host, cough up some cash for Zend Encoder Unlimited ($50 a month as part of the zend developer's suite) and it'll encrypt and run the first couple of optimizer passes on your code, which will also speed things up and reduce the load on your server.

Oh, and this is my first post, be gentle with me
Osholio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 05:33 AM   #10
Nysus
Confirmed User
 
Industry Role:
Join Date: Aug 2001
Posts: 7,817
Tip: Never try to program at 2 AM when plastered. It just doesn't work.

I'd just like to point out, if something is poorly coded whether it be using perl, c/c++, asp*cough-crap-cough*, or php, it will increase the load time. So there is a possibility that you have a script that eats away at the memory. Or maybe your server just has problems with setup/memory leak.

Cheers

Nysus Hosting - Starts @ $1.75/GB - As low as $1.27/GB

icq: 129060301
Nysus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 06:44 AM   #11
FreeOnes
Confirmed User
 
FreeOnes's Avatar
 
Join Date: Jul 2001
Location: The Netherlands
Posts: 3,400
The PHP-mod will double the server load for your httpd connection!!!!!!! Somebody said it's even faster than C++. Well I can tell you it's certainly not. PHP is very popular because it's so easy to learn, but is certainly slow down your server. Perl and C++ rules! If you don't have a high traffic site then PHP could work fine for you.....
FreeOnes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 07:06 AM   #12
whoreans
Confirmed User
 
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
HAHHA! I KNEW IT!

thx
whoreans is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 07:38 AM   #13
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
PHP is not faster than C++, but it sure is better than some other server-side software. It's stable and not very hard to learn. I've been programming pretty much everything in C and C++ 'till I found PHP. PHP has all features that many webmasters are looking for included in it.
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 07:42 AM   #14
Osholio
Confirmed User
 
Join Date: Sep 2001
Location: UK
Posts: 99
The Hun's correct. PHP is slower than C/C++, uses more server resources etc, but it's a shitload faster to get stuff done using PHP.

After all, if you only care about speed you'd be using Tux as your webserver with all static content Memories cheap, and time is too short to worry about coding your CGI app / Apache module from scratch, just do it in PHP and have time left to do the fun things in life, like eat and sleep
Osholio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 07:43 AM   #15
Nysus
Confirmed User
 
Industry Role:
Join Date: Aug 2001
Posts: 7,817
Quote:
Originally posted by The Hun:
PHP is not faster than C++, but it sure is better than some other server-side software. It's stable and not very hard to learn. I've been programming pretty much everything in C and C++ 'till I found PHP. PHP has all features that many webmasters are looking for included in it.
Aw damn -- you code! I was hoping to be able to offer to modify a TGP script I made to test to let you use on The Hun. Offer's still open though.

OH -- and I'd most likely be able to put a stop to all those auto-submitters, if you'd want to. Of course lazy people would hate me then.

Cheers

Nysus Hosting - Starts @ $1.75/GB - As low as $1.27/GB

icq: 129060301

[This message has been edited by Nysus (edited 09-09-2001).]
Nysus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 11:10 AM   #16
Jade
Confirmed User
 
Join Date: Jun 2001
Location: Houston, Texas
Posts: 329
I love php and use it extensively on my site. You can see some good examples of it in use at http://www.i-blowjob.com

Kisses,

Jade
Jade is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 11:29 AM   #17
Phiber
Confirmed User
 
Join Date: May 2001
Location: Sweden
Posts: 137
php is too easy, not realy a sport but then again its the best if you dont use it on really high trafic sites. If you do there are only one option and that is C++

check out http://www.php.net
Phiber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 05:58 PM   #18
TFCash
Confirmed User
 
Industry Role:
Join Date: Apr 2001
Posts: 1,738
Quote:
Originally posted by whoreans:
i heard this language is fast but i think its making my server load higher than before!
Can you give me an example of what you mean by the server load is higher?? I.E. last week before we compiled php into our apache the server load was .07/.08/.08 now it is 1.1/1.1/1.3

Just to let you know my experience with php, it can be much faster than a perl or c++ script depending on what you are doing since php is tied into apache and does not have to create a userspace to run within, so if you are doing lot's of little things with php it will be much faster that a perl / c++ script any day of the week!!! If you are opening up an sql DB and crunching a lot of data then spitting it back out, you might be better off rewriting in C++ to gain some speed and reduce system performance issues. I've written sites that get 50K unq a day that the whole site was pulled from an SQL database and was 100% php and we had no performance issues. A lot of it might be your code!!


Tim
TFCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2001, 06:00 PM   #19
Boneified
Registered User
 
Join Date: Sep 2001
Location: Boneified Land
Posts: 24
There are lots of free scripts and resources on PHP at http://php.resourceindex.com/

Just an extra tip
Boneified is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.