Re: [PHP] Compile APC in PHP 5.2

2012-12-12 Thread Sebastian Krebs
Hi,

You should definitely not use PHP5.2 anymore.

Regards,
Sebastian


2012/12/12 Alexander Diedler 

> Hello,
> I try to get APC working for a compiled PHP 5.2.17.
> On this Ubuntu, we have an PHP 5.3 installed with APT-GET and a PHP 5.2 as
> CGI module compiled with make etc.
> In the PHP 5.3 I got APC running in phpinfo, but not in PHP 5.2, what we
> have to do to get work it?
>
> I use this
> http://de2.php.net/manual/de/install.pecl.static.php
> but if I use the configure with
> ./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2
> --with-mysqli --with-mysql --with-pdo-mysql --with-curl --with-gd
> --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr
> --enable-cli --enable-fastcgi --enable-discard-path
> --enable-force-cgi-redirect --enable-mbstring --with-bz2
> --enable-gd-native-ttf --enable-calendar --with-gmp --enable-bcmath
> --with-xpm-dir=/usr --enable-soap --with-openssl --with-zlib --with-apc
> There are only errors in the configure and it seems, that buildconf
> destroy the configure file.
>
> I try also
> http://www.linuxask.com/questions/how-to-compile-apc-module-for-php
> but if I add extension=apc.so and restart, it will not be shown in phpinfo.
>
>
>
> Best regards
> Alexander
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
github.com/KingCrunch


Re: [PHP] Compile PHP with MySQL support

2011-10-13 Thread Sharl.Jimh.Tsin
在 2011-10-13四的 08:27 -0400,Nick Khamis写道:
> Hello Everyone,
> 
> I am trying to compile php from source using the following config:
> 
> ./configure --prefix=/usr/local/php
> --with-apxs2=/usr/local/apache/bin/apxs
> --with-config-file-path=/usr/local/php
> --with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
> --with-gettext=./ext/gettext --with-pear
> --with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd
> --enable-pcntl
> 
> Note the mysqli without pointing to /usr/local/mysql/bin/mysql_config.
> The problem is MySQL is not installed on the machine, it is actually
> installed on another server.
> 
> MySQLi Suport:
> 
> mysqli
> MysqlI Support  enabled
> Client API library version  5.1.49
> Active Persistent Links 0
> Inactive Persistent Links   0
> Active Links0
> Client API header version   5.1.49
> MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock
> 
> Directive   Local Value Master Value
> mysqli.allow_local_infile   On  On
> mysqli.allow_persistent On  On
> mysqli.default_host no valueno value
> mysqli.default_port 33063306
> mysqli.default_pw   no valueno value
> mysqli.default_socket   no valueno value
> mysqli.default_user no valueno value
> mysqli.max_linksUnlimited   Unlimited
> mysqli.max_persistent   Unlimited   Unlimited
> mysqli.reconnectOff Off
> 
> The machine I compiled PHP on does not have mysqli.so, and so I am
> recieving the "fatal call to undefined function mysql_connect()"
> error. Can someone tell me how to compile php from source with mysql
> support, but actually mysql is installed on a different server?

install it locally.otherwise impossible.

> 
> Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
> as noted earlier.
> 
> Thanks in Advance,
> 
> Nick

-- 
Best regards,
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**)

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?10073.


signature.asc
Description: This is a digitally signed message part


Re: [PHP] Compile PHP with MySQLi (With MySQL on a remote server)

2011-10-13 Thread Nilesh Govindarajan
On 10/13/2011 06:57 PM, Nick Khamis wrote:
> Hello Nilesh,
> 
> Thank you so much for your response. I have been stuck on this for two
> days. As mentioned earlier
> we compiled PHP with the "--with-mysqli" directive however there is no
> mysql/i.o to be found anywhere
> on the system. And thus we are recieving the "fatal call to undefined
> function mysql_connect()" error.
> As for the mysql native library, I am guessing it's no longer included
> in the php tree for copyright reasons?
> 
> Thanks in Advance,
> 
> Nick.
> 
> On Thu, Oct 13, 2011 at 9:13 AM, Nilesh Govindarajan
> mailto:cont...@nileshgr.com>> wrote:
> 
> On 10/13/2011 05:59 PM, Nick Khamis wrote:
> > Hello Everyone,
> >
> > I am trying to compile php from source using the following config:
> >
> > ./configure --prefix=/usr/local/php
> > --with-apxs2=/usr/local/
> > apache/bin/apxs
> > --with-config-file-path=/usr/local/php
> > --with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
> > --with-gettext=./ext/gettext --with-pear
> > --with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd
> > --enable-pcntl
> >
> > Note the mysqli without pointing to /usr/local/mysql/bin/mysql_config.
> > The problem is MySQL is not installed on the machine, it is actually
> > installed on another server.
> >
> > MySQLi Suport:
> >
> > mysqli
> > MysqlI Support  enabled
> > Client API library version  5.1.49
> > Active Persistent Links 0
> > Inactive Persistent Links   0
> > Active Links0
> > Client API header version   5.1.49
> > MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock
> >
> > Directive   Local Value Master Value
> > mysqli.allow_local_infile   On  On
> > mysqli.allow_persistent On  On
> > mysqli.default_host no valueno value
> > mysqli.default_port 33063306
> > mysqli.default_pw   no valueno value
> > mysqli.default_socket   no valueno value
> > mysqli.default_user no valueno value
> > mysqli.max_linksUnlimited   Unlimited
> > mysqli.max_persistent   Unlimited   Unlimited
> > mysqli.reconnectOff Off
> >
> > The machine I compiled PHP on does not have mysqli.so, and so I am
> > recieving the "fatal call to undefined function mysql_connect()"
> > error. Can someone tell me how to compile php from source with mysql
> > support, but actually mysql is installed on a different server?
> >
> > Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
> > as noted earlier.
> >
> > Thanks in Advance,
> >
> > Nick
> >
> 
> You don't need the mysql server to compile mysql{,i} modules, the client
> library is enough.
> Any special reason for not using mysqlnd, which will compile without
> needing the mysql client library? Or I guess it's not there in php 5.1
> 
> --
> Nilesh Govindarajan
> http://nileshgr.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

MySQLND is included in the PHP tree, MySQLND has no copyright issues. I
use that on all my servers, I use php 5.3 though. Don't know if 5.1 has it.

-- 
Nilesh Govindarajan
http://nileshgr.com

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



Re: [PHP] Compile PHP with MySQL support

2011-10-13 Thread Simon J Welsh
On 14/10/2011, at 1:27 AM, Nick Khamis wrote:

> Hello Everyone,
> 
> I am trying to compile php from source using the following config:
> 
> ./configure --prefix=/usr/local/php
> --with-apxs2=/usr/local/apache/bin/apxs
> --with-config-file-path=/usr/local/php
> --with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
> --with-gettext=./ext/gettext --with-pear
> --with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd
> --enable-pcntl
> 
> Note the mysqli without pointing to /usr/local/mysql/bin/mysql_config.
> The problem is MySQL is not installed on the machine, it is actually
> installed on another server.
> 
> MySQLi Suport:
> 
> mysqli
> MysqlI Support  enabled
> Client API library version  5.1.49
> Active Persistent Links 0
> Inactive Persistent Links   0
> Active Links0
> Client API header version   5.1.49
> MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock
> 
> Directive   Local Value Master Value
> mysqli.allow_local_infile   On  On
> mysqli.allow_persistent On  On
> mysqli.default_host no valueno value
> mysqli.default_port 33063306
> mysqli.default_pw   no valueno value
> mysqli.default_socket   no valueno value
> mysqli.default_user no valueno value
> mysqli.max_linksUnlimited   Unlimited
> mysqli.max_persistent   Unlimited   Unlimited
> mysqli.reconnectOff Off
> 
> The machine I compiled PHP on does not have mysqli.so, and so I am
> recieving the "fatal call to undefined function mysql_connect()"
> error. Can someone tell me how to compile php from source with mysql
> support, but actually mysql is installed on a different server?
> 
> Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
> as noted earlier.
> 
> Thanks in Advance,
> 
> Nick


You've only compiled in MySQLi. You also need to pass --with-mysql to 
configure. As you can compile in MySQLi, you should have no problems with MySQL.

---
Simon Welsh
Admin of http://simon.geek.nz/


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



Re: [PHP] Compile PHP with MySQLi (With MySQL on a remote server)

