LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-30-2004, 10:20 PM   #1
mahugl
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora Core
Posts: 5

Rep: Reputation: 0
PHP is not talking to Mysql in Fedora


I have fedora and PHP and Mysql installed and PHP works Mysql works and fedora works all seperately but when I try to access Mysql through PHP nothing happens. I enter information into the fields and they go blank but nothing gets entered into Mysql. I don't get any error messages or anything like that is just goes blank. Is there something that I am missing in the installation. Any help would be appreciated even if you are guessing. Thanks
 
Old 01-30-2004, 11:13 PM   #2
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
I haven't done it myself, but I have seen references to this site:
http://www.linuxhelp.net/guides/lamp/
 
Old 02-03-2004, 12:03 AM   #3
Tafta
Member
 
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Rep: Reputation: 15
perhaps you have to let php display the error message, search for its configuration in php.ini.
If everything is done correctly (php works, mysql works) but still can't connect to mysql through php perhaps you should reinstall them (still not working? reinstall your linux. Its radical but it works sometime).
If you have better solution, tell us (people who reinstall linux to solve this problem).
 
Old 02-03-2004, 12:11 AM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
If PHP works, you can add the following to the end of your queries to get errors.

Example Query

mysql_query("Select * From Table) or die(mysql_error());
 
Old 02-03-2004, 03:55 AM   #5
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi mahugl,

just a quick question - are you embedding your PHP in web pages?
 
  


Reply



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
Apache/PHP not talking to mysql database BorgAssimilator Linux - Software 1 11-11-2005 03:12 AM
PHP 5 wont connect to MySql (fedora spacy2003 Linux - Software 0 02-07-2005 08:31 AM
php 438 and mysql 41 fedora 2 wont talk phoebebright Linux - Software 0 11-02-2004 03:49 PM
MySQL 4 on Fedora can't install php-mysql kennyg Linux - Software 8 09-21-2004 06:54 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:56 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
Open Source Consulting | Domain Registration