1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    fatal error


    Fatal error: Call to unsupported or undefined function mysql_connect()
    in /home/httpd/html/example/index.php3 on line 8

    I am in RedHat6.1,
    I have changed httpd.conf and srm.conf for
    php3 in apache.
    need I find mod_sql?
  2. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: fatal error


    I know it is because my php not support MySQL.I installed apache,php3 used rpm.
    Must I rebuild the php3?can I get some
    good php3.rpm that support MySQL?
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    can't connect........


    I have a severe problem, when I try to create a new database (win98) using the command [c:\mysql\bin]: msqladmin -u root mydb , the output is:
    "connect to server at 'localhost' failed
    error: 'can't connect to MySQL server on localhost (10061)' ...... .
    The strange thing is that my server seems to work when I use it in other applications.
    Any suggestions???
  4. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    can't connect........


    I have a severe problem, when I try to create a new database (win98) using the command [c:\mysql\bin]: msqladmin -u root mydb , the output is:
    "connect to server at 'localhost' failed
    error: 'can't connect to MySQL server on localhost (10061)' ...... .
    The strange thing is that my server seems to work when I use it in other applications.
    Any suggestions???
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: PostgreSQL


    Please send me mail to a sample code for processing the PostgreSQL database with PHP ?

    isn't is easy ?



  6. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    security measure in the example


    I found the example in this article good and has employed the technique in my website. However, one thing I am worrying about:
    Is there any way for the visitor(or hacker) to peek into the content of the embedded PHP section in the HTML file? if so, the password in the mysql_connect() function will be disclosed and constitute a security threat to the system,

    rgds,
    Mak
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: fatal error


    I think that the PHP rpm doesn't install mysql support off the bat and you need to enable it somehow. I'm not speaking from experience, but I seen a post at phpbuilder.com asking the same question and I think that's what he/she had to do. Check the PHP documentation item 3.3.
  8. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: test.php3 doesn't showup


    Does the apache config files you mention refer to /usr/local/apache/conf/httpd.conf ?

    if it does, then I have gotten it right. However, my problem still persisted.
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: It asks me to save the file to disk


    The date is now 8.1.2000 and no one has found out how to solve the problem?
    Well, if you all have...pls post it here.
  10. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Uninstalling Apache,PHP & MySQL


    Just delete it.

    You can try running a find on the system:

    find / -name "php" -print

    to find occurances of stuff.

    U don't have to worry about anything in /home, ok?

    And when you do install software, it's a good habit to install it from /usr/local/

    Keeps things clean.

    newt
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: It asks me to save the file to disk


    I solved the problem about using and installing the correct httpd binary.
    use the command:
    './configure --with-apache=/path/to/distribution'
    when installing php.
    And after that, go to the apache directory and do this command:
    './configure --activate-module=src/modules/php3/libphp3.a'
    Of course, you need to include the other configure options in the same line.
  12. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    any luck on RH6.1


    Has anyone had goodluck installing MySQL and PHP3 on Redhat 6.1. I already have Apache running on my box, and don't want to download the source and mess the server up.

    I like to be RPM straight person, and a little bit of vi.

    take care
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Apache


    I have tried repeatedly to compile the Apache distributions to no avail. They error everytime with ap checkpass.o(.text+0x7c): undefined reference to 'crypt'. I am trying to install on Caldera OpenLinux 2.3. Interestingly enough, when I use the binary distribution with the install script, Apache works just fine...until I add PHP and then it won't start. Any suggestions? Help me...please.
  14. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: open64 problem


    Hello deno,

    I also has similar error when i install mysql, apache, php and try to run apache it gives same errro as open64 problem. I am thinking it may be because of glibc version, which was written in information we need either higher versionof glibc >2.1.1 or install apache 1.3.9.

    could you plase tell me where from you got glibc version 2.1.2 ..., and

    thank you
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: open64 problem


    i believe i d/l'ed it from the redhat site.

    --deno

IMN logo majestic logo threadwatch logo seochat tools logo