2011-10-13 Thread Nilesh Govindarajan
On 10/13/2011 05:59 PM, Nick Khamis wrote:
> Hello Everyone,
> 
> I am trying to compile php from source using the following config:
> 
> ./configure --prefix=/usr/local/php
> --with-apxs2=/usr/local/
> apache/bin/apxs
> --with-config-file-path=/usr/local/php
> --with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
> --with-gettext=./ext/gettext --with-pear
> --with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd
> --enable-pcntl
> 
> Note the mysqli without pointing to /usr/local/mysql/bin/mysql_config.
> The problem is MySQL is not installed on the machine, it is actually
> installed on another server.
> 
> MySQLi Suport:
> 
> mysqli
> MysqlI Support  enabled
> Client API library version  5.1.49
> Active Persistent Links 0
> Inactive Persistent Links   0
> Active Links0
> Client API header version   5.1.49
> MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock
> 
> Directive   Local Value Master Value
> mysqli.allow_local_infile   On  On
> mysqli.allow_persistent On  On
> mysqli.default_host no valueno value
> mysqli.default_port 33063306
> mysqli.default_pw   no valueno value
> mysqli.default_socket   no valueno value
> mysqli.default_user no valueno value
> mysqli.max_linksUnlimited   Unlimited
> mysqli.max_persistent   Unlimited   Unlimited
> mysqli.reconnectOff Off
> 
> The machine I compiled PHP on does not have mysqli.so, and so I am
> recieving the "fatal call to undefined function mysql_connect()"
> error. Can someone tell me how to compile php from source with mysql
> support, but actually mysql is installed on a different server?
> 
> Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
> as noted earlier.
> 
> Thanks in Advance,
> 
> Nick
> 

You don't need the mysql server to compile mysql{,i} modules, the client
library is enough.
Any special reason for not using mysqlnd, which will compile without
needing the mysql client library? Or I guess it's not there in php 5.1

-- 
Nilesh Govindarajan
http://nileshgr.com

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



Re: [PHP] compile php 5.3.2 with php-fpm error,HELP ME

2010-04-18 Thread Sharl.Jimh.Tsin
all right,i submit it as a bug into the bugs.php.net

Best regards,
Sharl.Jimh.Tsin



2010/4/18 Daniel Egeberg :
> On Sun, Apr 18, 2010 at 09:47, Sharl.Jimh.Tsin  wrote:
>> Hi,everyone
>>
>> i download the php source tarball from php.net.
>> and check out lastest version of php-fpm from SVN.
>>
>> then,i run the
>> ./configure *snip*
>>
>> it seems to be ok,and run make command.it looks like NO error appears,too
>>
>> but when i run the make install,it gives some information below:
>> [r...@powerpc php-5.3.2]# make install
>> *snip*
>>
>> I Do Not know what caused it..
>>
>> and i run the php-fpm ,it returns "Segmentation fault"
>>
>> Want your helps,my friends
>>
>> Best regards,
>> Sharl.Jimh.Tsin
>
> Hi,
>
> Could you possibly get a backtrace [1] and submit a PHP bug [2]?
>
> [1] http://bugs.php.net/bugs-generating-backtrace.php
> [2] http://bugs.php.net/report.php
>
> --
> Daniel Egeberg
>

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



Re: [PHP] compile php 5.3.2 with php-fpm error,HELP ME

2010-04-18 Thread Daniel Egeberg
On Sun, Apr 18, 2010 at 09:47, Sharl.Jimh.Tsin  wrote:
> Hi,everyone
>
> i download the php source tarball from php.net.
> and check out lastest version of php-fpm from SVN.
>
> then,i run the
> ./configure *snip*
>
> it seems to be ok,and run make command.it looks like NO error appears,too
>
> but when i run the make install,it gives some information below:
> [r...@powerpc php-5.3.2]# make install
> *snip*
>
> I Do Not know what caused it..
>
> and i run the php-fpm ,it returns "Segmentation fault"
>
> Want your helps,my friends
>
> Best regards,
> Sharl.Jimh.Tsin

Hi,

Could you possibly get a backtrace [1] and submit a PHP bug [2]?

[1] http://bugs.php.net/bugs-generating-backtrace.php
[2] http://bugs.php.net/report.php

-- 
Daniel Egeberg

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



[PHP] Re: PHP compile

2008-06-09 Thread zerof

Hélio Rocha escreveu:

Hi there,

How can i compile or encrypt a PHP project without changing any thing on the
server? [Fast-]CGI it's a possibility.

Thanks in advance.
Hélio


http://www.roadsend.com/home/index.php

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

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



Re: [PHP] Compile issue

2007-09-26 Thread Nathan Nobbe
you might try experimenting w/ the configure command;
perhaps if you start w/ a minimal php installation it will compile.
then you could one-by-one enable the things you have in your
standard configure command.
maybe at least you could narrow down the problem that way.

-nathan

On 9/26/07, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> Yep!  I made a little sh script that I keep the same ./configure
> string in.  When a new version comes out I extract it, copy my script
> in there, and run it.  Usually everything works out perfectly.  I've
> been using it happily since 5.1.2 and now all of a sudden after 5.2.2
> I can't anymore.
>
> On 9/26/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> > are you using the same configure command when compiling all 3 versions?
> >
> > -nathan
> >
> >
> > On 9/26/07, Eric Butera < [EMAIL PROTECTED]> wrote:
> > >
> > > The last version of PHP I've been able to compile on my work machine
> > > was 5.2.2.  It is a PowerPC OS X 10.4.10.  I'm curious if anyone else
> > > has had this problem.  I'm sure it is something stupid I'm doing but I
> > > can't seem to figure it out.  I can still compile 5.2.2 just fine so
> > > nothing on that end has changed but 5.2.3 & 5.2.4 just crap out.
> > >
> > > It always dies with this message:
> > >
> > > /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> > > /sw/lib/libiconv.dylib( localcharset.o) definition of _locale_charset
> > > /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
> > > /usr/bin/ld: Undefined symbols:
> > > _mysql_set_character_set
> > > collect2: ld returned 1 exit status
> > > make: *** [sapi/cgi/php-cgi] Error 1
> > >
> > > Any ideas?
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
>


Re: [PHP] Compile issue

2007-09-26 Thread Eric Butera
Yep!  I made a little sh script that I keep the same ./configure
string in.  When a new version comes out I extract it, copy my script
in there, and run it.  Usually everything works out perfectly.  I've
been using it happily since 5.1.2 and now all of a sudden after 5.2.2
I can't anymore.

On 9/26/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> are you using the same configure command when compiling all 3 versions?
>
> -nathan
>
>
> On 9/26/07, Eric Butera < [EMAIL PROTECTED]> wrote:
> >
> > The last version of PHP I've been able to compile on my work machine
> > was 5.2.2.  It is a PowerPC OS X 10.4.10.  I'm curious if anyone else
> > has had this problem.  I'm sure it is something stupid I'm doing but I
> > can't seem to figure it out.  I can still compile 5.2.2 just fine so
> > nothing on that end has changed but 5.2.3 & 5.2.4 just crap out.
> >
> > It always dies with this message:
> >
> > /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> > /sw/lib/libiconv.dylib( localcharset.o) definition of _locale_charset
> > /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
> > /usr/bin/ld: Undefined symbols:
> > _mysql_set_character_set
> > collect2: ld returned 1 exit status
> > make: *** [sapi/cgi/php-cgi] Error 1
> >
> > Any ideas?
> >
> > --
> > 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



Re: [PHP] Compile issue

2007-09-26 Thread Nathan Nobbe
are you using the same configure command when compiling all 3 versions?

-nathan

On 9/26/07, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> The last version of PHP I've been able to compile on my work machine
> was 5.2.2.  It is a PowerPC OS X 10.4.10.  I'm curious if anyone else
> has had this problem.  I'm sure it is something stupid I'm doing but I
> can't seem to figure it out.  I can still compile 5.2.2 just fine so
> nothing on that end has changed but 5.2.3 & 5.2.4 just crap out.
>
> It always dies with this message:
>
> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
> /usr/bin/ld: Undefined symbols:
> _mysql_set_character_set
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php-cgi] Error 1
>
> Any ideas?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Re: [PHP] compile issue.

