I forgot to mention that this Mandrake distribution installed an httpd AND
an httpd-perl.  When I do an apachectl start it starts both of them, with
httpd-perl first.  PHP3 was working fine before I tried to upgrade and
include mysql so I'm not convinced that this second http-perl is causing the
problem.

Please assist...anyone...I'm going nuts on this thing...

Thanks!

-Matt

::-----Original Message-----
::From: Matt Thoene [mailto:[EMAIL PROTECTED]]
::Sent: Wednesday, January 24, 2001 11:46 PM
::To: [EMAIL PROTECTED]
::Subject: RE: [PHP-INST] Re: PHP and MySQL in red hat 7.0
::
::
::Ok almost done bugging everyone...
::
::I've installed php from RPMS and now when I try to open a .php
::extension the
::browser tries to download it instead of opening it.  I believe I've seen
::this before but can't locate the fix in the archives.
::
::I'm using php-4.0.4pl1 and Apache 1.3.14 on Mandrake 7.2.
::
::-Matt
::
::::-----Original Message-----
::::From: Matt Thoene [mailto:[EMAIL PROTECTED]]
::::Sent: Wednesday, January 24, 2001 6:30 PM
::::To: Mat Murdock
::::Cc: [EMAIL PROTECTED]
::::Subject: RE: [PHP-INST] Re: PHP and MySQL in red hat 7.0
::::
::::
::::Hi Mat,
::::
::::When you said it did all the work for you, do you mean when you intalled
::::php4 it took care of itself or when you installed Mandrake 7.2 it
::::came ready
::::out-of-the-box with mysql AND php working?  Reason I ask is
::because I just
::::blasted the computer with Mandrake 7.2, I see that php4 is installed and
::::works when doing a test.php3, but when trying to call out a
::mysql database
::::it still gives me an error regarding mysql_connect.
::::
::::Thanks.
::::
::::-Matt
::::
::::::-----Original Message-----
::::::From: Mat Murdock [mailto:[EMAIL PROTECTED]]
::::::Sent: Monday, January 22, 2001 8:26 AM
::::::To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
::::::Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
::[EMAIL PROTECTED]
::::::Subject: [PHP-INST] Re: PHP and MySQL in red hat 7.0
::::::
::::::
::::::I tried RedHat, but had the same problem getting apache and php
::::::and mysql to
::::::talk to each other.  I decided to try Mandrake 7.2 and it did
::::all the work
::::::for me.
::::::
::::::Murdmath
::::::
::::::----- Original Message -----
::::::From: "Luis" <[EMAIL PROTECTED]>
::::::To: <[EMAIL PROTECTED]>
::::::Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
::::::<[EMAIL PROTECTED]>
::::::Sent: Monday, January 22, 2001 7:55 AM
::::::Subject: Re: PHP and MySQL in red hat 7.0
::::::
::::::
::::::> [EMAIL PROTECTED] wrote:
::::::> >
::::::> > Thanks Matt.
::::::> > MySQL is finally working.
::::::> > But the problem now is that PHP is not recognizing its MySQL
::::::> > functions. The error I am getting is:
::::::> >
::::::> > Fatal error: Call to undefined function: mysql_pconnect() in
::::::> > /var/www/html/Willy/MySQL/test1.php on line 28
::::::> >
::::::> > Well, the php_mysql RPM has been installed along with
::mod_php4.rpm.
::::::> > PHP can recognize its own functions but not those of MySQL.
::::I checked
::::::> > for the RPMs to be installed and I have installed all the php RPMs
::::::> > ( including php-mysql RPM). despite doing all that I get
::this error.
::::::MySQL
::::::> > is running perfect as I get the status when I type
::::"mysqladmin -u=root
::::::> > status".
::::::> > Please help me. This is very urgent for me.
::::::> >
::::::> > Thank You.
::::::> > Willy
::::::> >
::::::> > > ----------
::::::> > > From:         Matt Wagner[SMTP:[EMAIL PROTECTED]]
::::::> > > Sent:         Friday, January 19, 2001 4:29 PM
::::::> > > To:   [EMAIL PROTECTED]
::::::> > > Cc:   [EMAIL PROTECTED]
::::::> > > Subject:      Re: socket problem in red hat.
::::::> > >
::::::> > > [EMAIL PROTECTED] writes:
::::::> > > > Hi there,
::::::> > > > I am setting up a lab on MySQL and I am not able to.
::::::> > > > Its a red hat 7.0 server and has PHP installed and
::working with
::::::apache.
::::::> > > > I installed MySQL from the very RPMs Red Hat provided.
::::::> > > > Whenever I try to start the server, I get the error message:
::::::> > > >
::::::> > > > Can't connect to local MySQL server through socket
::::::'/var/lib/mysql/m
::::::> > > > ysql.sock' (111)
::::::> > > >
::::::> > > > Well the file /var/lib/mysql/mysql.sock exists on the
::::computer. I
::::::can't
::::::> > > > understand what this socket problem is and I went through all
::::::> > > documentation
::::::> > > > and couldn't find a solution to this. Can you please provide a
::::::solution
::::::> > > to
::::::> > > > this
::::::> > > > at the earliest. I have students piling on my head and I have
::::::already
::::::> > > > skipped my deadline of setting the server up.
::::::> > >
::::::> > > Hi!
::::::> > >
::::::> > > We have seen this problem (although I have not personally
::::::> > > investigated) with many RH7+default_mysql. The quick and
::::::easy solution
::::::> > > (until I figure out further) is to download the MySQL RPMs from:
::::::> > >
::::::> > >     http://www.mysql.com/downloads/mysql-3.23.html
::::::> > >
::::::> > > Uninstall the standard RedHat 7.0 MySQL RPMs, then reinstall
::::::> > > ours. Like I said, I'm not sure what RedHat is doing wrong
::::::with their
::::::> > > MySQL RPMs... But I have seen this numerous times with
::::::regard to their
::::::> > > supplied RPMs. Something is amiss.
::::::> > >
::::::> > > I will investigate more.
::::::> > >
::::::> > >
::::::> > > Regards,
::::::> > >
::::::> > >     Matt
::::::> > >
::::::> > > --
::::::> > >    __  ___     ___ ____  __
::::::> > >   /  |/  /_ __/ __/ __ \/ /   Matt Wagner <[EMAIL PROTECTED]>
::::::> > >  / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
::::::> > > /_/  /_/\_, /___/\___\_\___/  River Falls, Wisconsin, USA
::::::> > >        <___/       Developer
::::::> > >
::::::> >
::::::> >
::::---------------------------------------------------------------------
::::::> > Before posting, please check:
::::::> >    http://www.mysql.com/manual.php   (the manual)
::::::> >    http://lists.mysql.com/           (the list archive)
::::::> >
::::::> > To request this thread, e-mail <[EMAIL PROTECTED]>
::::::> > To unsubscribe, e-mail
::::::<[EMAIL PROTECTED]>
::::::> > Trouble unsubscribing? Try:
::http://lists.mysql.com/php/unsubscribe.php
::::>
::::>
::::>
::::> I had the same problem with setting up php ,
::::> mysql, and apache. I also notice that the rpm that
::::> redhat cd come with does not work . You have to
::::> download the tar or the rpm from the site. If you
::::> dont mind me asking, how did you set up the apache
::::> server to work with php plus if you find any doc
::::> on setting up php and mysql let me know.
::::>
::::>
::::> Thank you .
::::>
::::>
::::> Luis
::::>
::::> ---------------------------------------------------------------------
::::> Before posting, please check:
::::>    http://www.mysql.com/manual.php   (the manual)
::::>    http://lists.mysql.com/           (the list archive)
::::>
::::> To request this thread, e-mail <[EMAIL PROTECTED]>
::::> To unsubscribe, e-mail
::::<[EMAIL PROTECTED]>
::::> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
::::>
::::
::::
::::--
::::PHP Install Mailing List (http://www.php.net/)
::::To unsubscribe, e-mail: [EMAIL PROTECTED]
::::For additional commands, e-mail: [EMAIL PROTECTED]
::::To contact the list administrators, e-mail: [EMAIL PROTECTED]
::::
::
::
::--
::PHP Install Mailing List (http://www.php.net/)
::To unsubscribe, e-mail: [EMAIL PROTECTED]
::For additional commands, e-mail: [EMAIL PROTECTED]
::To contact the list administrators, e-mail: [EMAIL PROTECTED]
::
::
::--
::PHP Install Mailing List (http://www.php.net/)
::To unsubscribe, e-mail: [EMAIL PROTECTED]
::For additional commands, e-mail: [EMAIL PROTECTED]
::To contact the list administrators, e-mail: [EMAIL PROTECTED]
::


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to