LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php4 mysql, installation, php-pages with mysql info stay empty (https://www.linuxquestions.org/questions/linux-software-2/php4-mysql-installation-php-pages-with-mysql-info-stay-empty-157484/)

dnla 03-14-2004 09:36 AM

php4 mysql, installation, php-pages with mysql info stay empty
 
hi!
I just installed php4 (and php4-mysql) , mysql, apache using apt-get install. I can use phpmyadmin, but when trying to set-up systems like phpnuke, coppermine, chora my browers doesnt show any php pages which should include mysql info. They are just empty (even curl doesnt return anything).

I suspect this is a problem with php4 and mysql.

Could anyone give me a hint?

Greetings,
>>dnla

phpinfo() outputs the following:
Code:

Build Date
Nov 19 2003 22:49:02


Configure Command
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=php' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-exec-dir=/usr/lib/php4/libexec' '--disable-static' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'


Server API
Apache


Virtual Directory Support
disabled


Configuration File (php.ini) Path
/etc/php4/apache/php.ini


PHP API
20020918


PHP Extension
20020429


Zend Extension
20021010


Debug Build
no


Thread Safety
disabled


Registered PHP Streams
php, http, ftp, compress.bzip2, compress.zlib


markus1982 03-14-2004 11:58 AM

Did you try a simple connect to the DBMS ? Probably a access (permission) problem.

dnla 03-14-2004 02:54 PM

Ehh?
DBMS? Data Bank Managment System?!
I can connect with the mysql command. I give a password and I am in. When using the same login data (root@localhost + pw) for installation scripts (e.g. coppermine), there seems to be a problem. But there are no error messages. The pages just stay blank. I dont have a clue which log files to search for error...
Do you mean that I should change the privileges of root/the users (using GRANT) ?

Greetings,
>>dnla


All times are GMT -5. The time now is 10:31 PM.