November 22, 2024, 04:28:39 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: PHP/MySQL problem on Xandros  (Read 6753 times)

Offline ouroboros

  • New Member
  • Posts: 1
PHP/MySQL problem on Xandros
« on: January 13, 2005, 02:24:49 PM »
Good morning!

I know there are posts with similar problems out there, but I thought I'd start a new thread.  I am thoroughly stumped.

I am running Xandros Open Desktop Circulation with the pre-installed:

Apache 1.3.27

and I've installed the packages, using apt-get:

mysql
php4
php4-mysql

And everything seems like it should be working, like all three packages are operating (apache works, mysql works and php works), but my php programs can't call mysql functions, it just gets an undefined function.

Here's a link to my phpinfo():

http://24.128.135.10/phpinfo.php
(which doesn't have a section for mysql)

and my test page trying to access a test database at:

http://24.128.135.10/test.php

I was stumped for a long time and then I figured out about the php4-mysql package, which added a line to the php.ini:

extension=mysql.so

Anyway, that's all I've got.  I'm really stumped, and I would really really appreciate any help!  Thank you all!

--Joshua

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
PHP/MySQL problem on Xandros
« Reply #1 on: January 14, 2005, 10:45:07 AM »
well you are right.. may be you can give a look again to threads..
http://www.linuxsolved.com/forums/ftopic884.html
http://www.linuxsolved.com/forums/ftopic921.html

I think the problem is that your php is not having proper mysql client libraries, in that case you may have to install php with proper libraries