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 with MYSQL

Discussion in 'Plesk for Linux - 8.x and Older' started by servlinks, Aug 4, 2006.

  1. servlinks

    servlinks Guest

    0
     
    Hello,

    My PHP work very good!!!

    My MySQL work very good!!!!

    But I can't use my php with a MySQL DATABASE

    My PHP CODE stop to mysql instruction...

    WHY?

    Thank you!!!
     
  2. DCNet_James

    DCNet_James Guest

    0
     
    Are you using the local mysql server or a remote? If you are using the local mysql server make sure you specify localhost as the server in your PHP.

    If you have any errors dump them into this post so maybe we can get an idea what you're doing wrong.

    Thx
    James
     
  3. microdot-uk

    microdot-uk Guest

    0
     
    This issue is posibily due to your server having php 5.x installed, which ships with NO mysql support by default.

    You'll need to get the php source and compile it changing the --without-mysql to the --with-mysql= option

    You can test for this by creating a script called test.php like
    and poping it in your web directory.

    The php compilied options are the first thing displayed.

    (i'm just off to find the files I need to download, some-one has posted a good 'How To' and I found it a while ago on GOOGLE) It's about time the Plesk knowledgebase was updated with the list of RPM's you need to install to get it all working..
     
Loading...