2005-10-21 Thread Greg Maruszeczka
Mark Nernberg wrote:
> This is a repost, as I have received no response thus far.
> 
> Running FreeBSD 5.4/RELEASE on Sparc64 and Apache 2.0.55
> 
> When attempting to install 4.4.0 or 5.0.5, from ports or from source, I am
> getting the following error: (This specific error is from 4.4.0 from ports
> [/usr/ports/lang/php4]  The error also affects the 5.1RC.
> 
> /bin/sh /usr/ports/lang/php4/work/php-4.4.0/libtool --silent
> --preserve-dup-deps --mode=compile cc  -Iext/standard/
> -I/usr/ports/lang/php4/work/php-4.4.0/ext/standard/ -DPHP_ATOM_INC
> -I/usr/ports/lang/php4/work/php-4.4.0/include
> -I/usr/ports/lang/php4/work/php-4.4.0/main
> -I/usr/ports/lang/php4/work/php-4.4.0
> -I/usr/ports/lang/php4/work/php-4.4.0/TSRM
> -I/usr/ports/lang/php4/work/php-4.4.0/Zend-O -pipe   -c
> /usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c -o
> ext/standard/crypt.lo
> In file included from /usr/include/rpc/rpc.h:59,
>  from /usr/include/crypt.h:9,
>  from
> /usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c:31:
> /usr/include/rpc/rpc_msg.h:66: error: syntax error before numeric constant
> *** Error code 1
> 
> Stop in /usr/ports/lang/php4/work/php-4.4.0.
> *** Error code 1
> 
> Stop in /usr/ports/lang/php4.
> 
> Any ideas would  be helpful.  If anyone requires more information, just ask
> & I will provide.
> 
> --
> m
> 


I can't help you directly but I'm guessing you might get a better answer
by checking the FreeBSD specific lists instead of here since it doesn't
look like your problem is so much with PHP as it is with
/usr/ports/lang/php4.

Try these first, then post on the lists if you can't find an answer in
the archives:

http://lists.freebsd.org/pipermail/freebsd-questions/
http://lists.freebsd.org/pipermail/freebsd-sparc64/


Hope that leads you to a satisfactory resolution.

G

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



RE: [PHP] Compile

2004-08-16 Thread Jay Blanchard
[snip]
Is it true that turck is faster than Zend?

> i think you are looking for something like turck mmcache.
[/snip]

What about something like http://www.priadoblender.com

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



RE: [PHP] Compile

2004-08-16 Thread Ed Lazor
Is it true that turck is faster than Zend?

> i think you are looking for something like turck mmcache.

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



Re: [PHP] Compile

2004-08-16 Thread Paul Kain
zend allows you to compile your code



On Mon, 16 Aug 2004 15:04:48 +0800, Louie Miranda <[EMAIL PROTECTED]> wrote:
> I think it still works with the old one, its not yet release a stable
> version for 5.0 and i think for 4.3.6? only in beta.
> 
> hmm, better check their site out to know the full details.
> 
> thanks
> 
> 
> 
> On Mon, 16 Aug 2004 09:32:52 +0300, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> > From: "raditha dissanayake" <[EMAIL PROTECTED]>
> >
> >
> > > i think you are looking for something like turck mmcache.
> > >
> >
> > Do you know if Turck MMCache works with PHP 5.0?
> >
> > Teddy
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> --
> Louie Miranda
> http://www.axishift.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



Re: [PHP] Compile

2004-08-16 Thread Louie Miranda
I think it still works with the old one, its not yet release a stable
version for 5.0 and i think for 4.3.6? only in beta.

hmm, better check their site out to know the full details.

thanks

On Mon, 16 Aug 2004 09:32:52 +0300, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> From: "raditha dissanayake" <[EMAIL PROTECTED]>
> 
> 
> > i think you are looking for something like turck mmcache.
> >
> 
> Do you know if Turck MMCache works with PHP 5.0?
> 
> Teddy
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Louie Miranda
http://www.axishift.com

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



Re: [PHP] Compile

2004-08-15 Thread Octavian Rasnita
From: "raditha dissanayake" <[EMAIL PROTECTED]>


> i think you are looking for something like turck mmcache.
> 

Do you know if Turck MMCache works with PHP 5.0?

Teddy

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



Re: [PHP] Compile

2004-08-15 Thread raditha dissanayake
Watty wrote:
Is it possible to compile a PHP script? And if so, how?
 

i think you are looking for something like turck mmcache.
Watty
 


--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Jacob Friis Larsen
execute /usr/bin/mysql_config --include. It's the path without 
include/mysql.
In that case my configure is correct:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config 
--with-mysql=/usr --with-apxs2

 Also make sure you don't have multiple libraries
installed, you should install MySQL-shared-compat*.rpm
I have installed MySQL-shared-compat-4.1.3-0.i386.rpm, but I still get 
errors.

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


Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Marek Kilimajer
Jacob Friis Larsen wrote:
Curt Zirzow wrote:
* Thus wrote Jacob Friis Larsen:
How do I install Php5 with both --with-mysql and --with-mysqli?

1. Follow instructions at http://php.net/mysqli.

Is this correct: "--with-mysqli=/usr/bin/mysql_config"?
(This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2)
2. Follow instructions at http://php.net/mysql, using the pathto 
your mysql4.1 library

Is this correct: "--with-mysql=/usr"?
If not, how can I find out?
execute /usr/bin/mysql_config --include. It's the path without 
include/mysql. Also make sure you don't have multiple libraries 
installed, you should install MySQL-shared-compat*.rpm


3. Tweak your my.cnf so the mysqlclient look at the right places.

What should I tweak?
MySQL is the original RPM from MySQL. Version 4.1.3-beta.
Sorry, I think I need more help.
I've read this: "If you would like to install the mysql extension along 
with the mysqli extension you have to use the same client library to 
avoid any conflicts.", but I do not understand the meaning of it. There 
is only one MySQL installation on the server.

This is my configure, which fails:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config 
--with-mysql=/usr --with-apxs2

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


Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
Curt Zirzow wrote:
* Thus wrote Jacob Friis Larsen:
How do I install Php5 with both --with-mysql and --with-mysqli?
1. Follow instructions at http://php.net/mysqli.
Is this correct: "--with-mysqli=/usr/bin/mysql_config"?
(This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2)
2. Follow instructions at http://php.net/mysql, using the path 
   to your mysql4.1 library
Is this correct: "--with-mysql=/usr"?
If not, how can I find out?
3. Tweak your my.cnf so the mysqlclient look at the right places.
What should I tweak?
MySQL is the original RPM from MySQL. Version 4.1.3-beta.
Sorry, I think I need more help.
I've read this: "If you would like to install the mysql extension along 
with the mysqli extension you have to use the same client library to 
avoid any conflicts.", but I do not understand the meaning of it. There 
is only one MySQL installation on the server.

This is my configure, which fails:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config 
--with-mysql=/usr --with-apxs2

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


Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Curt Zirzow
* Thus wrote Jacob Friis Larsen:
> How do I install Php5 with both --with-mysql and --with-mysqli?

1. Follow instructions at http://php.net/mysqli.
2. Follow instructions at http://php.net/mysql, using the path 
   to your mysql4.1 library
3. Tweak your my.cnf so the mysqlclient look at the right places.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

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



RE: [PHP] Compile PHP question

2004-04-16 Thread Dave Carrera
Hi David,

You have to unsubscribe yourself from the php-general list to not receive
further correspondence as it is not in my power to do such a task and is not
my fault that you are on our list.

I am not in any way responsible for the php-general list just a participant
it the contributions.

Yours truly

Dave Carrera


-Original Message-
From: David A. Stevens [mailto:[EMAIL PROTECTED] 
Sent: 16 April 2004 18:59
To: Dave Carrera
Subject: Re: [PHP] Compile PHP question


Please remove my address from any future correspondence about PHP.


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
 

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



Re: [PHP] Compile PHP question

2004-04-16 Thread Jason Wong
On Friday 16 April 2004 16:46, Red Wingate wrote:
> Wrong one here:
>
> http://de2.php.net/manual/en/features.commandline.php
>
> [quote]
> The CLI SAPI was released for the first time with PHP 4.2.0, but was still
> experimental and had to be explicitly enabled with --enable-cli when
> running ./configure. Since PHP 4.3.0 the CLI SAPI is no longer experimental
> and the option --enable-cli is on by default. You may use --disable-cli to
> disable it.
> [/quote]
>
> Using:  './configure --enable-cli --with-mysql' is just right :-)

I think you quoted the wrong part of the manual. Read on a bit more to see 
this:

"Note: Because both --enable-cli and . --enable-cgi are enabled by default, 
simply having --enable-cli in your configure line does not necessarily mean 
the CLI will be copied as . {PREFIX}/bin/php during make install."

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
The relative importance of files depends on their cost in terms of the
human effort needed to regenerate them.
-- T.A. Dolotta
*/

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



Re: [PHP] Compile PHP question

2004-04-15 Thread Red Wingate
Wrong one here:

http://de2.php.net/manual/en/features.commandline.php

[quote]
The CLI SAPI was released for the first time with PHP 4.2.0, but was still 
experimental and had to be explicitly enabled with --enable-cli when 
running ./configure. Since PHP 4.3.0 the CLI SAPI is no longer experimental 
and the option --enable-cli is on by default. You may use --disable-cli to 
disable it.
[/quote]

Using:  './configure --enable-cli --with-mysql' is just right :-)

 -- red

[...]
> > > Hi List,
> > >
> > > How do I compile php without apache, with mysql (client is installed)
> > > as cli.

> >
> > ./configure --enable-cli --with-mysql

>
> I believe cgi is enabled by default, so
>
>./configure --disable-cgi --enable-cli --with-mysql
>
> would be better.
[...]

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



Re: [PHP] Compile PHP question

2004-04-15 Thread Jason Wong
On Thursday 15 April 2004 20:49, Enrico Weigelt wrote:
> * Dave Carrera <[EMAIL PROTECTED]> [2004-04-15 11:14:45 +0100]:
> > Hi List,
> >
> > How do I compile php without apache, with mysql (client is installed) as
> > cli.
>
> ./configure --enable-cli --with-mysql


I believe cgi is enabled by default, so

   ./configure --disable-cgi --enable-cli --with-mysql

would be better.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Happiness is just an illusion, filled with sadness and confusion.
*/

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



Re: [PHP] Compile PHP question

2004-04-15 Thread Enrico Weigelt
* Dave Carrera <[EMAIL PROTECTED]> [2004-04-15 11:14:45 +0100]:

> Hi List,
> 
> How do I compile php without apache, with mysql (client is installed) as
> cli.

./configure --enable-cli --with-mysql

btw: if you're planning automated builds, you'll be maybe interested
in my buildfarm project ...


cu
-- 
-
 Enrico Weigelt==   metux IT services

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
   -- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting --
