[PHP] Problems compiling mnogosearch

2004-11-25 Thread Mario Bittencourt
Hi,

I can't compile php 5 (or 4) with mnogosearch and mysql support.  I
saw a couple of posts but I was wondering what do I have to do in
order to make it compile.

mnogosearch is already installed and working.

Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problems compiling mnogosearch

2004-11-25 Thread Mario Bittencourt
Hi,

I've tried this but keep getting


Stopping httpd:[FAILED]
Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp5.so into server:
libmnogosearch-3.2.so: failed to map segment from shared object:
Permission denied

On Thu, 25 Nov 2004 10:06:47 -0500, John Nichel [EMAIL PROTECTED] wrote:
 Mario Bittencourt wrote:
 
 
  Hi,
 
  I can't compile php 5 (or 4) with mnogosearch and mysql support.  I
  saw a couple of posts but I was wondering what do I have to do in
  order to make it compile.
 
  mnogosearch is already installed and working.
 
  Thanks.
 
 
 The way I was able to get it working was to configure/compile
 mnogosearch *without* MySQL support, and build php against that.  Then
 once php was configured/compiled/installed, re-configure/compile
 mnogosearch *with* MySQL support.
 
 --
 By-Tor.com
 ...it's all about the Rush
 http://www.by-tor.com
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Validating XML Schema

2004-11-20 Thread Mario Bittencourt
Hi,

I am trying to use php to validate a document using it's schema.

I keep getting Warning: Element 'Invoices': No matching global
declaration available.

My xsd has

?xml version=1.0 ?
xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
targetNamespace=http://www.mysite.com;
xmlns=http://www.mysite.com; elementFormDefault=qualified
xs:element name=Invoices type=InvoicesType/
xs:complexType name=InvoicesType
xs:element name=Invoice type=xs:string/
/xs:complexType
/xs:schema

The xml test

?xml version=1.0 ?
Invoices
Invoice10/Invoice
/Invoices

The php

$xml = new DOMDocument();
$xml-load( 'invoice.xml' );
if ($xml-schemaValidate(invoice.xsd))
{
 echo Validated OK ;
} else 
{
 echo Validate FAILED;
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] free php live support script ?

2004-11-16 Thread Mario Bittencourt
Hi,

I was wondering if there is any free php live support script ?

I'd like to add a chat room in my web site so users could chat with
a human operator in a 1-1 mode.

thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Which PHP for MySQL 4.1

2004-11-12 Thread Mario Bittencourt
I could not compile php 5.0.2 with the latest mysql 4.1.7.

I've installed the rpms (server,max,client,devel,shared) from mysql.com.

./configure --with-mnogosearch --with-xml  --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-apxs2 --enable-soap

When I compile I get tons of messages like this

/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x250): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x330): In function
`net_write_command':

I have even tried only with mysqli or mysql and got the same result.

Any ideias ?

Fedora Core 3 Machine

On Fri, 12 Nov 2004 11:03:23 +0100, Sebastian Mendel
[EMAIL PROTECTED] wrote:
 
 
 C.F. Scheidecker Antunes wrote:
  Hello,
 
  I would like to migrate my MySQL servers from 4.0 to 4.1.
 
  As I use PHP as well as Java with these servers I wonder what PHP 4
  version would be compatible with MySQL 4.1.
 
  Has anyone used MySQL 4.1 with PHP yet?
 
  I appreciate your thoughts.
 
  Thanks.
 
 i run 4.1.x for a while, without problems,
 
 after upgrading you have to rebuild you php to use the new mysql_librarys
 
 and you have to run mysql_fix_privilege_tables on the linux/unix shell
 
 4.1. uses a new display-format for timestamps!
 4.1. uses a new encryption method for password(), with this function are
 all mysql_passwords stored in the db, thats why you have to run
 mysql_fix_privilege_tables
 
 read carefully through all 4.1. changelogs!
 
 --
 Sebastian Mendel
 
 www.sebastianmendel.de www.warzonez.de www.tekkno4u.de www.nofetish.com
 www.sf.net/projects/phpdatetimewww.sf.net/projects/phptimesheet
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] DB2 from PHP : ODBC ?

2002-02-27 Thread Mario Bittencourt

Hi phpers,

   Does anybody know if accessing DB2 using ODBC runs ok ?

   I've never tried that and was wondering if there are any 
tips/limitations (like configuration settings on both ends...) ?

Thanks,
Mário


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php