LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-14-2004, 10:36 AM   #1
dnla
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
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
 
Old 03-14-2004, 12:58 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Did you try a simple connect to the DBMS ? Probably a access (permission) problem.
 
Old 03-14-2004, 03:54 PM   #3
dnla
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
LAMP(Linux,Apache,MySql,PHP) and other info hamtavs General 1 01-25-2005 04:54 AM
php scripts return empty pages ararag Linux - Software 1 02-23-2004 11:46 AM
php and mysql installation siphi Linux - Newbie 9 11-02-2003 10:26 AM
PHP & MySQL getting info from text file neon Programming 1 10-15-2003 01:34 AM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration