Uite ce am gasit la Configure Command de la PHP Version 4.0.1pl2
'./configure' '--target=i386-redhat-linux' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-debug' '--enable-pic'
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
'--disable-static' '--with-exec-dir=/usr/bin' '--with-regex=system'
'--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png'
'--with-zlib' '--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp'
'--without-mysql' '--with-xml'
^^^^^^^^^^^^^^
Sa fie asta cauza? Sau ii altceva?
In ceea ce imi spunea despre php nu am gasit cuvantul mysql decat acolo.
On Thu, 5 Jul 2001, Daniel Toma wrote:
>
> Ciudat, pare ca php-ul nu e compilat cu suport de mysql ... ceea ce e cam
> greu.
> scrie <? phpinfo(); ?> si vezi ce-ti spune despre mysql.
>
> Cristian wrote:
>
> > Am urmatorul script php3:
> > <?
> > .........
> > $mysql_host= "localhost"; //serverul mySql
> > $mysql_user= "root"; // utilizatorul
> > $mysql_pass= ""; // parola
> > $baza = "lucru"; //baza de date
> > $separator= "<hr width=66%>"; //o linie de separatie
> >
> > mysql_connect($mysql_host,$mysql_user,$mysql_pass);
> > //MYSQL_CONNECT ($mysql_host,$mysql_user,$mysql_pass);
> > .............
> > ?>
> >
> > Cand il rulez, imi da urmatoarea eroare:
> > Fatal error: Call to undefined function: mysql_connect() in
> > /var/www/html/guestbook/index.php3 on line 11
> > Linia numarul 11 este urmatoarea:
> > mysql_connect($mysql_host,$mysql_user,$mysql_pass);
> > Stiti cumva ce nu am facut bine, ce am gresit? Folosesc MySQL
> > 3.23.38 iar PHP 4.0.1pl2 pe un sistem RedHat 7.0.
> > Orice idee este binevenita.
> > Va multumesc mult.
> >
> > ---
> > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> > unsubscribe from this list.
>
> --
> Daniel
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.