-

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



RE: [PHP] compile problem

2004-02-13 Thread Sam Masiello

The --with-curl directive can also take a directory (--with-curl=[DIR}).
Try passing in the directory where cURL is installed to. (I am not sure
where this is since you didn't mention whether cURL is installed on your
system via RPM or if you did it from source).

Good luck!

--Sam



Donpro wrote:
> Hi,
> 
> trying to compile PHP 4.3.4. on RedHat Linux 7.3 and getting the
> following 
> error:
> 
> checking for CURL support... yes
> checking for CURL in default path... found in /usr
> checking for cURL 7.9.8 or greater... configure: error: cURL version
> 7.9.8 or later is required to compile php with cURL support 
> 
> I am compiling with the --with-curl option AND I have curl 7.10.4
> installed. 
> 
> Any ideas?
> 
> Thanks,
> Don

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



Re: [PHP] compile php

2004-01-12 Thread shawn_milochik

Easy solution:  Use wget.
http://unxutils.sourceforge.net/

If you're not familiar with wget, you can Google or e-mail me.  Basically,
a command of:
wget www.yahoo.com
results in an HTTP request to Yahoo and you will find an index.html in the
directory from which you ran the command.  In your case, you don't
care about the resulting file.  What you care about is that your page can
be requested, causing your PHP to run.  ;o)

Alternately, you can do something horribly clumsy, like having merak call
"iexplore.exe http://localhost/myPage.php";, but that's ugly, and you
don't want dozens of browser windows to build up on your webserver.

I'm assuming that you're using a Windows server due to your reference to
"exe" files.  If I got that wrong, wget is still your answer -- it's an old
Unix command, available also on Linux, FreeBSD, and, I imagine, Mac, since
it's now a BSD.

Please post your results to the group, in case they might me useful to
someone.

Note:  You can just drop the .exe files from that unxutils .zip file into
your windows\system32 directory.

Shawn




   

  [EMAIL PROTECTED]

  et   To:   [EMAIL PROTECTED] 

   cc: 

  01/12/2004 01:56 Subject:  [PHP] compile php 

  PM   

   

   





i have a script that checks an email account and records information into a
database and want to call it when ever an email hits that account.  My ISP
uses merak mail server and i see it has an excutables section, so i was
hoping to fire my php page whenever an email goes to the account.  the
problem is that it can only execute .exe or .dll files and i don't know if
a
php file can be compiled.
Thanks in advance,
~Logan

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








**
This e-mail and any files transmitted with it may contain 
confidential information and is intended solely for use by 
the individual to whom it is addressed.  If you received
this e-mail in error, please notify the sender, do not 
disclose its contents to others and delete it from your 
system.

**

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



[PHP] Re: php compile error with mysql undefined reference to `mysql_real_escape_string'

2003-12-15 Thread Jas
You really should be subscribing to the php.install list when asking 
questions of this type.  But it sounds like you need to first install 
mysql, then install apache, then install php.  In that order and you 
should be ok.  When in doubt read the manuals for each application for 
further information on the different options available for your ./configure.
HTH
Jas

Ivone Uribe wrote:

Hi all!
I'm installing php4.3.3, apache 1.3.28 with
mysql3.22.32
I'm using this option --with-mysql=/usr/local/mysql
But when I compile the php code, I get this error:

ext/mysql/php_mysql.o: In function
`zif_mysql_client_encoding':
/root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1118:
undefined reference to `mysql_character_set_name'
ext/mysql/php_mysql.o: In function
`zif_mysql_real_escape_string':
/root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1705:
undefined reference to `mysql_real_escape_string'
collect2: ld returned 1 exit status
To solve it..I try the option --disable-cli on
./configure, and all ok.
But now I have the same problem
(/php-4.3.3/ext/mysql/php_mysql.c:1118: undefined
reference to `mysql_character_set_name')
when I try to compile the apache...
Please!!! Does anybody  know how to solve it?

Thanks in advance!!

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compile 4.3.2 Errors.

2003-06-05 Thread Kent C. Kollasch
The build doesn't even get past the first program to compile.  I used 
the defaults in configure and ran make an it fails immediately.

Evan Nemerson wrote:
Don't know about 4.3.2, but at the end of 5.0-dev make, the following message 
is output:

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


On Saturday 31 May 2003 06:29 am, Volker Augustin wrote:

hi,
this sounds like a warning not like an error, your php is successfully
compiled...(most software i know an compile got this message.)
can you post a little bit more debug information?
volker

- Original Message -
From: "Alberto Ferrer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 31, 2003 3:16 PM
Subject: [PHP] Compile 4.3.2 Errors.

Im compiling the last vercion of PHP 4.3.2 and says this after finish of
compile.
The system is a Redhat 7.3, Apache 1.3.27.
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam'
is


dangerous, better use `mkstemp'



--
--
   Alberto Ferrer
   [EMAIL PROTECTED]
 http://www.barrahome.org
--
Syntax Error in KITCHEN.H: COFFEE not found.


--
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


Re: [PHP] Compile 4.3.2 Errors.

2003-06-01 Thread Thomas Seifert
the same is given for 4.3.2, just compiled it today :).


Thomas

On Sat, 31 May 2003 12:50:38 -0700 [EMAIL PROTECTED] (Evan Nemerson) wrote:

> Don't know about 4.3.2, but at the end of 5.0-dev make, the following message 
> is output:
> 
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
> 
> 
> 
> 
> On Saturday 31 May 2003 06:29 am, Volker Augustin wrote:
> > hi,
> > this sounds like a warning not like an error, your php is successfully
> > compiled...(most software i know an compile got this message.)
> > can you post a little bit more debug information?
> >
> > volker
> >
> > - Original Message -
> > From: "Alberto Ferrer" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, May 31, 2003 3:16 PM
> > Subject: [PHP] Compile 4.3.2 Errors.
> >
> > > Im compiling the last vercion of PHP 4.3.2 and says this after finish of
> > > compile.
> > > The system is a Redhat 7.3, Apache 1.3.27.
> > >
> > > ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> > > /root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam'
> >
> > is
> >
> > > dangerous, better use `mkstemp'
> > >
> > >
> > >
> > > --
> > > --
> > > Alberto Ferrer
> > > [EMAIL PROTECTED]
> > >   http://www.barrahome.org
> > > --
> > > Syntax Error in KITCHEN.H: COFFEE not found.
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> 
> Know me? Know me??? What the hell does that mean, know me, you want to know 
> me? Well you don't know me, and you'll never know me. Nobody knows me, or 
> you, or eachother. Nobody in this world knows anybody else. You'll never know 
> me. Ever.
> 
> -Rules of Attraction
> 



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



Re: [PHP] Compile 4.3.2 Errors.

2003-06-01 Thread Evan Nemerson
Don't know about 4.3.2, but at the end of 5.0-dev make, the following message 
is output:

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).




On Saturday 31 May 2003 06:29 am, Volker Augustin wrote:
> hi,
> this sounds like a warning not like an error, your php is successfully
> compiled...(most software i know an compile got this message.)
> can you post a little bit more debug information?
>
> volker
>
> - Original Message -
> From: "Alberto Ferrer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, May 31, 2003 3:16 PM
> Subject: [PHP] Compile 4.3.2 Errors.
>
> > Im compiling the last vercion of PHP 4.3.2 and says this after finish of
> > compile.
> > The system is a Redhat 7.3, Apache 1.3.27.
> >
> > ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> > /root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam'
>
> is
>
> > dangerous, better use `mkstemp'
> >
> >
> >
> > --
> > --
> > Alberto Ferrer
> > [EMAIL PROTECTED]
> >   http://www.barrahome.org
> > --
> > Syntax Error in KITCHEN.H: COFFEE not found.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php

-- 

Know me? Know me??? What the hell does that mean, know me, you want to know 
me? Well you don't know me, and you'll never know me. Nobody knows me, or 
you, or eachother. Nobody in this world knows anybody else. You'll never know 
me. Ever.

-Rules of Attraction


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



Re: [PHP] Compile 4.3.2 Errors.

2003-06-01 Thread Philip Olson

On Sat, 31 May 2003, Alberto Ferrer wrote:

> Im compiling the last vercion of PHP 4.3.2 and says this after finish of
> compile.
> The system is a Redhat 7.3, Apache 1.3.27.
> 
> ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> /root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is
> dangerous, better use `mkstemp'

And about two lines down from that warning you'll see this:

  Build complete.
  (It is safe to ignore warnings about tempnam and tmpnam).

As this build note was added in PHP 4.3.2 because too many bogus 
bug reports and support questions were coming up about this 
warning.  There is also a faq about this warning:

  http://www.php.net/manual/en/faq.build.php#faq.build.mysql.tempnam

Regards,
Philip


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



Re: [PHP] Compile 4.3.2 Errors.

2003-05-31 Thread Volker Augustin
hi,
this sounds like a warning not like an error, your php is successfully
compiled...(most software i know an compile got this message.)
can you post a little bit more debug information?

volker

- Original Message -
From: "Alberto Ferrer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 31, 2003 3:16 PM
Subject: [PHP] Compile 4.3.2 Errors.


