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 01-02-2013, 06:24 PM   #1
WalkerTR
Confirmed User
 
WalkerTR's Avatar
 
Join Date: Jun 2006
Posts: 1,646
Does your host support mysqli and pdo by default?

How common are mysqli and PDO mysql? Do most hosts have them installed and enabled by default?

I'm learning PHP and I'm writing small scripts. Is it a good idea to use mysqli or pdo mysql in scripts I plan on selling?
__________________

Blog Commenting Ninja: Special offer: $47.
WalkerTR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 07:02 PM   #2
Killswitch
👏 REVOLUTIONARY 👏
 
Killswitch's Avatar
 
Industry Role:
Join Date: Oct 2012
Posts: 2,326
If your host doesn't support mysqli or pdo then leave them immediately.

And yes you should use pdo. Mysqli if pdo is not available.
__________________
Killswitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2013, 07:04 PM   #3
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
Mojo didn't enable them by default, but all it takes is ticket and a few minutes.
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2013, 05:33 AM   #4
BaldBishop
Confirmed User
 
Join Date: Jul 2005
Posts: 2,115
Dreamhost, Hostgator and Servage have PDO.
__________________
BaldBishop is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2013, 06:15 AM   #5
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
It's not default on most hosts,but it is easy to enable it.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2013, 08:05 AM   #6
WalkerTR
Confirmed User
 
WalkerTR's Avatar
 
Join Date: Jun 2006
Posts: 1,646
Thank you. I'm surprised no hosting companies have replied yet.
__________________

Blog Commenting Ninja: Special offer: $47.
WalkerTR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 06:20 AM   #7
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by WalkerTR View Post
Thank you. I'm surprised no hosting companies have replied yet.
Probably because this board is visited by sales reps,not tech people so there is chance how they dont have a clue what is mysqli and pdo
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 11:26 AM   #8
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
PDO and mysqli i believe are both technically add-ons, thus they would not be in a "normal" source build, that being said suhosin is also an add-on but is almost always present.
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 01:17 PM   #9
AndrewX
Confirmed User
 
AndrewX's Avatar
 
Industry Role:
Join Date: Jan 2004
Posts: 574
Both are available on the shared hosting servers and are also included with the default installs on our dedicated servers: http://main.xenlayer.com/phpinfo.php - it's also PHP 5.4 instead of 5.3, which outperforms it in almost every way.

Now on VPS servers we sometimes disable them to save resources. Same goes for Apache, we do custom Nginx configurations on smaller VPS accounts on request.
__________________

█ ► XenLayer - Paravirtualization Professionals since 2008 - [ICQ: 297820698]
█ ► Reseller Hosting | OpenVZ VPS | XEN VPS | Dedicated Servers

Last edited by AndrewX; 01-04-2013 at 01:21 PM..
AndrewX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 02:52 PM   #10
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
Quote:
Originally Posted by KlenTelaris View Post
Probably because this board is visited by sales reps,not tech people so there is chance how they dont have a clue what is mysqli and pdo
My first reaction was: how long until a rep replies that their servers come mysql installed
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 03:45 PM   #11
WalkerTR
Confirmed User
 
WalkerTR's Avatar
 
Join Date: Jun 2006
Posts: 1,646
Quote:
Originally Posted by AndrewX View Post
Both are available on the shared hosting servers and are also included with the default installs on our dedicated servers
Thank you.
__________________

Blog Commenting Ninja: Special offer: $47.
WalkerTR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 03:48 PM   #12
WalkerTR
Confirmed User
 
WalkerTR's Avatar
 
Join Date: Jun 2006
Posts: 1,646
Quote:
Originally Posted by Why View Post
PDO and mysqli i believe are both technically add-ons, thus they would not be in a "normal" source build, that being said suhosin is also an add-on but is almost always present.
Seeing that most php tutorials now mention PDO or mysqli and that those addons are being recommended on PHP boards, I would have expected them to be present on modern systems.
__________________

Blog Commenting Ninja: Special offer: $47.
WalkerTR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 04:25 PM   #13
AndrewX
Confirmed User
 
AndrewX's Avatar
 
Industry Role:
Join Date: Jan 2004
Posts: 574
PDO is not an extension (anymore) like mcrypt or gd, it's enabled by default in PHP now, it's part of the core. I think cPanel is pretty much the only control panel that explicitly disables it by default, but that's easy to change in WHM. People are using it more and more.
__________________

█ ► XenLayer - Paravirtualization Professionals since 2008 - [ICQ: 297820698]
█ ► Reseller Hosting | OpenVZ VPS | XEN VPS | Dedicated Servers

Last edited by AndrewX; 01-04-2013 at 04:31 PM..
AndrewX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 04:41 PM   #14
Killswitch
👏 REVOLUTIONARY 👏
 
Killswitch's Avatar
 
Industry Role:
Join Date: Oct 2012
Posts: 2,326
If your host doesn't allow PDO or MySQLi switch asap.
__________________
Killswitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2013, 07:38 PM   #15
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
it only takes a min or two to adjust the settings
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris 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.