← Back to team overview

sslug-teknik team mailing list archive

RE: apache+php+mysql RH rpms

 

Mikael_Jensen@xxxxxxxx wrote:

> Hej Klavs
> 
> Vær meget opmærksom på versionsnumrene af RPM'erne. Jeg havde samme
> problem tidligere.
> Det jeg gjorde var
> 1: Komme på mysql-mailing liste
> 2: fik svar på det og installerede alt med mysql+ php.
> 3: Være sikker på at alle RPM'erne have samme version nummer, i mit
> tilfælde 4.0.6
> 
> Her er det løsningsforeslag jeg fik
> 
>> Hi,
>>
>> I'm new to MySql, when I try to connect my PHP-script with
>> mysql_connect($host, $user, $pass)
>> my script returns the error
>> "Fatal error: Call to undefined function: mysql_connect()"
>> I have given the user all rights in MySQL, both on host, DB, tables, and
>> fields
>>
>> This might be easy for you, but I'm stuck..any help / comments are
>> appreciated
> 
> It means you do not have mysql support in PHP. If you compiled PHP
> yourself,
> 
> recompile it to include mysql support. If you installed it via RPM then
> look
> 
> for the appropriate RPMs from distro vendor.

mysql-server-3.23.41-1
php-mysql-4.0.6-12
mysql-devel-3.23.41-1
mysql-3.23.41-1
apache-1.3.22-2
php-4.0.6-12

Det skulle gerne være de rigtige rpm-versioner..
det funkede fint, da jeg kompilerede min egen tidligere..

Har jeg overset noget?

-- 
Regards,
Klavs Klavsen

-------------| This mail has been sent to you by: |------------
              Klavs Klavsen - Open Source Consultant 
                 kl@xxxxxxx - http://www.vsen.dk

    Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = A95E B57B 3CE0 9131 9D15 94DA E1CD 641E 586D 5BCA
--------------------[ I believe that... ]-----------------------
It is a myth that people resist change. People resist what other
people make them do, not what they themselves choose to do...
That's why companies that innovate successfully year after year
seek their peopl's ideas, let them initiate new projects and
encourage more experiments.            -- Rosabeth Moss Kanter



References