> Im compiling the last vercion of PHP 4.3.2 and says this after finish of
> compile.
> The system is a Redhat 7.3, Apache 1.3.27.
>
> ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> /root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam'
is
> dangerous, better use `mkstemp'
>
>
>
> --
> --
> Alberto Ferrer
> [EMAIL PROTECTED]
>   http://www.barrahome.org
> --
> Syntax Error in KITCHEN.H: COFFEE not found.
>
>
>
> --
> 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



Re: [PHP] compile error

2002-08-19 Thread Rasmus Lerdorf

You need current PHP CVS to work with Apache 2.0.40.  See snaps.php.net

On Mon, 19 Aug 2002, Adam Williams wrote:

> I'm trying to compile PHP 4.2.2.  I am running Apache 2.0.40 (yes I know
> support is experimental).  I am compiling on Redhat 7.3 Linux 2.4.18.  I
> did my PHP configure line:
>
> ./configure --enable-track-vars --with-mysql --with-mail 
>--with-apxs2=/usr/local/apache2/bin/apxs
>
> and then I do a make, and it errors out with:
>
> make[3]: Entering directory `/root/php-4.2.2/sapi/apache2filter'
> /bin/sh /root/php-4.2.2/libtool --silent --mode=compile gcc  -I.
> -I/root/php-4.2.2/sapi/apache2filter -I/root/php-4.2.2/main
> -I/root/php-4.2.2 -I/usr/local/apache2/include -I/root/php-4.2.2/Zend
> -I/root/php-4.2.2/ext/mysql/libmysql -I/root/php-4.2.2/ext/xml/expat
> -D_REENTRANT -I/root/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
> -prefer-pic  -c sapi_apache2.c
> sapi_apache2.c: In function `php_register_hook':
> sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
> makes
> pointer from integer without a cast
> sapi_apache2.c:534: too few arguments to function
> `ap_register_output_filter'
> sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
> makes pointer from integer without a cast
> sapi_apache2.c:535: too few arguments to function
> `ap_register_input_filter'
> make[3]: *** [sapi_apache2.lo] Error 1
> make[3]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/php-4.2.2/sapi'
> make: *** [all-recursive] Error 1
>
> Has anyone else had similar errors and found a solution?
>
>   Adam
>
>
> --
> 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




Re: [PHP] Compile errors with php 4.2.1 and gd

2002-07-11 Thread Mike

oops, ok, I was being stupid... forgot to do a make install on gd 2 ;(
Mike
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 5:52 PM
Subject: [PHP] Compile errors with php 4.2.1 and gd


> Hello,
> I have followed all the directions on how to compile php and gd and all
the
> other stuff that needs to be complied for gd to work with php, but it will
> not compile... it keeps failing to compile with the following errors :
>
> gd.c: In function `zm_startup_gd':
> gd.c:303: `gdArc' undeclared (first use in this function)
> gd.c:303: (Each undeclared identifier is reported only once
> gd.c:303: for each function it appears in.)
> gd.c:304: `gdPie' undeclared (first use in this function)
> gd.c:305: `gdChord' undeclared (first use in this function)
> gd.c:306: `gdNoFill' undeclared (first use in this function)
> gd.c:307: `gdEdged' undeclared (first use in this function)
> gd.c: In function `zif_imagecreatetruecolor':
> gd.c:588: warning: assignment makes pointer from integer without a cast
> gd.c: In function `zif_imagecolorat':
> gd.c:1626: structure has no member named `tpixels'
> gmake[3]: *** [gd.lo] Error 1
>
> can anyone give me a helping hand, with this?
> the configure line that I have used is this:
>
./configure  --with-vpopmail=/var/vpopmail/ --with-apxs=/usr/local/apache/bi
>
n/apxs --with-jpeg-dir=/usr/local --with-gd=/usr/local --with-png-dir=/usr/l
> ocal --with-zlib-dir=shared --with-freetype-dir=/usr/local --enable-ftp
>
> any help would be appreciated greatly,
> Mike
>
>
>
> --
> 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




RE: [PHP] Compile error.

2002-06-24 Thread Duncan Hill

On Mon, 24 Jun 2002, John Holmes wrote:

> > Using the 4.2.1 source available from the main downloads page, I'm
> > getting:
> > php_functions.c:93:27: missing binary operator before '!'
> 
> You get an error when you do what? Unzip the source, compile it, run it,
> load a .php page, crap your pants???

I would have though compile it would be obvious from the fact thats a gcc 
error.  I guess I thought wrong.  The compile is for apache 2 btw.


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




RE: [PHP] Compile error.

2002-06-24 Thread John Holmes

> Using the 4.2.1 source available from the main downloads page, I'm
> getting:
> php_functions.c:93:27: missing binary operator before '!'

You get an error when you do what? Unzip the source, compile it, run it,
load a .php page, crap your pants???

---John Holmes...


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




Re: Re: [PHP] compile php with GD2

2002-03-02 Thread David Robley

In article <001001c1c15f$22473370$0100a8c0@red5>, php-general@ring-
wraith.com says...
> hi again,
> 
> well sorry about that, it worked when i changed it to:
> 
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl 
>--with-swf=/usr/local/flash
 --enable-ftp --with-gd=/usr --with-jpeg-dir=/usr/local --with-xpm-
dir=/usr/X11R6 --with-png-dir=/usr --with-imap --with-ming=/usr/src/ming-
0.2a --enable-magic-quotes --with-mysql --enable-safe-mode --enable-
track-vars --with-ttf --enable-versioning --with-zlib
> 
> ...however, now i ran into another problem: Ming!
> The source is located /usr/src/ming-0.2a
> and the installed files are located:
> /usr/lib
> /usr/include
> 
> but neither of these 3 is accepted in the configure line.
> Or can i just leave it in the configure line and then just add the php_ming.so file, 
>copy it into the extension dir and add it to php.ini file?
> 
> Regards,
> 
> Duncan
> 
Um, lateral thinking here? The same solution that worked for GD should 
work for Ming. In other words, 

--with-ming=/usr

and configure will look under /usr for the lib and include.

-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

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




Re: Re: [PHP] compile php with GD2

2002-03-01 Thread Hendrik

hi again,

well sorry about that, it worked when i changed it to:

./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl 
--with-swf=/usr/local/flash --enable-ftp --with-gd=/usr --with-jpeg-dir=/usr/local 
--with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-imap 
--with-ming=/usr/src/ming-0.2a --enable-magic-quotes --with-mysql --enable-safe-mode 
--enable-track-vars --with-ttf --enable-versioning --with-zlib

...however, now i ran into another problem: Ming!
The source is located /usr/src/ming-0.2a
and the installed files are located:
/usr/lib
/usr/include

but neither of these 3 is accepted in the configure line.
Or can i just leave it in the configure line and then just add the php_ming.so file, 
copy it into the extension dir and add it to php.ini file?

Regards,

Duncan






Re: [PHP] compile php with GD2

2002-03-01 Thread Rasmus Lerdorf

You never put "lib" in a PHP configure flag.  Read the INSTALL file
carefully, please.  It should just be --with-gd=/usr since it also needs
to find the gd header files which are nowhere under /usr/lib

On Fri, 1 Mar 2002, Hendrik wrote:

> hi there,
>
> i tried to compile php with GD2 support and the following configure line:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl 
>--with-swf=/usr/local/flash --enable-ftp --with-gd=/usr/lib 
>--with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-imap 
>--with-ming --enable-magic-quotes --with-mysql --enable-safe-mode --enable-track-vars 
>--with-ttf --enable-versioning --with-zlib
>
>
>
>
> ...but i allways get the following error:
>
>
>
> checking whether to include include FreeType 1.x support... yes
> checking whether to include T1lib support... no
> configure: error: Unable to find libgd.(a|so) anywhere under yes
>
>
>
>
> Problem is, that the libgd.a file IS located in /usr/lib, as set in --with-gd, but 
>it doesnt matter how i edit the line, i allways get this error.
>
> Does anyone have an idea, what i could try to get it compiled?
>
>
>
> Regards,
>
>
>
> Duncan
>
>


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




RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Rasmus Lerdorf

Redhat's apxs was broken years ago in RH 6.0 or some version like that.
But since then the apxs from the apache-devel package has been fine.

-Rasmus

On Tue, 15 Jan 2002, Simon Ritchie wrote:

> > I'm trying to compile php 4.1.1 and when it gets to the
> > --with-apxs option it errors out with the following:
> >
> > Sorry, I was not able to successfully run APXS.  Possible reasons:
> >
> > 1.  Perl is not installed;
> .
> .
> .
>
> Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
> not the one that the PHP builder expects.  The builder is trying to use this
> apxs, but it doesn't work as it expects.
>
> Do a minimal build of apache from source code (without PHP) and install it.
> This installs a working apxs into /usr/local/bin.  Now build PHP, then build
> apache again, this time including the PHP module.
>
> In my system, the builder found the working apxs without help.  If yours
> does not, you have to tell the builder where to find it.
>
> Simon
>
>
> --
> PHP General 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 General 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]




RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Simon Ritchie

> I'm trying to compile php 4.1.1 and when it gets to the
> --with-apxs option it errors out with the following:
>
> Sorry, I was not able to successfully run APXS.  Possible reasons:
>
> 1.  Perl is not installed;
.
.
.

Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
not the one that the PHP builder expects.  The builder is trying to use this
apxs, but it doesn't work as it expects.

Do a minimal build of apache from source code (without PHP) and install it.
This installs a working apxs into /usr/local/bin.  Now build PHP, then build
apache again, this time including the PHP module.

In my system, the builder found the working apxs without help.  If yours
does not, you have to tell the builder where to find it.

Simon


-- 
PHP General 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]




Re: [PHP] Compile problems php 4.1.1

2002-01-14 Thread Rasmus Lerdorf

You don't mention which OS you are on, but usually apxs is found in the
apache-devel package.  You probably didn't install that.

-Rasmus

On Mon, 14 Jan 2002, Jay Paulson wrote:

> I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors 
>out with the following:
>
> Sorry, I was not able to successfully run APXS.  Possible reasons:
>
> 1.  Perl is not installed;
> 2.  Apache was not compiled with DSO support (--enable-module=so);
> 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
> The output of apxs follows
> ./configure: apxs: command not found
>
> I've run the httpd -l command and I have the mod_so.c configured into apache as you 
>can see below
>
> Compiled-in modules:
>   http_core.c
>   mod_so.c
> suexec: enabled; valid wrapper /usr/sbin/suexec
>
> I then tried to find the "apxs" file on my machine and well it returns nothing.  
>Does anyone have any ideas on what I can do?
>
> Thanks..
>
>
>


-- 
PHP General 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]




Re: [PHP] compile with apxs

2001-05-17 Thread Martín Marqués

On Vie 18 May 2001 00:39, Angerer, Chad wrote:
> I am trying to configure php using --with-apxs .. here is my configure file
>
> ./configure --with-apxs=/usr/local/www/bin --with-mysql=/usr/local/

That should be --with-apxs=/usr/local/www/bin/apxs

Saludos... :-)

> mysql --enable-discard-path --enable-safe-mode --enable-calendar
> --with-dom-dir
> =ext/domxml --enable-ftp --with-gd=shared --with-jpeg-dir=/usr
> --with-java=/usr
> /java/jre --with-pdflib=shared --with-sablot=ext/sablot
> --with-expat-dir=/usr -
> -with-regex=system --with-swf
>
> when it gets to the apxs part I get this error
>
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache module support via DSO through APXS...
> ./configure: apxs: command not found
> Sorry, I was not able to successfully run APXS.  Possible reasons:
> 1.  Perl is not installed;
> 2.  Apache was not compiled with DSO support (--enable-module=so);
> 3.  'apxs' is not in your path.
> configure: error: ;
>
> Perl is installed.. which perl produces /usr/bin/perl
>
> httpd -l shows mod_so.c
>
> and apxs is pointing to the current path of my apache bin directory.  I am
> not sure what else to try.
>
> Can someone help me out please.
>
> Thanks in advance.
>
> Chad

-- 
Cualquier administra un NT.
Ese es el problema, que cualquier administre.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-

-- 
PHP General 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]




Re: [PHP] Compile Problems

2001-04-13 Thread Rasmus Lerdorf

I assume you mean PHP 4.0.4pl1

I would go grab a recent snapshot from http://snaps.php.net and see if
that solves the problem.  If it doesn't, let us know and we can try to
track it down.  If it does then it is obviously an issue that has been
fixed and you can either just stick with the snapshot release or look at
the Changelog and figure out which change fixed the issue and apply just
that change to the 4.0.4pl1 release you are using.

-Rasmus

On Fri, 13 Apr 2001, Rohan Amin wrote:

> Configuration:
>
> Red Hat Linux 7.0
> PHP 4.0 PL1
> iODBC 3.0.4
> Sablotron 0.5.1
> Apache 1.3.19
>
> We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support
> as a static module for Apache 1.3.19. Depending upon the combination of
> options, the module fails to build or builds and dies with the segmentation
> violation. Before debugging, I thought I would check around to see if this
> is a known problem.
>
> Thanks in advance.
>
>
> Rohan
>
>
>
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Yasuo Ohgaki
I found interesting link

http://www.deskcode.com/phpcompiler/

PHPCompiler v0.0.2 Beta

PHPCompiler is an Overlay Manager i.e. A program that converts your PHP Scripts
to Windows EXEcutable files that can be ran on any windows platform which has
the necessary runtime DLL's. PHPCompiler works on the original PHP Parser and
tacks the source of your scripts at the end of a custom coded loader. Its fairly
easy to use and when used in conjunction with PHP-GTK(URL) can be used to create
true GUI Applications.


--
Yasuo Ohgaki


""Marian Vasile"" <[EMAIL PROTECTED]> wrote in message
9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> I need a method to compile my php files to give them to a customer.
>
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
>
> Is it possible to encrypt my files ?
>
> Plz HELP ASAP
>
> Yours,
> Marian
>
>
>
> --
> PHP General 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 General 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]


Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Christian Reiniger

On Friday 30 March 2001 10:42, you wrote:
> can't spend that much money for a piece of software; yet, i don't want
> to distribute source that could be copied and distributed (well,
> sometimes that's good ;-), but not if this is a system i've been
> contracted to design )

Little question: If you've been contracted to design it, you get your 
money anyway - whether it's copied or not. So where's the problem?
And: Next time specify in the contract that you own the copyright to the 
code :)

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"World domination. Fast." (Linus Torvalds about Linux)

--
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Christian Reiniger

On Friday 30 March 2001 11:24, you wrote:
> Now the client want's a preview, but he want this preview on his
> server.
>
> The entire solution costs 450 dollars. This price probably is too lower
> for some of you but I dont' live in US, I live in Romania.
> (PS: That's why Jack, I can't afford to buy the encoder... probably I
> will in the future...)
>
> Now what I can do ? The client can take the website (because I have to
> demonstrate that the entire web site fully works) and he will not pay
> me... How I can protect myself ?

Make a contract. If he violates it, sue him. Plain and simple.

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"World domination. Fast." (Linus Torvalds about Linux)

--
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Christian Reiniger

On Friday 30 March 2001 11:10, you wrote:
> Search what ?
> I need to know if there is any way to encode the code... that's it...
> otherwise you have to agree with me that PHP can't be used for
> comercial solutions.

I do use it for commercial solutions. No problem. And I consider it part 
of my service to give my customers full, well-commented source code so 
that they have a chance to continue working with it / maintaining it 
should I get hit by a bus or something.

Besides - I write code I can be proud of, so I absolutely don't mind 
others looking through it :)

> (probably just when it's total trust between partners which is not a
> very common thing)
> Right ?

Wrong :)

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"World domination. Fast." (Linus Torvalds about Linux)

--
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey

enter into a legal contract. if he breaks it, sue him. 
marian, i do understand your issues. I have the same type of problem (or
soon will), but until a free encoder is released, we have to make do
with what we can...and why does it have to be on his server?if you feel
that the person would try and steal your code, all the more reason for a
tight contract...
best of luck
jack

Marian Vasile wrote:
> 
> For all who asked why I need this kind of protection:
> 
> I have a client who wants an web site with registration and everything
> included, poll, message board, forum etc.
> 
> The registration system I builded myself.
> 
> Now the client want's a preview, but he want this preview on his server.
> 
> The entire solution costs 450 dollars. This price probably is too lower for
> some of you but I dont' live in US, I live in Romania.
> (PS: That's why Jack, I can't afford to buy the encoder... probably I will
> in the future...)
> 
> Now what I can do ? The client can take the website (because I have to
> demonstrate that the entire web site fully works) and he will not pay me...
> How I can protect myself ?
> 
> Any idea will be highly apreciated.
> 
> Thanx a lot,
> "Marian Vasile" <[EMAIL PROTECTED]> wrote in message
> 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> > I need a method to compile my php files to give them to a customer.
> >
> > The main problem is that this customer have an account on a shared hosting
> > service and (I think) he can't install a compiler or something new on that
> > server.
> >
> > Is it possible to encrypt my files ?
> >
> > Plz HELP ASAP
> >
> > Yours,
> > Marian
> >
> >
> >
> > --
> > PHP General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile

For all who asked why I need this kind of protection:

I have a client who wants an web site with registration and everything
included, poll, message board, forum etc.

The registration system I builded myself.

Now the client want's a preview, but he want this preview on his server.

The entire solution costs 450 dollars. This price probably is too lower for
some of you but I dont' live in US, I live in Romania.
(PS: That's why Jack, I can't afford to buy the encoder... probably I will
in the future...)

Now what I can do ? The client can take the website (because I have to
demonstrate that the entire web site fully works) and he will not pay me...
How I can protect myself ?

Any idea will be highly apreciated.

Thanx a lot,
"Marian Vasile" <[EMAIL PROTECTED]> wrote in message
9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> I need a method to compile my php files to give them to a customer.
>
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
>
> Is it possible to encrypt my files ?
>
> Plz HELP ASAP
>
> Yours,
> Marian
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Pavel Kalian

Zend Compiler got renamed to Zend Encoder.

Pavel

