The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Page 12 -
Setting Up Database Driven Websites
Page 12 - Discuss Setting Up Database Driven Websites in the Development Articles forum on Dev Shed. Setting Up Database Driven Websites Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 25th, 1999, 05:20 AM
|
|
Guest
|
|
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?
|

December 26th, 1999, 02:20 AM
|
|
Guest
|
|
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?
|

December 28th, 1999, 05:33 PM
|
|
Guest
|
|
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???
|

December 28th, 1999, 05:33 PM
|
|
Guest
|
|
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???
|

December 29th, 1999, 12:47 AM
|
|
Guest
|
|
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 ?
|

December 30th, 1999, 10:37 PM
|
|
Guest
|
|
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
|

January 7th, 2000, 11:49 AM
|
|
Guest
|
|
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.
|

January 8th, 2000, 05:07 AM
|
|
Guest
|
|
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.
|

January 8th, 2000, 05:23 AM
|
|
Guest
|
|
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.
|

January 9th, 2000, 08:51 PM
|
|
Guest
|
|
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
|

January 11th, 2000, 10:00 PM
|
|
Guest
|
|
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.
|

January 11th, 2000, 11:51 PM
|
|
Guest
|
|
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
|

January 13th, 2000, 03:29 PM
|
|
Guest
|
|
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.
|

January 18th, 2000, 12:37 AM
|
|
Guest
|
|
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
|

January 18th, 2000, 01:42 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: open64 problem
i believe i d/l'ed it from the redhat site.
--deno
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|