Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Linux 8.0 Installed With Apache 2.0, Php And Mysql, Cannot run PHP MySQL Functions
fmagoufis
post Dec 12 2002, 01:40 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 4-December 02
From: Boston
Member No.: 214



I just built a new Linux 8.0 system and loaded the Apache 2.0 Server, PHP and MySQL Server with the install. I cannot seem to run any PHP MySQL Functions. I get this error:

Fatal error: Call to undefined function: mysql_connect()

Any ideas?
Go to the top of the page
 
+Quote Post
Joey
post Dec 12 2002, 02:05 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



sounds like mysql isnt running.
Go to the top of the page
 
+Quote Post
fmagoufis
post Dec 12 2002, 02:25 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 4-December 02
From: Boston
Member No.: 214



nope, i can run mysql and create edit delete modify mysql databases. Just cant get at them via php pages.
Go to the top of the page
 
+Quote Post
chrisw
post Dec 12 2002, 05:51 PM
Post #4


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



check to see if mysql is compiled into php

create this php page
and view it in your browser
and somewhere on the page
it should tell you if mysql is enabled

place the following in a php page:

<?php
phpinfo();
?>


--------------------

Chris W.
Go to the top of the page
 
+Quote Post
fmagoufis
post Dec 13 2002, 10:12 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 4-December 02
From: Boston
Member No.: 214



figured it out. downloaded the php-mysql rpm and installed it. All is working now.
Go to the top of the page
 
+Quote Post
Wicked187
post Dec 17 2002, 02:56 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 17-December 02
From: Indianapolis
Member No.: 248



yes, whenever you get a call to an invalid function, that means that the function does not exist, which means either a) the package that the function in included with is not installed/compiled into php, or cool.gif you didnt create the function yourself.


--------------------
Dustin A. Dortch
M$ Certified Linux User
--- Please read my guides!!!---
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 11:10 PM