"Davide Bianchi" <davideyeahsure.RemoveThis@onlyforfun.net> a écrit dans le message de
news:slrnckbooc.1j8.davideyeahsure@fogg.onlyforfun.net...
> On 2004-09-13, NothingHere <nothing_h.RemoveThis@hotmail.com> wrote:
> > I think all was good but, POST method on Form did not work
>
> new version of PHP have the creation of global variables turned off.
Ho, great, you are right ! thats works now !! thanks !!!
>
> > undefined function : mysql_create_db()").
>
> Your php is compiled without the support for mysql.
no, I have configured php using this command line :
../configure --with-apxs=/opt/apache/bin/apxs --with-mysql=/opt/mysql --with-
config-file-path=/etc
As you can see, php is compiled with mysql support ... I also tried to use
juste "--with-mysql" (and don't specify a dir), but php in configure tell me
he didn't find mysql.
So I must use --with-mysql=/opt/mysql, php find it, and works with it
(phpmyadmin works correctly).
But in some script, I always have this error " Call to undefined function
mysql_create_db() ".
So, where I'm wrong ???
Thanks !
- Nothing<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Problem after an upgrade to php 5.0.1 and Apache 1.3.31