1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP & MYSQL problem help please

Discussion in 'Plesk for Linux - 8.x and Older' started by rnccen, Apr 9, 2005.

  1. rnccen

    rnccen Guest

    0
     
    Hi there,

    I used the PSA autoupdater to update the base package of plesk to 7.5, now I get an error with php saying it can't connect to mysql.

    Fatal error: Call to undefined function: mysql_connect()

    I submitted a trouble ticket and the response was that I need to compile php with mysql.

    How do I do it? I assumed it would be done automatically with PSA's autoupdater

    Any help or guidance would be appreciated.
     
  2. poke

    poke Guest

    0
     
    well plesk support sux.....

    Try taking a look at atomicrocketturtle.com.....You can find many psa friendly rpms. I'm really not sure what your are asking for; please provide more information.

    -poke
     
  3. rnccen

    rnccen Guest

    0
     
    OK I got MySQL working now I have a curl issue...curl is on the server but it is not compiled with PHP....it does not show on phpinfo.php

    How to I compile php with curl since I used ART's rpm
     
  4. poke

    poke Guest

    0
     
    hmm... I though curl would be compiled with the correct server release rpm(s) from A.R.T.

    Did you use yum/up2date or manual rpm install?

    Anyone else out there have any idea?

    -poke
     
  5. rnccen

    rnccen Guest

    0
     
    I did Yum update using ART"s repositories....
     
  6. TheMatrix

    TheMatrix Guest

    0
     
    I'm not a Plesk expert, but I think if you download PHP, compile it with curl support, then overwrite your existing libphp4.so you'll be fine.

    TM
     
  7. rnccen

    rnccen Guest

    0
     
    Can someone list the steps please
     
  8. BlueChaoz

    BlueChaoz Guest

    0
     
    Hello Guys,

    i have a Webserver with plesk 7.5, everything is working fine but my PSA changes my PHP Update every night.

    If i Update my PHP to 4.3.11 it works very well but after the night Plesk set PHP back to 4.3.4 and that SUX!

    Do you have an idea to solve this problem?

    I have no ideas,

    Greetings from germany

    BlueCHaoz
     
  9. rnccen

    rnccen Guest

    0
     
    I give up...I'll pay someone to install / compile php w/curl

    send me a message
     
  10. worker

    worker Guest

    0
     
    did you try this?
    # yum update php-curl
     
  11. rnccen

    rnccen Guest

    0
     
    Nope but I will try now


    [root@sub /]# yum update php-curl
    Gathering package information from servers
    Getting headers from: Atomic Rocket Turtle - 7.3 - Atomic PSA-Compatible RPMS
    Getting headers from: Atomic Rocket Turtle - 7.3 - Base OS RPMS mirror
    Getting headers from: Atomic Rocket Turtle - 7.3 - SW-Soft PSA 7.5 RPMS
    Getting headers from: Atomic Rocket Turtle - 7.3 - OS Update RPMS mirror
    Finding updated packages
    Downloading needed headers
    No Packages Available for Update
    No actions to take


    Man....I give up....anyone know how to upgrade RH7.3 to RHE3
     
  12. worker

    worker Guest

    0
     
    You should check that you have it atleast:
    # rpm -q php-curl
    # rpm -qa | grep php
    If you dont have it, just download it and install it. curl is a very common option to have compiled in, and most php is compiled with 'everything' and you just install the modules you want/need.
     
Loading...