apache - php 5 mysql connectivity problems

Discussion in 'Apache' started by niceboy, Nov 3, 2006.

  1. #1
    hi

    earlier i used to use php 4.3 with apache 2.0 (Mysql 4.1) server on my WinME box. yesterday my friend provided me php 5 and i wanted to experiment with it.

    I installed php 5 (just extracted the zip file to a folder) and modified httpd.conf file to work with php 5.

    Now php 5 is working fine with apache(<?php phpinfo(); ?> works fine)
    . but none of the scripts using mysql are connecting. I did not change anything with mysql.

    is there any additional configuration reqd for php 5 with apache 2(on windows) to correctly connect to mysql?

    nb.
     
    niceboy, Nov 3, 2006 IP
  2. eko

    eko Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hello sir if you are having such problems, just use the shortcut use apache2triad.
    apache2triad.net/
    it has all you need trust me.
     
    eko, Nov 3, 2006 IP
  3. niceboy

    niceboy Well-Known Member

    Messages:
    1,170
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    128
    #3
    thanks. but i'm on dialup and i can't even think of downloading a 100 mb file.
     
    niceboy, Nov 3, 2006 IP
  4. infonote

    infonote Well-Known Member

    Messages:
    4,032
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    160
    #4
    I think you are having a similar problem to this

    forums.mysql.com/read.php?52,70295,70295
     
    infonote, Nov 3, 2006 IP
  5. niceboy

    niceboy Well-Known Member

    Messages:
    1,170
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Ah. actually all the compiled binaries were already there..

    here is what was missing in php.ini file..

    by default extension directory was set to ./ only.

    everything is fine now.

    thanks friends and have a great day.

    nb.
     
    niceboy, Nov 3, 2006 IP