- Original Message -
From: "Marian Vasile" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 11:19 AM
Subject: Re: [PHP] Compile .php file is possible ?


> I've seen many people talking about Zend compiler...
> Where is that Zend compiler ?
>
> "Marian Vasile" <[EMAIL PROTECTED]> wrote in message
> 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> > I need a method to compile my php files to give them to a customer.
> >
> > The main problem is that this customer have an account on a shared
hosting
> > service and (I think) he can't install a compiler or something new on
that
> > server.
> >
> > Is it possible to encrypt my files ?
> >
> > Plz HELP ASAP
> >
> > Yours,
> > Marian
> >
> >
> >
> > --
> > PHP General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile

I've seen many people talking about Zend compiler...
Where is that Zend compiler ?

"Marian Vasile" <[EMAIL PROTECTED]> wrote in message
9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> I need a method to compile my php files to give them to a customer.
>
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
>
> Is it possible to encrypt my files ?
>
> Plz HELP ASAP
>
> Yours,
> Marian
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Remco B. Brink

"Marian Vasile" <[EMAIL PROTECTED]> writes:

> Search what ?
> I need to know if there is any way to encode the code... that's it...

Run it on a webserver, don't give out access to the code.

If you don't want people to see your code, then don't give it away. Start
programming in C++ or build Apache modules or something.

> otherwise you have to agree with me that PHP can't be used for comercial
> solutions.

I don't. 

It's a totally ridiculous argument as to whether or not PHP is useful for 
commercial solutions.

> (probably just when it's total trust between partners which is not a very
> common thing)
> Right ?

Wrong.

You can just _copyright_ your code. Put it under the GPL (and give other
developers the option of using your great code, as long as they credit you
for it). That way you can still hunt down people who violate the GPL on
your code.

Again, why the desperate need to obfuscate your code? 

regards,
Remco

-- 
Remco B. Brink  Norge-iNvest AS
Kung foohttp://www.norge-invest.com
PGP/GnuPG key at http://remco.xgov.net/rbb.pgp

"Caution: Cape does not enable user to fly." - Batman Costume warning label

-- 
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey

yes there is. the encoder. that's it.
and no, i don't have to agree with you, there are plenty of people on
this list alone who have used php for "commercial" applications...and if
you're doing something that big and commercial the you should be able to
pay the $2400 for the encoder...

-jack

Marian Vasile wrote:
> 
> Search what ?
> I need to know if there is any way to encode the code... that's it...
> otherwise you have to agree with me that PHP can't be used for comercial
> solutions.
> (probably just when it's total trust between partners which is not a very
> common thing)
> Right ?
> 
> Jack Dempsey <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > ok, what exactly do you mean by "php can't be for any use really"
> > better watch that kind of comment on this list ;-)
> > can you not give a solution that's in plain text files because you're
> > worried about people looking at the code, or something like running
> > time, etc...
> > if it's a code issue, there have been discussions of that before in the
> > archives (familiar feeling to that
> > phrase)...http://marc.theaimsgroup.com go to the bottom and find the
> > php-general list and do a search...
> >
> > -jack
> >
> > Marian Vasile wrote:
> > >
> > > I can't believe that no one thought on something to compile all those
> > > scripts out there...
> > > I really can't give a solution based on plain text scripts and in this
> way
> > > php can't be for any use really...
> > >
> > > Anyone have Zend Encoder Unlimited ?
> > > Is there any buyer for this Encoder ?
> > >
> > > "Marian Vasile" <[EMAIL PROTECTED]> wrote in message
> > > 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> > > > I need a method to compile my php files to give them to a customer.
> > > >
> > > > The main problem is that this customer have an account on a shared
> hosting
> > > > service and (I think) he can't install a compiler or something new on
> that
> > > > server.
> > > >
> > > > Is it possible to encrypt my files ?
> > > >
> > > > Plz HELP ASAP
> > > >
> > > > Yours,
> > > > Marian
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General 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 General 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 General 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 General 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 General 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]




RE: [PHP] Compile .php file is possible ?

2001-03-30 Thread Dominick Vansevenant

How are these kinds of things solved with .ASP and .JSP anyway? Or aren't
they?

Are they not suitable for commercial use then

D.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Remco B. Brink
Sent: vrijdag 30 maart 2001 10:05
To: Marian Vasile
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Compile .php file is possible ?


"Marian Vasile" <[EMAIL PROTECTED]> writes:

> I can't believe that no one thought on something to compile all those
> scripts out there...
> I really can't give a solution based on plain text scripts and in this way
> php can't be for any use really...

Maybe I am totally missing something here, but *why* can't PHP be
used for anything if the "sourcecode" can't be compiled?

Do you honestly think that you're the only one who can do PHP coding?

Why the desperate need to obfuscate/compile PHP code if not your
only reason would be speed enhancements (which it apparently isn't)?
speed

regards,
Remco

--
Remco B. Brink  Norge-iNvest AS
Kung foohttp://www.norge-invest.com
PGP/GnuPG key at http://remco.xgov.net/rbb.pgp

"Join the Army, meet interesting people, kill them."


--
PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Remco B. Brink

"Marian Vasile" <[EMAIL PROTECTED]> writes:

> I can't believe that no one thought on something to compile all those
> scripts out there...
> I really can't give a solution based on plain text scripts and in this way
> php can't be for any use really...

Maybe I am totally missing something here, but *why* can't PHP be
used for anything if the "sourcecode" can't be compiled?

Do you honestly think that you're the only one who can do PHP coding?

Why the desperate need to obfuscate/compile PHP code if not your
only reason would be speed enhancements (which it apparently isn't)?
speed 

regards,
Remco

-- 
Remco B. Brink  Norge-iNvest AS
Kung foohttp://www.norge-invest.com
PGP/GnuPG key at http://remco.xgov.net/rbb.pgp

"Join the Army, meet interesting people, kill them."


-- 
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile

Search what ?
I need to know if there is any way to encode the code... that's it...
otherwise you have to agree with me that PHP can't be used for comercial
solutions.
(probably just when it's total trust between partners which is not a very
common thing)
Right ?

Jack Dempsey <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> ok, what exactly do you mean by "php can't be for any use really"
> better watch that kind of comment on this list ;-)
> can you not give a solution that's in plain text files because you're
> worried about people looking at the code, or something like running
> time, etc...
> if it's a code issue, there have been discussions of that before in the
> archives (familiar feeling to that
> phrase)...http://marc.theaimsgroup.com go to the bottom and find the
> php-general list and do a search...
>
> -jack
>
> Marian Vasile wrote:
> >
> > I can't believe that no one thought on something to compile all those
> > scripts out there...
> > I really can't give a solution based on plain text scripts and in this
way
> > php can't be for any use really...
> >
> > Anyone have Zend Encoder Unlimited ?
> > Is there any buyer for this Encoder ?
> >
> > "Marian Vasile" <[EMAIL PROTECTED]> wrote in message
> > 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> > > I need a method to compile my php files to give them to a customer.
> > >
> > > The main problem is that this customer have an account on a shared
hosting
> > > service and (I think) he can't install a compiler or something new on
that
> > > server.
> > >
> > > Is it possible to encrypt my files ?
> > >
> > > Plz HELP ASAP
> > >
> > > Yours,
> > > Marian
> > >
> > >
> > >
> > > --
> > > PHP General 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 General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread rui


i found a way, it's not the best secure thing, and best code obfuscator at all,
but it will keep mosta part of the curious nose out of your code, use APC
cache, it creates cache files encoded you can then use the encoded files, but
you as always need to use they're static object loaded to read the files.

About the php compiler, due to a lot of work, that project i intended to do is
suspended, but if anyone likes to start thinking about it, all that you need to
make a compiler is in the zend engine distributed with the php source, all the
parsing etc is there, so all that you need is to make a encoder of the result
after being parsed from the zend engine, then a decoder for php.

And again, all this is based on 'snooping around' zend engine src code, it may
not be that simple, or, it can be even more simple :)

On 30-Mar-2001 Jack Dempsey wrote:
> you can use the zend encoder (www.zend.com) but it costs over $2000, so
> this may not be viable...but, for right now, i believe that's the only
> way to compile php code...
> 
> -jack
> 
> Marian Vasile wrote:
>> 
>> I need a method to compile my php files to give them to a customer.
>> 
>> The main problem is that this customer have an account on a shared hosting
>> service and (I think) he can't install a compiler or something new on that
>> server.
>> 
>> Is it possible to encrypt my files ?
>> 
>> Plz HELP ASAP
>> 
>> Yours,
>> Marian
>> 
>> --
>> PHP General 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 General 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]

   Rui Barreiros
  Software Developer

WEBSOLUT - Soluções Internet
Emailto: [EMAIL PROTECTED] 
Personal Info: http://websolut.net/people/rui.html

As informações contidas neste email são confidenciais
e destinam-se apenas à(s) pessoa(s) a quem foi enviado:
http://websolut.net/confidencialidade-responsabilidade.html


-- 
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey

