Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #166  
Old December 25th, 1999, 05:20 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
fatal error

Fatal error: Call to unsupported or undefined function mysql_connect()
in /home/httpd/html/example/index.php3 on line 8

I am in RedHat6.1,
I have changed httpd.conf and srm.conf for
php3 in apache.
need I find mod_sql?

Reply With Quote
  #167  
Old December 26th, 1999, 02:20 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: fatal error

I know it is because my php not support MySQL.I installed apache,php3 used rpm.
Must I rebuild the php3?can I get some
good php3.rpm that support MySQL?

Reply With Quote
  #168  
Old December 28th, 1999, 05:33 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
can't connect........

I have a severe problem, when I try to create a new database (win98) using the command [c:\mysql\bin]: msqladmin -u root mydb , the output is:
"connect to server at 'localhost' failed
error: 'can't connect to MySQL server on localhost (10061)' ...... .
The strange thing is that my server seems to work when I use it in other applications.
Any suggestions???

Reply With Quote
  #169  
Old December 28th, 1999, 05:33 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
can't connect........

I have a severe problem, when I try to create a new database (win98) using the command [c:\mysql\bin]: msqladmin -u root mydb , the output is:
"connect to server at 'localhost' failed
error: 'can't connect to MySQL server on localhost (10061)' ...... .
The strange thing is that my server seems to work when I use it in other applications.
Any suggestions???

Reply With Quote
  #170  
Old December 29th, 1999, 12:47 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: PostgreSQL

Please send me mail to a sample code for processing the PostgreSQL database with PHP ?

isn't is easy ?




Reply With Quote
  #171  
Old December 30th, 1999, 10:37 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
security measure in the example

I found the example in this article good and has employed the technique in my website. However, one thing I am worrying about:
Is there any way for the visitor(or hacker) to peek into the content of the embedded PHP section in the HTML file? if so, the password in the mysql_connect() function will be disclosed and constitute a security threat to the system,

rgds,
Mak

Reply With Quote
  #172  
Old January 7th, 2000, 11:49 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: fatal error

I think that the PHP rpm doesn't install mysql support off the bat and you need to enable it somehow. I'm not speaking from experience, but I seen a post at phpbuilder.com asking the same question and I think that's what he/she had to do. Check the PHP documentation item 3.3.

Reply With Quote
  #173  
Old January 8th, 2000, 05:07 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: test.php3 doesn't showup

Does the apache config files you mention refer to /usr/local/apache/conf/httpd.conf ?

if it does, then I have gotten it right. However, my problem still persisted.

Reply With Quote
  #174  
Old January 8th, 2000, 05:23 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: It asks me to save the file to disk

The date is now 8.1.2000 and no one has found out how to solve the problem?
Well, if you all have...pls post it here.

Reply With Quote
  #175  
Old January 9th, 2000, 08:51 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Uninstalling Apache,PHP & MySQL

Just delete it.

You can try running a find on the system:

find / -name "php" -print

to find occurances of stuff.

U don't have to worry about anything in /home, ok?

And when you do install software, it's a good habit to install it from /usr/local/

Keeps things clean.

newt

Reply With Quote
  #176  
Old January 11th, 2000, 10:00 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: It asks me to save the file to disk

I solved the problem about using and installing the correct httpd binary.
use the command:
'./configure --with-apache=/path/to/distribution'
when installing php.
And after that, go to the apache directory and do this command:
'./configure --activate-module=src/modules/php3/libphp3.a'
Of course, you need to include the other configure options in the same line.

Reply With Quote
  #177  
Old January 11th, 2000, 11:51 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
any luck on RH6.1

Has anyone had goodluck installing MySQL and PHP3 on Redhat 6.1. I already have Apache running on my box, and don't want to download the source and mess the server up.

I like to be RPM straight person, and a little bit of vi.

take care

Reply With Quote
  #178  
Old January 13th, 2000, 03:29 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Apache

I have tried repeatedly to compile the Apache distributions to no avail. They error everytime with ap checkpass.o(.text+0x7c): undefined reference to 'crypt'. I am trying to install on Caldera OpenLinux 2.3. Interestingly enough, when I use the binary distribution with the install script, Apache works just fine...until I add PHP and then it won't start. Any suggestions? Help me...please.

Reply With Quote
  #179  
Old January 18th, 2000, 12:37 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: open64 problem

Hello deno,

I also has similar error when i install mysql, apache, php and try to run apache it gives same errro as open64 problem. I am thinking it may be because of glibc version, which was written in information we need either higher versionof glibc >2.1.1 or install apache 1.3.9.

could you plase tell me where from you got glibc version 2.1.2 ..., and

thank you

Reply With Quote
  #180  
Old January 18th, 2000, 01:42 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: open64 problem

i believe i d/l'ed it from the redhat site.

--deno

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Setting Up Database Driven Websites

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap