PHP5 configure, mysqli, red hat el 3

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roy Shaw

    #1

    PHP5 configure, mysqli, red hat el 3

    When configuring PHP5 (5.0.3) to use the mysqli libraries I get a "No
    such file or directory" from the configure script. My goal is to get
    PHP5 running with mysql 4.1.09 with both the mysql and mysqli options.
    I can get it to configure and work correctly with just the mysql but NOT
    the mysqli or both.

    Environment:

    Red Hat Enterprise Linux 3, rel 4
    php 5.0.3 from sources from php.net
    mysql 4.1 installed using rpms from mysql.com:

    MySQL-shared-compat-4.1.9-0
    MySQL-server-4.1.9-0
    MySQL-client-4.1.9-0
    MySQL-bench-4.1.9-0
    MySQL-devel-4.1.9-0

    from the configure

    --with-mysqli=/usr/bin/mysql_config


    generates this error:

    line 28: --with-mysqli=/usr/bin/mysql_config: No such file or directory.



    An help with this is greatly appreciated.


Working...