ok, what exactly do you mean by "php can't be for any use really"
better watch that kind of comment on this list ;-) 
can you not give a solution that's in plain text files because you're
worried about people looking at the code, or something like running
time, etc...
if it's a code issue, there have been discussions of that before in the
archives (familiar feeling to that
phrase)...http://marc.theaimsgroup.com go to the bottom and find the
php-general list and do a search...

-jack

Marian Vasile wrote:
> 
> I can't believe that no one thought on something to compile all those
> scripts out there...
> I really can't give a solution based on plain text scripts and in this way
> php can't be for any use really...
> 
> Anyone have Zend Encoder Unlimited ?
> Is there any buyer for this Encoder ?
> 
> "Marian Vasile" <[EMAIL PROTECTED]> wrote in message
> 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> > I need a method to compile my php files to give them to a customer.
> >
> > The main problem is that this customer have an account on a shared hosting
> > service and (I think) he can't install a compiler or something new on that
> > server.
> >
> > Is it possible to encrypt my files ?
> >
> > Plz HELP ASAP
> >
> > Yours,
> > Marian
> >
> >
> >
> > --
> > PHP General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Remco B. Brink

"Marian Vasile" <[EMAIL PROTECTED]> writes:

> I heard about something called php-gtk...
> Is that a php compiler ?

>From the Freshmeat project page:

PHP-GTK is a PHP extension that implements language bindings for 
GTK+. It provides an object-oriented interface to GTK+ classes and 
functions and greatly simplifies writing client side cross-platform 
GUI applications.   

http://freshmeat.net/projects/php-gtk/ and http://gtk.php.net/

> Also I heard that is free because is open source project...

GTK-PHP is covered by the GNU Lesser General Public License

regards,
Remco

-- 
Remco B. Brink  Norge-iNvest AS
Kung foohttp://www.norge-invest.com
PGP/GnuPG key at http://remco.xgov.net/rbb.pgp

"no amount of Zen contemplation will ever make you at one
 with a 3c905B ethernet card." --- Alan Cox

-- 
PHP General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile

I can't believe that no one thought on something to compile all those
scripts out there...
I really can't give a solution based on plain text scripts and in this way
php can't be for any use really...

Anyone have Zend Encoder Unlimited ?
Is there any buyer for this Encoder ?

"Marian Vasile" <[EMAIL PROTECTED]> wrote in message
9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> I need a method to compile my php files to give them to a customer.
>
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
>
> Is it possible to encrypt my files ?
>
> Plz HELP ASAP
>
> Yours,
> Marian
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey

no...gtk=gimp tool kit...(think graphics =P)
http://gtk.php-coder.net/
check out that page...Joe Stump threw it together nicely; it has tons of
useful info and links if you're so inclined, but no, nothing to do with
compiling php...

-jack

Marian Vasile wrote:
> 
> I heard about something called php-gtk...
> Is that a php compiler ?
> Also I heard that is free because is open source project...
> 
> Jack Dempsey <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > as a follow up: there was an e-mail recently from someone discussing
> > this topic...i believe he wanted to write his own compiler/encoder for
> > php...anyone heard anything about this? i agree about the price...i
> > can't spend that much money for a piece of software; yet, i don't want
> > to distribute source that could be copied and distributed (well,
> > sometimes that's good ;-), but not if this is a system i've been
> > contracted to design )
> >
> > -jack
> >
> > Marian Vasile wrote:
> > >
> > > Jack Dempsey <[EMAIL PROTECTED]> wrote in message
> > > news:<[EMAIL PROTECTED]>...
> > > > you can use the zend encoder (www.zend.com) but it costs over $2000,
> so
> > > > this may not be viable...but, for right now, i believe that's the only
> > > > way to compile php code...
> > > >
> > > > -jack
> > > >
> > > > Marian Vasile wrote:
> > > > >
> > > > > I need a method to compile my php files to give them to a customer.
> > > > >
> > > > > The main problem is that this customer have an account on a shared
> > > hosting
> > > > > service and (I think) he can't install a compiler or something new
> on
> > > that
> > > > > server.
> > > > >
> > > > > Is it possible to encrypt my files ?
> > > > >
> > > > > Plz HELP ASAP
> > > > >
> > > > > Yours,
> > > > > Marian
> > > > >
> > > > > --
> > > > > PHP General 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 General 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 General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile

I heard about something called php-gtk...
Is that a php compiler ?
Also I heard that is free because is open source project...

Jack Dempsey <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> as a follow up: there was an e-mail recently from someone discussing
> this topic...i believe he wanted to write his own compiler/encoder for
> php...anyone heard anything about this? i agree about the price...i
> can't spend that much money for a piece of software; yet, i don't want
> to distribute source that could be copied and distributed (well,
> sometimes that's good ;-), but not if this is a system i've been
> contracted to design )
>
> -jack
>
> Marian Vasile wrote:
> >
> > Jack Dempsey <[EMAIL PROTECTED]> wrote in message
> > news:<[EMAIL PROTECTED]>...
> > > you can use the zend encoder (www.zend.com) but it costs over $2000,
so
> > > this may not be viable...but, for right now, i believe that's the only
> > > way to compile php code...
> > >
> > > -jack
> > >
> > > Marian Vasile wrote:
> > > >
> > > > I need a method to compile my php files to give them to a customer.
> > > >
> > > > The main problem is that this customer have an account on a shared
> > hosting
> > > > service and (I think) he can't install a compiler or something new
on
> > that
> > > > server.
> > > >
> > > > Is it possible to encrypt my files ?
> > > >
> > > > Plz HELP ASAP
> > > >
> > > > Yours,
> > > > Marian
> > > >
> > > > --
> > > > PHP General 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 General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey

as a follow up: there was an e-mail recently from someone discussing
this topic...i believe he wanted to write his own compiler/encoder for
php...anyone heard anything about this? i agree about the price...i
can't spend that much money for a piece of software; yet, i don't want
to distribute source that could be copied and distributed (well,
sometimes that's good ;-), but not if this is a system i've been
contracted to design )

-jack

Marian Vasile wrote:
> 
> Jack Dempsey <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> > you can use the zend encoder (www.zend.com) but it costs over $2000, so
> > this may not be viable...but, for right now, i believe that's the only
> > way to compile php code...
> >
> > -jack
> >
> > Marian Vasile wrote:
> > >
> > > I need a method to compile my php files to give them to a customer.
> > >
> > > The main problem is that this customer have an account on a shared
> hosting
> > > service and (I think) he can't install a compiler or something new on
> that
> > > server.
> > >
> > > Is it possible to encrypt my files ?
> > >
> > > Plz HELP ASAP
> > >
> > > Yours,
> > > Marian
> > >
> > > --
> > > PHP General 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 General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile

They have PHP support but I don't think they will want to install any other
software...

There is no other solution... ?
There is no other free encoder on the market ?

"Marian Vasile" <[EMAIL PROTECTED]> wrote in message
9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> I need a method to compile my php files to give them to a customer.
>
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
>
> Is it possible to encrypt my files ?
>
> Plz HELP ASAP
>
> Yours,
> Marian
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread elias

Hmm, I believe if were he host there is no PHP support, you can't work it
out. unless:

http://www.zend.com/zend/products.php#encoder
use the encoder, then try to run throught the Zend Optimizer...

""Marian Vasile"" <[EMAIL PROTECTED]> wrote in message
9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]...
> I need a method to compile my php files to give them to a customer.
>
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
>
> Is it possible to encrypt my files ?
>
> Plz HELP ASAP
>
> Yours,
> Marian
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey

you can use the zend encoder (www.zend.com) but it costs over $2000, so
this may not be viable...but, for right now, i believe that's the only
way to compile php code...

-jack

Marian Vasile wrote:
> 
> I need a method to compile my php files to give them to a customer.
> 
> The main problem is that this customer have an account on a shared hosting
> service and (I think) he can't install a compiler or something new on that
> server.
> 
> Is it possible to encrypt my files ?
> 
> Plz HELP ASAP
> 
> Yours,
> Marian
> 
> --
> PHP General 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 General 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]




Re: [PHP] Compile error w/ libextra.a (ranlib)

2001-02-08 Thread Richard Lynch

that this was merely the somewhat out of date and rarely seen _PHP2_ (phew,
I guess...).

So I need to get hosting support for this site up ASAP. I will need support
for both PHP2 and PHP4 (which I will be converting the code to) and both
msql and mysql (again, converting from the former to the latter).  Seeing as

Unless I am grossly mistaken, the PHP/FI (aka PHP2) code simply wasn't
capable of doing that --enable-versioning thing that lets two PHP Modules
co-exist happily.

So you are *not* going to successfully get both installed in one httpd
binary as Modules.

You've got a couple options:

1. Install a whole 'nother httpd on a different port from 80 (say, 81) and
make that the new one with SSL, PHP4, MySQL etc. and port page by page until
you're all done.  Then a quick presto-chango, and you can swap out that
dinosaur.

2. Deprecate PHP2 to use CGI install with a different extension (.phtml or
.php2 or .phpfi or...) and have only PHP4 as a Module.  (Or, vice versa --
PHP2 as module, PHP4 as CGI).

Oh yeah -- msql to mysql conversion is probably going to be a breeze.
Global search and replace and test the page.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm




-- 
PHP General 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]