[nflug] PHP 4 Issue

Cyber Source peter at thecybersource.com
Thu Jan 25 22:16:05 EST 2007


Robert Wolfe wrote:
> I installed it with "apt-get install"  But it looks like the mysql.so module
> is not loading for some reason even though I have the php.ini setting for
> that set up.
>
> Robert Wolfe [MCP/Linux+] (robert.wolfe at robertwolfe.org)
> http://www.robertwolfe.org
> I do the voodoo that I do do with sudo!
>
> -----Original Message-----
> From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
> Franklin Kumro Jr
> Sent: Thursday, January 25, 2007 9:03 AM
> To: nflug at nflug.org
> Subject: Re: [nflug] PHP 4 Issue
>
> How did you install php4? I've had this issue before when I did not
> have mysql installed (installed after php4) and did not include
> --with-mysql when I ran ./configure
>
>
> On 1/25/07, Robert Wolfe <robert_todd at adelphia.net> wrote:
>   
>> Hi all, when trying to connect to a MySQL database, one of my users gets
>>     
> the
>   
>> following message on his webpage:
>>
>> Fatal error: Call to undefined function mysql_connect() in
>> /home/electro/public_html/mypage/book/processorder.php on line 11
>>
>> Mysql –version returns:
>>
>> juniper:/etc/php4/apache2# mysql --version
>> mysql  Ver 14.7 Distrib 4.1.11, for unknown-linux-gnu (sparc)
>>
>> Thanks for any help or insight anyone can provide.
>>
>> Robert Wolfe [MCP/Linux+] (robert.wolfe at robertwolfe.org)
>> http://www.robertwolfe.org
>> I do the voodoo that I do do with sudo!
>>
>>
>>
>> --
>> No virus found in this outgoing message.
>> Checked by AVG.
>> Version: 7.5.441 / Virus Database: 268.17.10/651 - Release Date: 1/24/2007
>> 6:48 PM
>>
>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
>>     
>
>
>   
I haven't watched this too closely but your probably missing some
package. Try this, "apt-cache search --names-only mysql php". See what
packages are available for those names and then see what you have
installed. "dpkg -l | grep mysql"  and "dpkg -l | grep php".
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list