Re: [PHP] Compiling PHP
Leon, This was discussed on this list at length, ending about a week or so ago. Please look in the archives for it. There was a lot of detail which may be useful to you. Basically the consenus answer was no. Regards Chris Leon Mergen wrote: >Hello, > >I'm currently camping with a problem... I have written a PHP application for >a client of mine, however, I do not want have him seeing the source code. I >know Zend has the Zend Encoder, however, this piece of software costs $2400 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling php??
On Thu, 8 Feb 2001 14:18, GAYTAN BAHAMONDEZ DANIEL EDUARDO wrote: > Hi there, > Is there a way to compile php files so that no one can read them > but php will undestand them?? something like .exe in win > > Thanks in advance http://www.zend.com/zend/products.php#encoder has some information. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- 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] Compiling php??
El Jue 08 Feb 2001 00:48, GAYTAN BAHAMONDEZ DANIEL EDUARDO escribió: > Hi there, > Is there a way to compile php files so that no one can read them > but php will undestand them?? something like .exe in win I think zend will (or is) do that. Saludos... ;-) -- System Administration: It's a dirty job, but someone told I had to do it. - Martín Marqués email: [EMAIL PROTECTED] Santa Fe - Argentinahttp://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar - -- 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] Compiling PHP with XML????
On Wednesday, June 26, 2002, at 11:57 AM, Scott Fletcher wrote: > I looked in the "./configure --help" for the xml support. It didn't > say but > show some options such as disabling xml, using xml with different > stuffs. > Nothing is being mentioned about enabling xml or something. So, is xml > in > php supported automatically? Yes. Since 4.1.x at least. But for XSLT you need to get expat and Sablotron and link them into the compile (with the appropriate ./configure options). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
Cool! Just finished compiling PHP before I read your post. :-) I took the risk and include hte "--enable-xml" option even though it is not included and it compiled successfully. But with a lot of warning though. Thanks! Scott "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, June 26, 2002, at 11:57 AM, Scott Fletcher wrote: > > > I looked in the "./configure --help" for the xml support. It didn't > > say but > > show some options such as disabling xml, using xml with different > > stuffs. > > Nothing is being mentioned about enabling xml or something. So, is xml > > in > > php supported automatically? > > Yes. Since 4.1.x at least. But for XSLT you need to get expat and > Sablotron and link them into the compile (with the appropriate > ./configure options). > > > Erik > > > > > > > Erik Price > Web Developer Temp > Media Lab, H.H. Brown > [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
> Yes. Since 4.1.x at least. But for XSLT you need to get expat and > Sablotron and link them into the compile (with the appropriate > ./configure options). Hum, I did spent some time yesterday on exactly that, but with no success (yet). I'm using Linux RedHat 7.1. Expat 1.95.3 Sablotron 0.95-1 PHP 4.2.1 Compiling and installing Expat and Sablotron works fine (so it seems) but after that I get errors compiling PHP with XSLT options. Compiling without the XSLT options works just fine. These are the PHP options I use: --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-apxs=/usr/sbin/apxs --enable-track-vars --enable-magic-quotes --enable-debugger --enable-xslt --with-xslt-sablot The last two are the ones that I have added to allow for XSLT Am I missing something? René -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
On Thursday, June 27, 2002, at 03:14 AM, René Moonen wrote: > Compiling and installing Expat and Sablotron works fine (so it seems) > but after that I get errors compiling PHP with XSLT options. Compiling > without the XSLT options works just fine. These are the PHP options I > use: > >--prefix=/usr/local/php >--with-config-file-path=/usr/local/php >--with-apxs=/usr/sbin/apxs >--enable-track-vars >--enable-magic-quotes >--enable-debugger >--enable-xslt >--with-xslt-sablot > > The last two are the ones that I have added to allow for XSLT > > > Am I missing something? This is a command history from when I added XSLT to my dist. It's older (PHP 4.1.2) but it should still work with newer PHP distributions: 2002-03-11 XSLT upgrade log for PHP At this time, the /usr/local/src directory has the following directories (all expanded from tarballs): apache_1.3.22/ expat-1.95.2/ mysql-3.23.46-pc-linux-gnu-i686/ php-4.1.2/ Sablot-0.90/ tarballs/ /usr/local/apache/bin/apachectl stop /usr/local/mysql/bin/mysqladmin -u root -p shutdown (shuts down the daemons so we can work on them) cd /usr/local/src/ (this is where we start) pushd expat-1.95.2/ (enter the expat source directory) less README ./configure --help ./configure make make install popd (back to /usr/local/src) (always good economy to read the docs and see what ./configure options there are, though none were actually chosen) pushd Sablot-0.90/ (enter the Sablotron source directory) less README ./configure --help ./configure make make install popd (back to /usr/local/src) (same as for expat) pushd apache_1.3.22/ (enter the Apache source directory) rm config.cache make clean pushd ./src/modules/php4/ (enter the php4 module source directory within the Apache source directory) rm config.cache make clean popd (return to the Apache source directory) (the rm and make clean commands were probably not necessary, but I wanted to be sure not to use any old data) ./configure --prefix=/usr/local/apache (execute the ./configure script to show Apache where to be installed, but do not make yet) pushd ../php-4.1.2/ (jump out of the Apache source directory to /usr/local/src/php-4.1.2) rm config.cache make clean (clean up the php-4.1.2 source directory) ./configure --with-apache=/usr/local/src/apache_1.3.22/ \ --with-mysql=/usr/local/mysql/ \ --enable-sockets \ --with-zlib \ --with-xmlrpc \ --enable-xslt \ --with-xslt-sablot make make install popd (back to the Apache source directory [/usr/local/src/apache_1.3.22]) (create the PHP binary with the ./configure options for using MySQL [requires zlib on RH 7.2], socket functions, XML-RPC, and XSLT with Sablotron, and then install the binary into the "modules" source directory in the Apache source directory) ./configure --activate-module=src/modules/php4/libphp4.a \ --enable-module=so \ --enable-shared=max (run the Apache ./configure script again, this time specifying that PHP is to be installed as a static module and that Apache should be compiled to accept later dynamic shared object modules [no, the libphp4.a file does not exist yet but ./configure it anyway]) pushd ./src/modules/php4/ make (compile the PHP module into Apache, no 'make install' necessary) popd (back to the Apache source directory, /usr/local/src/apache_1.3.22) make make install (final compile and install of Apache with the now-embedded PHP module) popd (back to /usr/local/src) cd /usr/local/mysql/ ./bin/safe_mysqld --user=mysqladm & (start mysql daemon, safe_mysqld can only be executed from /usr/local/mysql) /usr/local/apache/bin/apachectl start (start Apache) Then test to make sure that MySQL and Apache are working by requesting a phpinfo() page or MySQL-generated page. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
On Thu, Jun 27, 2002 at 09:14:32AM +0200, René Moonen wrote: > > > >Yes. Since 4.1.x at least. But for XSLT you need to get expat and > >Sablotron and link them into the compile (with the appropriate > >./configure options). > > > > Hum, I did spent some time yesterday on exactly that, but with no > success (yet). > > I'm using >Linux RedHat 7.1. >Expat 1.95.3 >Sablotron 0.95-1 >PHP 4.2.1 I had the same problem yesterday afternoon, trying to compile PHP with Sablotron 0.95. Last week, I did a compile with Sablotron 0.90 and everything was good, so I downgraded 0.95 to 0.90 and was able to successfully build PHP. > Compiling and installing Expat and Sablotron works fine (so it seems) > but after that I get errors compiling PHP with XSLT options. Compiling > without the XSLT options works just fine. These are the PHP options I use: > >--prefix=/usr/local/php >--with-config-file-path=/usr/local/php >--with-apxs=/usr/sbin/apxs >--enable-track-vars >--enable-magic-quotes >--enable-debugger >--enable-xslt >--with-xslt-sablot > > The last two are the ones that I have added to allow for XSLT > > > Am I missing something? > > > René > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- James Clifford [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
>I had the same problem yesterday afternoon, trying to compile PHP with >Sablotron 0.95. Last week, I did a compile with Sablotron 0.90 and everything >was good, so I downgraded 0.95 to 0.90 and was able to successfully build >PHP. > > That did it for me also... thanks René -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP for Apache.
El Jue 15 Feb 2001 11:47, escribiste: > Hi! > > Right now, I'm trying to figure out which step in order is > appropriate. I'm going to put it down now, if I got it wrong then help me > out with the correct order. Whether it is from scratch or from existing > softwares. > > > 1) OpenSSL > 2) libmcrypt (Add-on to PHP) > 3) PHP 4.0 > 4) mod_ssl > 5) apache OS is an importante issue. More info please. Saludos... ;-) -- System Administration: It's a dirty job, but someone told I had to do it. - Martín Marqués email: [EMAIL PROTECTED] Santa Fe - Argentinahttp://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar - -- 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] Compiling PHP for Apache.
you might find this useful http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ best regards Ankur Verma HCL Technologies A1CD, Sec -16 Noida, UP India - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 8:17 PM Subject: [PHP] Compiling PHP for Apache. > Hi! > > Right now, I'm trying to figure out which step in order is > appropriate. I'm going to put it down now, if I got it wrong then help me > out with the correct order. Whether it is from scratch or from existing > softwares. > > > 1) OpenSSL > 2) libmcrypt (Add-on to PHP) > 3) PHP 4.0 > 4) mod_ssl > 5) apache > > Thanks, > Scott > > > > -- > 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] Compiling php like C
zend encoder (www.zend.com) and there's also an opensource project...can't recall the name or link, but you can find it if you search the archives jack -Original Message- From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 15, 2001 3:04 AM To: [EMAIL PROTECTED] Subject: [PHP] Compiling php like C Hi, Has anyone done this to date?? I was thinking of compiling my programs for better perfomance, and of course, protect the source code. Anyone have any ideas on this issue? Regards, Kunal Jhunjhunwala -- 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] Compiling php like C
I know about zend, but are there any other alternatives to it?? And isnt really compiling code. Plus it costs a bundle. Regards, Kunal Jhunjhunwala Two brothers torn apart by Chaos, while the fortress endures, the great leader will succumb , The third big war will begin when the big city is burning" - - Nostradamus 1654 - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2001 12:54 PM Subject: RE: [PHP] Compiling php like C > zend encoder (www.zend.com) and there's also an opensource project...can't > recall the name or link, but you can find it if you search the archives > > jack > > -Original Message- > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 15, 2001 3:04 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Compiling php like C > > > Hi, > Has anyone done this to date?? I was thinking of compiling my programs for > better perfomance, and of course, protect the source code. Anyone have any > ideas on this issue? > Regards, > Kunal Jhunjhunwala > > > -- > 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] Compiling php like C
yeah, i definitely agree with you, i can't/won't use it, as good as it is there was that one open source project that someone mentioned here, and i believe the developer said his results were about as good as zend...try the archives... jack -Original Message- From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 15, 2001 3:27 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Compiling php like C I know about zend, but are there any other alternatives to it?? And isnt really compiling code. Plus it costs a bundle. Regards, Kunal Jhunjhunwala Two brothers torn apart by Chaos, while the fortress endures, the great leader will succumb , The third big war will begin when the big city is burning" - - Nostradamus 1654 - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2001 12:54 PM Subject: RE: [PHP] Compiling php like C > zend encoder (www.zend.com) and there's also an opensource project...can't > recall the name or link, but you can find it if you search the archives > > jack > > -Original Message- > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 15, 2001 3:04 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Compiling php like C > > > Hi, > Has anyone done this to date?? I was thinking of compiling my programs for > better perfomance, and of course, protect the source code. Anyone have any > ideas on this issue? > Regards, > Kunal Jhunjhunwala > > > -- > 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] Compiling php like C
Hey found it :) http://212.67.208.211/ Regards, Kunal Jhunjhunwala Two brothers torn apart by Chaos, while the fortress endures, the great leader will succumb , The third big war will begin when the big city is burning" - - Nostradamus 1654 - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2001 1:04 PM Subject: RE: [PHP] Compiling php like C > yeah, i definitely agree with you, i can't/won't use it, as good as it > is > there was that one open source project that someone mentioned here, and i > believe the developer said his results were about as good as zend...try the > archives... > > jack > > -Original Message- > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 15, 2001 3:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Compiling php like C > > > I know about zend, but are there any other alternatives to it?? And isnt > really compiling code. Plus it costs a bundle. > Regards, > Kunal Jhunjhunwala > > Two brothers torn apart by Chaos, while the fortress > endures, the great leader will succumb , The third > big war will begin when the big city is burning" - > - Nostradamus 1654 > > - Original Message - > From: "Jack Dempsey" <[EMAIL PROTECTED]> > To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, September 15, 2001 12:54 PM > Subject: RE: [PHP] Compiling php like C > > > > zend encoder (www.zend.com) and there's also an opensource project...can't > > recall the name or link, but you can find it if you search the > archives > > > > jack > > > > -Original Message- > > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, September 15, 2001 3:04 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Compiling php like C > > > > > > Hi, > > Has anyone done this to date?? I was thinking of compiling my programs for > > better perfomance, and of course, protect the source code. Anyone have any > > ideas on this issue? > > Regards, > > Kunal Jhunjhunwala > > > > > > -- > > 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] Compiling php like C
http://212.67.208.211/ This wont compile my code.. i need something that will compile my code and let me distribute the compiled code. Regards, Kunal Jhunjhunwala - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2001 1:04 PM Subject: RE: [PHP] Compiling php like C > yeah, i definitely agree with you, i can't/won't use it, as good as it > is > there was that one open source project that someone mentioned here, and i > believe the developer said his results were about as good as zend...try the > archives... > > jack > > -Original Message- > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 15, 2001 3:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Compiling php like C > > > I know about zend, but are there any other alternatives to it?? And isnt > really compiling code. Plus it costs a bundle. > Regards, > Kunal Jhunjhunwala > > Two brothers torn apart by Chaos, while the fortress > endures, the great leader will succumb , The third > big war will begin when the big city is burning" - > - Nostradamus 1654 > > - Original Message - > From: "Jack Dempsey" <[EMAIL PROTECTED]> > To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, September 15, 2001 12:54 PM > Subject: RE: [PHP] Compiling php like C > > > > zend encoder (www.zend.com) and there's also an opensource project...can't > > recall the name or link, but you can find it if you search the > archives > > > > jack > > > > -Original Message- > > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, September 15, 2001 3:04 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Compiling php like C > > > > > > Hi, > > Has anyone done this to date?? I was thinking of compiling my programs for > > better perfomance, and of course, protect the source code. Anyone have any > > ideas on this issue? > > Regards, > > Kunal Jhunjhunwala > > > > > > -- > > 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] Compiling php like C
Kunal Jhunjhunwala wrote: >>Two brothers torn apart by Chaos, while the fortress >>endures, the great leader will succumb , The third >>big war will begin when the big city is burning" - >>- Nostradamus 1654 Would you _please_ stop posting this nonsense/hoax? http://www.snopes2.com/inboxer/hoaxes/predict.htm -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \ \/ / | | | |\___ \| | | | PostMaster) | \ / | |__| |) | |__| | \/\/\/ \/|_/ http://www.silvervalley.k12.ca.us [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] Compiling php like C
Allright guys.. im sorry abt the signiture.. Regards, Kunal Jhunjhunwala - Original Message - From: "Seb Frost" <[EMAIL PROTECTED]> To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2001 9:54 PM Subject: RE: [PHP] Compiling php like C > I think you'll find Nostradamus died in 1566, and someone wrote that passage > as part of their coursework on the subject a few years back > > - seb > > -Original Message- > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > Sent: 15 September 2001 08:43 > To: Jack Dempsey > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Compiling php like C > > > Hey found it :) > http://212.67.208.211/ > Regards, > Kunal Jhunjhunwala > > Two brothers torn apart by Chaos, while the fortress > endures, the great leader will succumb , The third > big war will begin when the big city is burning" - > - Nostradamus 1654 > > - Original Message - > From: "Jack Dempsey" <[EMAIL PROTECTED]> > To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, September 15, 2001 1:04 PM > Subject: RE: [PHP] Compiling php like C > > > > yeah, i definitely agree with you, i can't/won't use it, as good as it > > is > > there was that one open source project that someone mentioned here, and i > > believe the developer said his results were about as good as zend...try > the > > archives... > > > > jack > > > > -Original Message- > > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, September 15, 2001 3:27 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] Compiling php like C > > > > > > I know about zend, but are there any other alternatives to it?? And isnt > > really compiling code. Plus it costs a bundle. > > Regards, > > Kunal Jhunjhunwala > > > > Two brothers torn apart by Chaos, while the fortress > > endures, the great leader will succumb , The third > > big war will begin when the big city is burning" - > > - Nostradamus 1654 > > > > - Original Message - > > From: "Jack Dempsey" <[EMAIL PROTECTED]> > > To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > > Sent: Saturday, September 15, 2001 12:54 PM > > Subject: RE: [PHP] Compiling php like C > > > > > > > zend encoder (www.zend.com) and there's also an opensource > project...can't > > > recall the name or link, but you can find it if you search the > > archives > > > > > > jack > > > > > > -Original Message- > > > From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, September 15, 2001 3:04 AM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] Compiling php like C > > > > > > > > > Hi, > > > Has anyone done this to date?? I was thinking of compiling my programs > for > > > better perfomance, and of course, protect the source code. Anyone have > any > > > ideas on this issue? > > > Regards, > > > Kunal Jhunjhunwala > > > > > > > > > -- > > > 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] > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/2001 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/2001 > > > -- 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] Compiling PHP on Solaris 7
Greetings, Thomas. Did you solve this problem? If not, I would suggest getting rid of the "--enable-libgcc" in your ./configure command. Here's how I configured my installation of 4.2.0 for Solaris 8: (Directory names XXX'ed out) './configure' '--prefix=XXX' '--enable-cli' '--enable-magic-quotes' '--disable-short-tags' '--enable-bcmath' '--enable-calendar' '--enable-dba=shared' '--enable-dbx' '--enable-dio' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-shmop' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-tokenizer' '--enable-wddx' '--enable-yp' '--enable-inline-optimization' '--with-apxs=XXX' '--with-openssl=shared,XXX' '--with-zlib=shared,XXX' '--with-bz2=shared,XXX' '--with-curl=shared,XXX' '--with-gd=shared,XXX' '--with-ldap=shared,XXX' '--with-mcal=shared,XXX' '--with-mcrypt=shared,XXX' '--with-mnogosearch=shared,XXX' '--with-mysql=shared,XXX' '--with-sybase-ct=shared,XXX' '--with-expat-dir=XXX' I'm building with gcc 3.0.3. Regards, /bsh/ Thomas Finley wrote: > Pleas help. I'm installing php on a Solaris 7 server that is running > iplanet 4.1. > > PHP Version 4.2.1 > > Configure: (I had more compiled in (gd, gdbm...) but error below > occured so I cut it down) > > ./configure --with-nsapi=/usr/netscape/server4 --enable-libgcc \ > --prefix=/usr --with-mysql=/usr/local/mysql --enable-track-vars > > The Error: > > bash-2.05# make > Making all in Zend > make[1]: Entering directory `/usr/share/src/php-4.2.1/Zend' > /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS > -D_REENTRANT -I../TSRM -g -O2 -pthreads -DZTS -prefer-pic -c -o > zend_language_parser.lo `test -f zend_language_parser.c || echo > './'`zend_language_parser.c > In file included from zend_compile.h:24, > from zend_language_parser.c:147: > zend.h:55: unix.h: No such file or directory > make[1]: *** [zend_language_parser.lo] Error 1 > make[1]: Leaving directory `/usr/share/src/php-4.2.1/Zend' > make: *** [all-recursive] Error 1 > > Thomas Finley > [EMAIL PROTECTED] > > -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | "All opinions and technical advice offered in this message are my | | own and not necessarily endorsed by my employer." | \--=[ [EMAIL PROTECTED] ]=/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP as static mod
Hi In your php config give it the path to the apache source files not the install directory. Tom At 11:55 AM 6/06/2002, Ray Hunter wrote: >When I try to compile php as a static module in php I get errors that the >mod_php4.c cannot find the header file. > >Here is my php configuration: > >./configure --build=i386-redhat-linux-gnu --prefix=/usr/local/php >--with-apache=/usr/local/apache --with-sybase-ct=/sybase --with-mysql=/usr >--enable-exif --with-gd --with-jpeg-dir=/usr/lib >--with-png-dir=/usr/local/lib --with-zlib --with-config-file-path=/etc >--with-freetype-dir=/usr/local/lib --with-regex=system --enable-xml >--enable-dbx --enable-bcmath --enable-calendar --enable-magic-quotes >--enable-inline-optimization --enable-trans-sid --oldincludedir=/usr/include >--libdir=/usr/lib > > >Here is my apache configuration: >./configure --prefix=/usr/local/apache >--activate-module=src/modules/php4/libphp4.a > > >Basically, apache cannot find PHP's header files. > > >Any help would be much appreciated. > >Thank you, > >RAY HUNTER -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling PHP with jpeg-support
Your GD library probably wasn't compiled with jpeg support. -Rasmus On Sun, 14 Jan 2001, Joakim Bomelin wrote: > Hi. > I'm trying to compile PHP with jpeg-support, but it doesn't seem to work. > my configure-line looks like this: "./configure > --with-apxs=/usr/local/apache/bin/apxs --with-ldap --with-mysql --with-gd > --with-jpeg-dir=/usr --with-png --with-zlib --with-ttf" and when I run it I > get: > checking for libjpeg (needed by gd-1.8+)... yes > checking for jpeg_read_header in -ljpeg... yes > checking for gdImageCreateFromJpeg in -lgd... no > > imagePng() and imagettftext() is working, so PNG and Freetype is compiled > in. imageJpeg(), how ever, does NOT work. > > Any ideas on how I can solve this problem? > > /Joakim > > > -- > 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] compiling PHP with jpeg-support
>Your GD library probably wasn't compiled with jpeg support. When I try to use gdImageJpeg() in a C program I get no errors. Is there a way of telling wheter GD has jpeg support or not? /Joakim -- 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] compiling PHP with jpeg-support
nm -o libgd.a | grep -i jpeg Triple-check that you don't have multiple versions of libgd.a on your system. -Rasmus On Sun, 14 Jan 2001, Joakim Bomelin wrote: > > >Your GD library probably wasn't compiled with jpeg support. > > When I try to use gdImageJpeg() in a C program I get no errors. Is there a > way of telling wheter GD has jpeg support or not? > > /Joakim > > > -- > 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] Compiling PHP with "--with-apxs"
Hello Jero, (J == "Jero") [EMAIL PROTECTED] writes: J> checking for Apache module support via DSO through APXS... apxs:Error: J> Sorry, no DSO support for Apache available J> apxs:Error: under your platform. Make sure the Apache J> apxs:Error: module mod_so is compiled into your server J> apxs:Error: binary `/usr/local/apache/bin/httpd'. The only time I've ever gotten this error is when there were either two installations of Apache on the system, or leftovers from a previous installation (Ie. BSDi (the worst) and RedHat). Run updatedb if you're on Linux, then do a locate for apxs. If you find more than one, you need to find out which one belongs to the currently running httpd. If all else fails you can backup your web files, cgi-bin, configuration files, etc. and remove everything that is Apache on the system. Then do a complete, fresh install of Apache and try building PHP as a DSO again. But, I would probably make sure it's not getting confused by the multiple apxs scripts first. -Brian -- 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] compiling php 4.2 with apache 2.0.35
No, you need to install Apache first if you want to build PHP as an Apache module. I'd suggest sticking with Apache 1.3.x for now though. -Rasmus On Wed, 24 Apr 2002, Michal Dvoracek wrote: > Hello, > > i have problem with %subj%. > > It's possible to build php without apxs2 ? > Building php with apxs2 - apxs must be instaled before (e.g. apache > must be instaled first ?) > > Regards, > Michal Dvoracek [EMAIL PROTECTED] > > > -- > 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] compiling php 4.2 with apache 2.0.35
choices: compile PHP as a DSO module for apache (preferred) compile PHP as a static-linked module for apache - see www.php.net/docs.php for installation instructions DSO module installation: untar httpd and php distributions cd httpd-$vers ./configure --prefix=/path/to/install --enable-module=so make make install cd ../php-$vers ./configure --with-apxs2=/path/to/apache/bin/apxs {other install flags} make make install vi /path/to/apache/conf/httpd.conf { add php options to apache configuration } /path/to/apache/bin/apachectl start -- Michael Geier CDM Sports, Inc. - Systems Administrator email: [EMAIL PROTECTED] phone: 314.991.1511 x 6505 pager: 314.318.9414 || [EMAIL PROTECTED] Quoting Michal Dvoracek <[EMAIL PROTECTED]>: > Hello, > > i have problem with %subj%. > > It's possible to build php without apxs2 ? > Building php with apxs2 - apxs must be instaled before (e.g. apache > must be instaled first ?) > > Regards, > Michal Dvoracek [EMAIL PROTECTED] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > - This mail sent through CDM Sports Webmail. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php