[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: mysqlconnect() not supported in php 4.0.6 ?????
- Subject: [cobalt-users] Re: mysqlconnect() not supported in php 4.0.6 ?????
- From: Taco Scargo - Sun Holland - Leiden <Taco.Scargo@xxxxxxx>
- Date: Sun Sep 9 18:33:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Take a look at http://pkg.nl.cobalt.com/packages/raq/4/#php:
PHP 4.0.6
This package updates PHP to version 4.0.6
If you use mysql with php, please note you need to add a line
'extension=mysql.so' to /etc/httpd/php.ini to load the
mysql php-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Also, you should NOT forget to restart httpd.
/etc/rc.d/init.d/httpd restart
> From: "R. Hamburg" <cobalt@xxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Cc: <pkgmaster@xxxxxxx>
> Subject: mysqlconnect() not supported in php 4.0.6 ?????
> Date: Fri, 7 Sep 2001 23:31:14 +0200
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>
> Hello,
>
> I have upgraded to the new supplied php version from
> http://pkg.nl.cobalt.com/packages/raq/4/ Everything seemed working fine
> however. One of my clients is using a mysql database for his guestbook.
> Since I upgraded to php4.0.6 he is getting the following error when trying
> to open his
>
> guestbook:
> Fatal error: Call to undefined function: mysql_connect() in
> /home/sites/site14/web/nl/guestbook_show.php on line 16
>
> & Poll
> Fatal error: Call to undefined function: mysql_pconnect() in
> /home/sites/site14/web/poll/include/mysql.inc.php on line 8
>
>
> Does this error ring a bell to some experienced mysql user(s). Is it
> possible that the mysql_connect()/ mysql_pconnect() function is no longer
> supported in php4.0.6
> Is there a work around for it ? I have several other customers using mysql
> but they haven't complaint (yet) about this issue.
>
> Can somebody shine some light on this matter for me ? In this case we used a
> raq4 server. Perhaps it is good to know that phpmyadmin is still running,
> and as far as I know this app also uses the mysql_connect().
> Suggestions are more than welcome. :)
>
> --- R. Hamburg
>
>
With regards,
Taco Scargo
Professional Services Manager, EMEA
Sun Microsystems Tel. +31 (71) 565 7021
Sun Cobalt Server Appliances taco.scargo@xxxxxxx