Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    3

    Default php binary and mysql support?

    Does the php binary come with mySQL support in the default installation. My host is claiming it dosen\'t and are considering charging me for the \'privilage\' of recompiling with mysql. Any ideas?

    Thanks.

  2. #2
    Member
    Join Date
    Aug 2001
    Location
    Brisbane, Australia
    Posts
    211

    Default

    not sure but check out Nick\'s post in http://support.cpanel.net/new/viewthread.php?tid=101
    note: that would only work if your existing php was compiled with --with-apxs and not --with-apache

    check your phpinfo


    [Edited on 10/11/01 by eva2000]

  3. #3
    Member
    Join Date
    Aug 2001
    Location
    Brisbane, Australia
    Posts
    211

    Default

    posted over at VO forums too

    ..well my server came with PHP with mysql support and believe nearly all dedicated servers do... post your phpinfo url

    also have you got the latest cpanel/whm version installed? apparently from http://support.cpanel.net/new/viewthread.php?tid=252 to recompile PHP you run buildapache.sea from layer1.cpanel.net ( i assume that\'s for php compiled --with-apache since you need to recompile apache as well as opposed to --with-apxs which you can recompile php without the need for recompiling apache using Nick\'s script here http://support.cpanel.net/new/viewthread.php?tid=101 )

    shame i don\'t have a spare private server with whm/cpanel installed so i can mess about with everything i figure out all the scripts related to whm/cpanel

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    5

    Default

    put this into a file in your cgi-bin and it should tell you.

    #!/usr/local/cpanel/3rdparty/bin/php
    <?
    phpinfo();
    ?>

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    3

    Default

    Oh my cgi vesion definitely does not have mysql with it. I just wanted to check to see if that was the standard for cgi install. Venturesonline claims that it is and that is why they want to charge me to fix it but i was coming here to check if that is the case and why WHM/Cpanel would not put mysql support into the cgi version.

    [Edited on 10/12/01 by padders]

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    151

    Default

    yes - its deffinately standard practice for the binary of a cpanel php install to have mysql support. the CGI has everything that the module has

    [Edited on 10/12/01 by nbrown]
    Cheers,
    Nicholas Brown

  7. #7
    Member
    Join Date
    Aug 2001
    Location
    Brisbane, Australia
    Posts
    211

    Default

    [quote:2690007870]yes - its deffinately standard practice for the binary of a cpanel php install to have mysql support. the CGI has everything that the module has

    [Edited on 10/12/01 by nbrown] [/quote:2690007870] maybe cpanel team should clearly outline what goes on during and after a whm/cpanel installation? a so called checklist outlining what should be installed after whm/cpanel installation for the end user to compare against so that they can see if whm/cpanel was installed correctly?

    something along the lines,

    \"If whm/cpanel are installed correctly, the following will be installed etc... you can check this by locating such and such in such directory etc etc...? \"

  8. #8
    Registered User
    Join Date
    Oct 2001
    Posts
    3

    Default

    very very good idea eva !

  9. #9
    Registered User
    Join Date
    Aug 2001
    Posts
    2

    Default

    every server that i\'ve come across the cgi php version used mentioned in an earlier post here, which is located @ /usr/local/cpanel/3rdparty/bin/php

    you can login to your server and type php -i to get the output of a phpinfo file , you\'ll see that its php version 4.0.4pl1 without mysql support compiled in.

    The phpinfo file will show php 4.0.6 which is compiled in with apache when we setup the servers.

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    78

    Default

    The PHP binary is usually @ /usr/local/bin/php or /usr/bin/php

    And to compile PHP without mysql you actually have to tell it not too - as mysql is included by default even if you don\'t specify --with-mysql

    It\'s a relatively easy task to install PHP (Binary and Module), the heardest part is getting all the file together that you need.

    [Edited on 10/14/01 by Karl]

  11. #11
    Member
    Join Date
    Aug 2001
    Posts
    151

    Default

    [quote:659a5e2e99]The PHP binary is usually @ /usr/local/bin/php or /usr/bin/php

    And to compile PHP without mysql you actually have to tell it not too - as mysql is included by default even if you don\'t specify --with-mysql

    It\'s a relatively easy task to install PHP (Binary and Module), the heardest part is getting all the file together that you need.

    [Edited on 10/14/01 by Karl] [/quote:659a5e2e99]

    Yep - the last 2 installs of WHM/CP I did recently all had the binary installed by default in /usr/bin/php which was done by cpanel as it wasnt there before I installed it.

    Its been the same on every single server Ive setup.
    Cheers,
    Nicholas Brown

Similar Threads & Tags
Similar threads

  1. Installing SOAP on Cpanel php binary (not with easy apache)
    By touma in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-10-2009, 09:40 PM
  2. Easyapache not building php with mysql support
    By Psychoholic in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-25-2009, 10:58 AM
  3. php 5.2 doesnt support mysql 4.1 - what??
    By tom_taylor in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-02-2007, 12:22 PM
  4. what is the php binary path for a site
    By MaxCrandale in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-01-2004, 03:16 AM
  5. PHP - MySql - Multibyte Character Support
    By blackadder in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-29-2003, 06:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube