[EMAIL PROTECTED] wrote:

> I have Mysql 3.22 and PHP4 installed with RedHat 7.0 linux distribution.I created a 
>script connecting my html page with mysql database(function 
>mysql_pconnect).Everything was working just fine one day but on the next day I saw a 
>message on my screen "Call to undefined function mysql_pconnect".Could someone tell 
>me how is it possible?

-----------

This is easy to come and this is PHP topic. PHP can be configured to 
have many different modules included or excluded. Many distributions 
have MySQL included but not all of them. Some distribution have separate 
RPM for this. Some distributions require of changing something in 
apache/PHP configuration files. Whatever happened, someone changed 
something ni your setup.


Fix? I do not know. Take a look in PHP configuration file and check, If 
mysql modules gets loaded somewhere there. You can also make small PHP 
script like:


<?
PHPINFO()
?>

and execute it. This will give you much information when and how PHP is 
compiled and what modules are available to him. Thispage should have 
information about includes MySQL module if it is included at all.
-- 
For technical support contracts, goto https://order.mysql.com/
    __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Tonu Samuel <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Security Administrator
/_/  /_/\_, /___/\___\_\___/   Hong Kong, China
        <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to