[PHP] make test failures (was Re: [PHP] Compiling PHP 5.2.3)

2007-08-30 Thread Eric Gorr
I was able to get past the configure problem. It was apparently  
associated with the --with-imap option and I don't need imap support.


In any case, I got to the make test and got the following failures:

=
FAILED TEST SUMMARY
-
Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail  
on MacOS X) [tests/lang/bug30638.phpt]
imagecreatefromwbmp with invalid wbmp [ext/gd/tests/ 
createfromwbmp2.phpt]

Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt]
Test gettype()  settype() functions : usage variations [ext/standard/ 
tests/general_functions/gettype_settype_variation2.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/ 
tests/strings/htmlentities02.phpt] (warn: possibly braindead libc)
htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/ 
strings/htmlentities04.phpt]
htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/ 
strings/htmlentities15.phpt]

Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt]
=


Are these failures expected?


On Aug 30, 2007, at 2:43 PM, Eric Gorr wrote:

I am attempting to compile PHP 5.2.3 and am having trouble with the  
configuration step:


configure: error: utf8_mime2text() has new signature, but  
U8T_CANONICAL is missing. This should not happen. Check config.log  
for additional information.


I cannot figure this one out. Any help would be appreciated.

I am using MacPorts (http://www.macports.org/ - same idea as Fink)  
to obtain various packages I need and am running MacOSX 10.4.10.


To what configuration option does this belong? If it belongs to  
something I don't really need, I'll just turn the option off.


What MacPort would I need to install? I could even install  
something via Fink, if wha tI need is not available via MacPorts.


My configure line currently is:


./configure --prefix=/mine/local/php5 --with-apxs2=/opt/local/ 
apache2/bin/apxs --with-config-file-scan-dir=/mine/local/php5/php.d  
--with-iconv-dir=/opt/local --with-iconv --with-openssl=/opt/local  
--with-zlib=/opt/local --with-gd=/opt/local --with-zlib-dir=/opt/ 
local --with-ldap --with-xmlrpc --with-snmp=/opt/local --enable- 
sqlite-utf8 --enable-exif --enable-wddx --enable-soap --with- 
sqlite=/opt/local --enable-ftp --enable-sockets --enable-dbx -- 
enable-dbase --enable-mbstring --enable-calendar --enable-bcmath -- 
with-bz2=/opt/local --enable-memory-limit --with-curl=shared,/mine/ 
local/php5 --with-mysql=shared,/mine/local/php5 --with- 
mysqli=shared,/mine/local/php5/bin/mysql_config --with-pdo- 
mysql=shared,/mine/local/php5 --with-libxml-dir=shared,/mine/local/ 
php5 --with-xsl=shared,/mine/local/php5 --with-pdflib=shared,/mine/ 
local/php5 --with-imap=../imap-2004g --with-kerberos=/opt/local -- 
with-imap-ssl=/opt/local --with-jpeg-dir=/mine/local/php5 --with- 
png-dir=/mine/local/php5 --enable-gd-native-ttf --with-freetype- 
dir=/opt/local --with-iodbc=shared,/opt/local --with-pgsql=shared,/ 
mine/local/php5 --with-pdo-pgsql=shared,/mine/local/php5 --with- 
t1lib=/opt/local --with-gettext=shared,/mine/local/php5 --with- 
ming=shared,/mine/local/php5 --with-mcrypt=shared,/mine/local/php5  
--with-mhash=shared,/mine/local/php5 --with-mssql=shared,/mine/ 
local/php5 --with-json=shared --enable-memcache --with-xpm-dir=/opt  
--with-readline=/opt --enable-openbase_module


I'm sure there are still problems with it that I am slowly working  
through...I basically copied the one from http://www.entropy.ch/ 
software/macosx/php/ since I know that installation of PHP has  
worked for me in the past.


--
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 to use imagettftext

2005-11-15 Thread Jason
seems like as soon as I post to the list, I end up figgereing it out..
anyway, heres what ended up working.


./configure -v --with-oci8=/apps/oracle  
--with-apxs=/local/apache-1333/bin/apxs 
--with-gd=/local/stuff --with-mysql=/local/stuff --with-curl 
--with-imap=/local/jason/imap-2002d 
--with-config-file-path=/local/apache/libexec --enable-bcmath --enable-calendar 
--with-zlib 
--with-dom --with-db4=/local/stuff --with-dba --with-gettext --with-iconv 
--with-mcrypt=/local/stuff --with-openssl=/local/stuff  
--with-mcal=/local/jason/libmcal 
--with-curl=/local/stuff --with-jpeg-dir=/local/stuff 
--with-png-dir=/local/stuff 
--with-ldap=/local/stuff --enable-gd-native-ttf --with-ttf 
--with-xpm-dir=/local/stuff/X11 
--with-freetype-dir=/local/stuff

Jason

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



RE: [PHP] compiling PHP

2005-11-10 Thread Jay Blanchard
[snip]
I have been digitizing a bungh of 35 mm slides for a client and making
a static index and putting all of this on a CD.

They are getting to the stage where they would like it to be at least
somewhat dynamic.  On my laptop I have installed XAMPP and it seems to
work decently well.

Is there some distribution of PHP (similar to XAMPP) to where I could
have it load up PHP (or at least a subset of it) so I could then have
the autortun file open the browser to a file so I can provide them
dynamic content based in PHP?

XAMPP is not an option due to it potentially confusing the client.

What do you all think?
[/snip]

I think I'd like a rum and coke, minus the coke. Look at
http://www.priadoblender.com

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



Re: [PHP] Compiling PHP 4.3.3 with large file support

2005-01-27 Thread Marek Kilimajer
Jon wrote:
I'm running Fedora Core 1, all packages up to date.  I want to add large
file support to php.  I downloaded the source rpm. Added
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS in the spec file,
rebuilt the rpm and installed it.  Apache starts fine but I get
[notice] child pid  exit signal Segmentation fault (11) when ever
I request a page.  Compiling the same source without those flags works
fine.  I must be missing something, but I am in way over my head.  Can
someone tell me what I am doing wrong?
You did not mention your apache version and php setup (mod_php vs. cgi)
IMHO if you are using mod_php, both apache and php must be compiled with 
the same _FILE_OFFSET_BITS or you get segmen. fault. LFS is available on 
 for apache 2.X only. CGI should not be affected as it's another process.

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


Re: [PHP] Compiling PHP 4.3.3 with large file support

2005-01-27 Thread Jon
Ok, I am using Apache 2.0.51, and PHP 4.3.8.  I compiled both srpms with
the -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 added to the CFLAGS.
Attached is the last few lines of an strace httpd -X.  Compiling without
these flags works fine.

##  strace
###
brk(0)  = 0x80119000
brk(0x8013a000) = 0x8013a000
fcntl64(8, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(8, 0x801194d8, 8000)   = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 30) = 1
read(8, GET /index.php HTTP/1.1\r\nHost: t..., 8000) = 784
gettimeofday({1106860629, 791325}, NULL) = 0
stat64(/var/www/html/index.php, {st_mode=S_IFREG|0744,
st_size=24699, ...}) = 0
open(/var/www/html/index.php, O_RDONLY) = 9
read(9, ?php\r\n\r\n/**..., 4096) = 4096
close(9)= 0
getpid()= 21659
open(/var/www/html/index.php, O_RDONLY) = 9
gettimeofday({1106860629, 792560}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


On Thu, 2005-01-27 at 12:45 +0100, Marek Kilimajer wrote:
 Jon wrote:
  I'm running Fedora Core 1, all packages up to date.  I want to add large
  file support to php.  I downloaded the source rpm. Added
  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS in the spec file,
  rebuilt the rpm and installed it.  Apache starts fine but I get
  [notice] child pid  exit signal Segmentation fault (11) when ever
  I request a page.  Compiling the same source without those flags works
  fine.  I must be missing something, but I am in way over my head.  Can
  someone tell me what I am doing wrong?
  
 
 You did not mention your apache version and php setup (mod_php vs. cgi)
 IMHO if you are using mod_php, both apache and php must be compiled with 
 the same _FILE_OFFSET_BITS or you get segmen. fault. LFS is available on 
   for apache 2.X only. CGI should not be affected as it's another process.
 

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



Re: [PHP] Compiling PHP with external mySQL libraries

2005-01-07 Thread Richard Lynch
DAvid wrote:
 1) Does adding 'shared,' as a ./configure option mean the module is
 compiled
 as an external, dynamically loaded module as compared to the module being
 statically linked into the 'exe' file? So that adding 'shared,' means I
 must
 add a line in the PHP ini file to load the extension (or load with a
 funcion
 call).

Yes.

'shared' == .dll or .so dynamic library to load in
'static' == library is bundled into php binary

 2) When configuring PHP with mysql support by something like
 '--with-mysql=/usr' does it automatically create a shared module? i.e do
 both these following configs produce the same result '--with-mysql=/usr'
 and
 '--with-mysql=shared,/usr'?

No.
'shared' creates the DLL/.so and you need to load it.
absence of 'shared' means it's bundled in.

 The reason I ask, is I see many PHP info pages that specify
 '--with-mysql=[DIR]' without the 'shared,' bit, and they do specify an
 external library with the [DIR] part, but in the mysql info section
 'MYSQL_MODULE_TYPE' shows as 'external'. I thought 'shared,' would have to
 be added to create an external dynamic loaded module?

'external' versus 'built-in' is another wrinkle.

Here's how I understand it:

'shared' versus 'static' is the usual for libraries.

There's a MySQL guy on the PHP team, who also provides a 'built-in' versus
'external' MySQL.

He basically maintains a copy of the MySQL library *directly* in PHP
source code.

So it breaks down like:
Built-in -- source code *in* PHP source
External -- usual deal of source code from MySQL
 static -- bundle MySQL library into php binary
 shared -- create DLL/.so library to be loaded in

I don't think the static/shared option has any meaning under 'Built-in' --
'Built-in' is kind of like static inherently, only even more so.

I'm not sure of the benefits of 'built-in'...
Performance gain???
Convenience of not needing to get ./configure to find MySQL source???
Bragging rights for PHP and MySQL??? :-)

The downside is that you'be *GOT* to run the exact same version of MySQL
that is built-in to PHP source -- If that's on 4.x.y and you're running
4.x.(y+1) don't go there.  If you manage to get it to run, you'll run this
risk that eventually you'll run across that *one* function that changed
betwween y and (y+1) and Bam! you've got a nasty bug.

The pros and cons of 'static' versus 'shared' are pretty well-documented
elsewhere and are common enough to enough modules and other software
packages with the same structure.

But 'built-in' versus 'external' I'm not sure if that's been documented
why/when...  Maybe Google for it.

-- 
Like Music?
http://l-i-e.com/artists.htm

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



Re: [PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)

2005-01-02 Thread Rasmus Lerdorf
Aaron Paulley wrote:
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd --enable-magic-quotes --with-jpeg-dir=/usr/lib
--with-mcrypt --with-png-dir=/usr --enable-sockets --enable-track-vars
--enable-versioning --with-zlib --enable-bcmath --enable-calendar
--with-xpm-dir=/usr/X11R6
Why did you use /usr/lib for jpeg but /usr for png?  /usr is correct.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)

2005-01-02 Thread Jason Wong
On Monday 03 January 2005 08:18, Aaron Paulley wrote:
 The error I'm getting when running ./configure is this:

 configure: error: libjpeg.(a|so) not found.


 I know libjpeg is installed, I just installed it. Here is my ./configure:

Assuming that you have installed it in a fairly standard location then ...

 --with-jpeg-dir=/usr/lib

... that should be

  --with-jpeg-dir=/usr

 Side question - if there's anything I'm missing in my ./configure that
 I should have in it, please let me know.

That would depend entirely on what extensions you require. If this is for a 
production machine then it would be useful to have:

 --enable-memory-limit

and enforce it in php.ini.

-- 
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
--
/*
In Seattle, Washington, it is illegal to carry a concealed weapon that
is over six feet in length.
*/

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



Re: [PHP] Compiling PHP Source guides

2004-12-23 Thread Donald Tyler

Greg Donald wrote:
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler [EMAIL PROTECTED] wrote:
 

I do have a rudimentary knowledge of *nix stuff
   

I don't mean to offend, but it doesn't really seem so.  Basic *nix
skills usually include knowing how to configure, compile, and install
software from source.  The PHP docs explain in very explicit detail
how to do it, and I have to say you won't find any more hand holding
than you get with PHP documentation.  The 'F' in RTFM really means
'Fine' when used in a PHP context.
 

and am very computer
literate, but most of the programming I have done is with scripting
languages such as Actionscript, Javascript, PHP etc. I realy have no
idea about compiling source code.
   

If your download is still compressed you need to uncompress it. 
Depending on the download's file extension you will need to use one of
these commands:

tar zxvf php-4.3.10.tar.gz
tar jxvf php-4.3.10.tar.bz2 

Then you change to the source directory:
cd php-4.3.10/
Then you configure the source:
./configure
You will need to add your desired compile options in the ./configure
command.  I have no idea what support you want to build into your PHP.
If you don't either you might look at:
./configure --help
Then after you're done with the configure, you compile the software:
make
Then you probably want to install the software permanently to a
system-wide location (or you might not, I don't know).  On *nix the
usual install locations are somewhere like /usr or /usr/local, which
can be defined in the configure with --prefix if you don't want the
default location.  So then to do the actual install you would do:
make install
Then your php binary will be /usr/bin/php or /usr/local/bin/php.
There's also the configure option to build your PHP as a module for
use with a web server such as Apache.  For that you might use a
configure command something like:
./configure --enable-module=so --with-apxs=/usr/sbin/apxs
 

I was just hoping for something in laymans terms I guess...
   

I would guess it's hard to talk about heart surgery without talking
about heart surgery.  Same goes for compiling software.  The commands
are pretty explicit and you have to know what your doing to get the
desired results.  It's no disgrace to not know, once upon a time I
didn't know..  but I read lots of docs, and I asked many questions and
I learned.  I got a few flames along the way but that's part of
knowing *nix I guess.  :)
Several companies I've worked for in the past have brought in outside
consultants when something would come up that we didn't have skills
for in-house.  On that note, you might consider talking with a
consultant or even getting them to do your PHP install for you if in
the end you give up and cannot figure it out.  Make them document the
process as part of the deal.
 

Thanks for your responses.
Wish me luck.
   

Good luck.
 

Thanks for the info.
I do understand that *nix usage generaly relies on a lot of compiling 
software, but I have been relying on pre-compiled RPMs so far. I am by 
no means an expert, or even intermediate *nix user, which is why I used 
the term rudimentary.

I have been running 6 Linux servers for a small company for about a year 
now learning as I go. I knew nothing about *nix when I started and 
considering most of my other responsibilities leave very little time to 
learn and experiment on the Linux systems I dont think I've done too badly.

P.S. You didnt offend me, I just wanted to explain my situation.
Thanks again for the help.
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP Source guides

2004-12-23 Thread Raditha Dissanayake
Greg Donald wrote:
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler [EMAIL PROTECTED] wrote:
 

I do have a rudimentary knowledge of *nix stuff
   

I don't mean to offend, but it doesn't really seem so.  Basic *nix
skills usually include knowing how to configure, compile, and install
software from source.  The PHP docs explain in very explicit detail
how to do it, and I have to say you won't find any more hand holding
than you get with PHP documentation.  The 'F' in RTFM really means
'Fine' when used in a PHP context.
 

poor Greg, the political correctness monitors are going to fall on him 
like a ton of bricks.

--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/  | Drag and Drop Upload 

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


Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Donald Tyler
I did RTFM. The exact page you linked to in fact:
QUOTE:
 Requirements
In order to have these functions available, you must compile PHP with 
support for the mysqli extension.

END QUOTE
That is the whole point of my request. I need a guide explaining *how* 
to compile the PHP Source.


John Nichel wrote:
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie 
to compiling and have no idea where to start, so any links to guides 
and/or other useful info would be much appreciated.

My reason is that I need MySQL 4 support, but I would like to get a 
general overview of compiling a program source in general.

Thanks in advance.
Donald Tyler

I'd say RTFM, but I don't want to offend anyone's sensibilities, so...
http://us4.php.net/manual/en/install.unix.php
MySQL up too 4.0...
http://us4.php.net/manual/en/ref.mysql.php
MySQL = 4.1
http://us4.php.net/manual/en/ref.mysqli.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Jason Barnett
Donald Tyler wrote:
I did RTFM. The exact page you linked to in fact:
QUOTE:
 Requirements
In order to have these functions available, you must compile PHP with 
support for the mysqli extension.

END QUOTE
That is the whole point of my request. I need a guide explaining *how* 
to compile the PHP Source.


OK... what OS are you compiling for?  What extensions do you want?  PHP 
as a module or as a standalone?  I understand that you haven't done this 
before... but you need to be more specific in your question if you want 
a more specific answer.


--
Teach a person to fish...
Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-generalw=2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread rogerk
Quoting Donald Tyler [EMAIL PROTECTED]:

 I did RTFM. The exact page you linked to in fact:

 QUOTE:


   Requirements

 In order to have these functions available, you must compile PHP with
 support for the mysqli extension.


 END QUOTE

 That is the whole point of my request. I need a guide explaining *how*
 to compile the PHP Source.

The directions to compile the PHP source *are* on the page at
http://us4.php.net/manual/en/install.unix.php -- you compile it using the
make steps in the directions there.

(But it seems the problem is that you don't recognize those as compilation
instructions, which is understandable if you're a newbie.  The page also says
that

 Basic Unix skills (being able to operate make and a C compiler)

are a prerequisite, so you probably should find a person you can rely on to
deliver those skills repeatably or teach them to you, which is not something
you really get from a mailing list.  Get a good intor Unix book.  After all,
you wouldn't expect that if you subscribed to a heart surgery mailing list and
said I'm a complete newbie -- can you tell me how to do a quadruple bypass?
someone would step you through it?  Yes, there are differences in degree,
but...!  :)

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



Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Bruce Douglas
if you want to know/have a rough guide on building/compiling php with 
mysql/mysqli support, the following link should help you out... although it's 
for linux..


http://marc.theaimsgroup.com/?l=php-generalm=109026859726530w=2

it kind of walks you through what you need to do..

hope it helps...

peace..


-Original Message-
From: [EMAIL PROTECTED]
Sent: Dec 22, 2004 2:10 PM
To: Donald Tyler [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Compiling PHP Source guides

Quoting Donald Tyler [EMAIL PROTECTED]:

 I did RTFM. The exact page you linked to in fact:

 QUOTE:


   Requirements

 In order to have these functions available, you must compile PHP with
 support for the mysqli extension.


 END QUOTE

 That is the whole point of my request. I need a guide explaining *how*
 to compile the PHP Source.

The directions to compile the PHP source *are* on the page at
http://us4.php.net/manual/en/install.unix.php -- you compile it using the
make steps in the directions there.

(But it seems the problem is that you don't recognize those as compilation
instructions, which is understandable if you're a newbie.  The page also says
that

 Basic Unix skills (being able to operate make and a C compiler)

are a prerequisite, so you probably should find a person you can rely on to
deliver those skills repeatably or teach them to you, which is not something
you really get from a mailing list.  Get a good intor Unix book.  After all,
you wouldn't expect that if you subscribed to a heart surgery mailing list and
said I'm a complete newbie -- can you tell me how to do a quadruple bypass?
someone would step you through it?  Yes, there are differences in degree,
but...!  :)

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

2004-12-22 Thread John Nichel
Donald Tyler wrote:
I did RTFM. The exact page you linked to in fact:
QUOTE:
 Requirements
In order to have these functions available, you must compile PHP with 
support for the mysqli extension.

END QUOTE
That is the whole point of my request. I need a guide explaining *how* 
to compile the PHP Source.
Compile the PHP source the same way you would compile any other source. 
 If you don't know how to compile at all, I suggest going to Google and 
typing in something like How to compile source code insert OS name here

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Donald Tyler
[EMAIL PROTECTED] wrote:
Quoting Donald Tyler [EMAIL PROTECTED]:
 

I did RTFM. The exact page you linked to in fact:
QUOTE:
 Requirements
In order to have these functions available, you must compile PHP with
support for the mysqli extension.
END QUOTE
That is the whole point of my request. I need a guide explaining *how*
to compile the PHP Source.
   

The directions to compile the PHP source *are* on the page at
http://us4.php.net/manual/en/install.unix.php -- you compile it using the
make steps in the directions there.
(But it seems the problem is that you don't recognize those as compilation
instructions, which is understandable if you're a newbie.  The page also says
that
Basic Unix skills (being able to operate make and a C compiler)
are a prerequisite, so you probably should find a person you can rely on to
deliver those skills repeatably or teach them to you, which is not something
you really get from a mailing list.  Get a good intor Unix book.  After all,
you wouldn't expect that if you subscribed to a heart surgery mailing list and
said I'm a complete newbie -- can you tell me how to do a quadruple bypass?
someone would step you through it?  Yes, there are differences in degree,
but...!  :)
 

OK, I guess I'll try to read the instructions again. I *have* tried 
reading them on multiple occasions but its just greek to me.

I do have a rudimentary knowledge of *nix stuff and am very computer 
literate, but most of the programming I have done is with scripting 
languages such as Actionscript, Javascript, PHP etc. I realy have no 
idea about compiling source code.

I was just hoping for something in laymans terms I guess...
Thanks for your responses.
Wish me luck.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread John Holmes
 OK, I guess I'll try to read the instructions again. I *have* tried 
 reading them on multiple occasions but its just greek to me.

Then your next question to the list should be along the lines of: I have tried 
the instructions at http://... I got to step X and couldn't get any further. I 
typed in xxx and expected to see xxx, but saw xxx. I'm using xxx as my OS and 
trying to compile PHP version xxx. Can anyone help me through the next step?

Good luck. :)

---John Holmes...

UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html

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



Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Greg Donald
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler [EMAIL PROTECTED] wrote:
 I do have a rudimentary knowledge of *nix stuff

I don't mean to offend, but it doesn't really seem so.  Basic *nix
skills usually include knowing how to configure, compile, and install
software from source.  The PHP docs explain in very explicit detail
how to do it, and I have to say you won't find any more hand holding
than you get with PHP documentation.  The 'F' in RTFM really means
'Fine' when used in a PHP context.

 and am very computer
 literate, but most of the programming I have done is with scripting
 languages such as Actionscript, Javascript, PHP etc. I realy have no
 idea about compiling source code.

If your download is still compressed you need to uncompress it. 
Depending on the download's file extension you will need to use one of
these commands:

tar zxvf php-4.3.10.tar.gz
tar jxvf php-4.3.10.tar.bz2 

Then you change to the source directory:

cd php-4.3.10/

Then you configure the source:

./configure

You will need to add your desired compile options in the ./configure
command.  I have no idea what support you want to build into your PHP.
 If you don't either you might look at:

./configure --help

Then after you're done with the configure, you compile the software:

make

Then you probably want to install the software permanently to a
system-wide location (or you might not, I don't know).  On *nix the
usual install locations are somewhere like /usr or /usr/local, which
can be defined in the configure with --prefix if you don't want the
default location.  So then to do the actual install you would do:

make install

Then your php binary will be /usr/bin/php or /usr/local/bin/php.

There's also the configure option to build your PHP as a module for
use with a web server such as Apache.  For that you might use a
configure command something like:

./configure --enable-module=so --with-apxs=/usr/sbin/apxs

 I was just hoping for something in laymans terms I guess...

I would guess it's hard to talk about heart surgery without talking
about heart surgery.  Same goes for compiling software.  The commands
are pretty explicit and you have to know what your doing to get the
desired results.  It's no disgrace to not know, once upon a time I
didn't know..  but I read lots of docs, and I asked many questions and
I learned.  I got a few flames along the way but that's part of
knowing *nix I guess.  :)

Several companies I've worked for in the past have brought in outside
consultants when something would come up that we didn't have skills
for in-house.  On that note, you might consider talking with a
consultant or even getting them to do your PHP install for you if in
the end you give up and cannot figure it out.  Make them document the
process as part of the deal.

 Thanks for your responses.
 
 Wish me luck.

Good luck.


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

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



Re: [PHP] Compiling PHP Source guides

2004-12-21 Thread Christophe Chisogne
Donald Tyler wrote:
I am looking for a guide on compiling PHP 4. I am a complete newbie to 
compiling and have no idea where to start, so any links to guides and/or 
other useful info would be much appreciated.
PHP is a scripting language, no need to compile it.
If you're really new, 2 links from the PHP home page
A simple tutorial
http://www.php.net/tut.php
PHP Documentation
http://www.php.net/docs.php
If you mean compiling php itself (not a php script written in PHP),
then go read the PHP manual:
II. Installation and Configuration
http://www.php.net/manual/en/install.php
My reason is that I need MySQL 4 support,
Just check the manual. MySQL functions can be used within PHP,
with the mysql or mysqli extensions (see links below).
Under Linux, it comes in packages like mysql-server, php4, php4-mysql, etc
and you can simply install these packages.
LXX. MySQL Functions
http://www.php.net/manual/en/ref.mysql.php
In PHP 5, MySQL is no longer enabled by default, nor is the MySQL library
 bundled with PHP. Read this FAQ
 http://www.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5
 for details on why.
LXXI. Improved MySQL Extension, PHP Manual
http://www.php.net/manual/en/ref.mysqli.php
The mysqli extension allows you to access the functionality provided by MySQL 4.1 
and above
but I would like to get a 
general overview of compiling a program source in general.
On Unix/Linux like systems, it's something like
$ tar xzf soft-1.0.tar.gz
$ cd soft-1.0
$ ./configure
$ make
$ su -
  (to become root, if it's your box)
# make install
Christophe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP Source guides

2004-12-21 Thread John Nichel
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie to 
compiling and have no idea where to start, so any links to guides and/or 
other useful info would be much appreciated.

My reason is that I need MySQL 4 support, but I would like to get a 
general overview of compiling a program source in general.

Thanks in advance.
Donald Tyler
I'd say RTFM, but I don't want to offend anyone's sensibilities, so...
http://us4.php.net/manual/en/install.unix.php
MySQL up too 4.0...
http://us4.php.net/manual/en/ref.mysql.php
MySQL = 4.1
http://us4.php.net/manual/en/ref.mysqli.php
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP Source guides

2004-12-21 Thread Jason Barnett
John Nichel wrote:
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie to 
compiling and have no idea where to start, so any links to guides 
and/or other useful info would be much appreciated.

What OS are you using?  I have found compiling on Windows to be a bit 
tricky actually... especially if you're using cygwin.  The best help to 
start with is help from the command line during the build process, but 
if you get stuck feel free to post a question here.

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


Re: [PHP] Compiling PHP with extension; CLI works, Apache doesn't

2004-10-26 Thread Curt Zirzow
* Thus wrote Aaron Gould:
 I just compiled PHP with an extension for testing purposes 
 (mnoGoSearch).  After all was said and done, the CLI version sees the 
 mnogosearch extension just fine (php -m), but the Apache module 
 doesn't see it at all (nothing mnogosearch related at all in PHPINFO()).

Looks good, few things I would check:
  1. Did you restart apache?
  2. did the libphp.so make it to the right apache directory
  3. the extension_dir set to the right place.


Curt
-- 
Quoth the Raven, Nevermore.

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



Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Curt Zirzow
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
 /usr/local/mnogosearch), and PHP configures fine.  But during PHP's 
 make, I get all sorts of errors at the end of the compilation:
 
 /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple 
 definition of `mysql_port'

Just a guess but mnogosearch have mysql compiled staticly in its
library?


Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

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



Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
/usr/local/mnogosearch), and PHP configures fine.  But during PHP's 
make, I get all sorts of errors at the end of the compilation:

/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple 
definition of `mysql_port'

Just a guess but mnogosearch have mysql compiled staticly in its
library?
Curt
That just occurred to me as well, although it's just a guess for me as 
well.  Upon checking mnoGoSearch's configuration help, it appears the 
default is static.  I'll see if I can get it working as shared...

--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
/usr/local/mnogosearch), and PHP configures fine.  But during PHP's 
make, I get all sorts of errors at the end of the compilation:

/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple 
definition of `mysql_port'

Just a guess but mnogosearch have mysql compiled staticly in its
library?
I tried configuring both mnoGoSearch and PHP with shared libs and it 
still did not work together (same errors).

I just tried mnoGoSearch withouth the MySQL support and it did work.  I 
suppose at least that will work well enough to let me know what 
mnoGoSearch is all about.

I wonder if mnoGoSearch does not truly support MySQL 4.x (I'm on 
4.0.18).  They've only tested with 3.21, 3.22 and 3.23.

--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread John Nichel
Aaron Gould wrote:
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
/usr/local/mnogosearch), and PHP configures fine.  But during PHP's 
make, I get all sorts of errors at the end of the compilation:

/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple 
definition of `mysql_port'

Just a guess but mnogosearch have mysql compiled staticly in its
library?

I tried configuring both mnoGoSearch and PHP with shared libs and it 
still did not work together (same errors).

I just tried mnoGoSearch withouth the MySQL support and it did work.  I 
suppose at least that will work well enough to let me know what 
mnoGoSearch is all about.

I wonder if mnoGoSearch does not truly support MySQL 4.x (I'm on 
4.0.18).  They've only tested with 3.21, 3.22 and 3.23.

I had the same problem.  We're running mnoGoSearch just fine on our 
production box using MySQL 3.x, but on one of our development machines, 
we're running MySQL 4.x.  mnoGoSearch configured/compiled/installed fine 
on that box, but php barfed on compile.  We then reinstalled 
mnoGoSearch, configuring it with --with-built-in, and then PHP built fine.

--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
John Nichel wrote:
Aaron Gould wrote:
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
/usr/local/mnogosearch), and PHP configures fine.  But during 
PHP's make, I get all sorts of errors at the end of the compilation:

/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple 
definition of `mysql_port'
Just a guess but mnogosearch have mysql compiled staticly in its
library?
I tried configuring both mnoGoSearch and PHP with shared libs and it 
still did not work together (same errors).

I just tried mnoGoSearch withouth the MySQL support and it did work.  
I suppose at least that will work well enough to let me know what 
mnoGoSearch is all about.

I wonder if mnoGoSearch does not truly support MySQL 4.x (I'm on 
4.0.18).  They've only tested with 3.21, 3.22 and 3.23.

I had the same problem.  We're running mnoGoSearch just fine on our 
production box using MySQL 3.x, but on one of our development machines, 
we're running MySQL 4.x.  mnoGoSearch configured/compiled/installed fine 
on that box, but php barfed on compile.  We then reinstalled 
mnoGoSearch, configuring it with --with-built-in, and then PHP built fine.
Good to know it's not just my machine, thanks!  I've just run a few 
tests and it seems mnoGoSearch will fill our need.  Hopefully they'll 
soon have MySQL 4.x supported though!

--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread raditha dissanayake
Aaron Gould wrote:
Has anyone here had recent success compiling PHP with mnoGoSearch?
Consider ASPSeek. It's a spin off from mnogo. It does have a lot of 
other benefits including faster speeds.

--
Raditha Dissanayake.
-
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] compiling php with mysql ver3 or 4

2004-05-31 Thread Rachel Rodriguez

--- Richard Kurth [EMAIL PROTECTED] wrote:
 Hello ,
 
   How can I compile PHP so that it does not mater
 what version of
   mysql is installed.
   If I compile it for mysql 3.X and then upgrade
 mysql to ver 4
   PHP will not install.
   I get error while loading shared libraries:
 libmysqlclient.so.12: cannot open shared object file
 
   this is how I am compiling php  It is being
 compiled into Apache not
   as a DSO
 
 ./configure --prefix=/usr/php --with-mysql=/usr/
 --with-config-file-path=/usr/conf
  --with-exec-dir=/usr/apache/bin --disable-debug
 --enable-safe-mode
  --enable-magic-quotes --enable-debugger
 --enable-track-vars --with-ftp --enable-sockets
  --enable-ftp --with-apache=../apache
 make
 make install  
 

I don't have a Linux box where I can test out my
suggestion to you, but here is what you can try:

1. from your php directory:  rm config.cache
2. after that command, run: make clean

That should take care of the previous PHP
installation.

Now try running your ./configure, make, and make
install as you have listed above.  

By the way, your --with-mysql=/usr/ does not look
like a complete path to your MySQL installation.  Of
course, I cannot say for sure... you know better than
I do where it is installed and what the directory is
called.



=
~Rachel




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: [PHP] Compiling PHP classes/libraries to objects

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 04:44 pm, Tariq Murtaza wrote:
 Hi All

 Is there any way to use compiled form of libraries/classes in PHP.
 Comments please...

http://turck-mmcache.sourceforge.net/

 Regards,
 Tariq

-- 
Evan Nemerson
[EMAIL PROTECTED]
http://coeusgroup.com/en

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



Re: [PHP] Compiling php for MySQL and Apache 2 Newbie

2004-01-14 Thread R'twick Niceorgaw
Hi James,

James Marcinek wrote:

Hello Everyone,

I'm still having problems compiling the latest version of PHP. I have
several issues

- The apache 2 that was installed was from a Red Hat package. From what I
can tell it is configured in a manner that is similar to the
with-apxs2filter. The configuration file that point to this kind of
installation is already configured in apache. However there is no perl
script apxs of any kind.

  

install httpd-devel package. I believe it contains the apxs module.

HTH
R'twick Niceorgaw

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



Re: [PHP] compiling php --with imap

2003-08-04 Thread Curt Zirzow
* Thus wrote Merlin ([EMAIL PROTECTED]):
 Hi there,
 
 I want to upgrade to a newer php version (from 4.2.2 to 4.3.2)
 
 In order to do that I picked my old configure command to reproduce it. The
 old php version was build with imap. Now I have found, that the directory
 where the file is supposed to be has been removed (I guess I have cleaned
 up my hard disc a while ago:-() However, the configure command had following
 line:
 
 '--with-imap=/home/sw/horde/imap-2002.RC2' '
 
 now the configure always checks for imap and does not find this file. It has
 been removed.

you can remove the config.cache file and then reconfigure it with the
proper options.

 
 Can anybody remind me how to get this file again? I am lost, after trying
 for 2 hours I gave up. Can anybody help me in this case?

there is info on that in the imap section in the online
documentation.
http://us4.php.net/imap

btw, there is a php-install mailing list. You might get better
support with a question like this.

HTH,

Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

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



Re: [PHP] compiling php --with imap

2003-08-04 Thread Jason Wong
On Tuesday 05 August 2003 02:26, Merlin wrote:

 I want to upgrade to a newer php version (from 4.2.2 to 4.3.2)

 In order to do that I picked my old configure command to reproduce it. The
 old php version was build with imap. Now I have found, that the directory
 where the file is supposed to be has been removed (I guess I have cleaned
 up my hard disc a while ago:-() However, the configure command had
 following line:

 '--with-imap=/home/sw/horde/imap-2002.RC2' '

 now the configure always checks for imap and does not find this file. It
 has been removed.

 Can anybody remind me how to get this file again? I am lost, after trying
 for 2 hours I gave up. Can anybody help me in this case?

To get it from source http://www.washington.edu/imap/ 

But your best bet is probably to just install it form whatever distro you're 
using.

-- 
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
--
/*
Year, n.:
A period of three hundred and sixty-five disappointments.
-- Ambrose Bierce, The Devil's Dictionary
*/


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



RE: [PHP] Compiling PHP

2003-07-09 Thread Mike At Spy

I went over what you commented on - thanks for the input.  Most everything
did indeed stay.  This is what I get when going a make install now:

Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/man/man1/
Installing PHP SAPI module
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1


BTW, this all stems from another admin on the server wanting to upgrade
apache to 1.3.27 - when that was done, my php written in my scripts started
failing.  It doesn't even work now.  Whenever I have a script that passes a
value (example: a link going to somewhere.php?w=4), it does not process at
all (nothing happens - so w doesn't do anything).  Everything worked fine
until this started...

My config file I am using is now:

./configure --with-apxs=/usr/sbin/apxs --with-gd --with-mysql --with-png --w
ith-pear --with-config-file-path=/usr/local/apache  --with-zlib --with-jpeg 
--with-ttf --with-regex=php --with-db --with-gdbm --enable-mbstring --enable
-mm=shared --enable-xml --with-db3 --with-pgsql=shared --with-ldap

Thanks for any help,

-Mike





 -Original Message-
 From: Ralph Guzman [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 5:51 PM
 To: 'Mike At Spy'; [EMAIL PROTECTED]
 Subject: RE: [PHP] Compiling PHP


 The error you are providing here is because you do not have the required
 libraries installed. Some of these modules require that the programs or
 libraries be installed, php does not install them for you.

 This is an extensive config. Are you sure you need all these. I see that
 you are trying to enable pgsql, mySQL, interbase. Will you be running
 all these databases on you server?

 I've looked through your config, and below are some notes I made.

 Hope this helps.


 ..


  --prefix=/usr
 is there a reason why you must install php to /usr. The default
 directory is /usr/local/lib?

  --with-apxs=/usr/sbin/apxs
 is your apache compiled with mod_so for apxs support?
 http://httpd.apache.org/docs/programs/apxs.html

  --enable-safe-mode
 this may restrict some php functions

  --with-exec-dir=/usr/bin
 this will allow executables in your /usr/bin directory. This might be a
 security risk. Why not let it default to /usr/local/php/bin?

  --with-zlib
 I think this should be --with-zlib-dir=DIR
 http://www.php.net/zlib

  --with-regex=system
 PHP supports regular expressions by default. Why don't you use
 --with-regex=php
 http://www.php.net/regex

  --with-ttf
 do you have the FreeType libraries installed?
 http://www.php.net/image

  --with-db
 does your server support this type of database?
 http://www.php.net/manual/en/ref.dbm.php

  --with-gdbm
 does your server support this type of database?

  --with-mbstring
 do you need multi-byte character support?
 http://www.php.net/mbstring

  --with-mbstr-enc-trans
 not sure what this does.

  --with-libdir
 not sure what this does.

  --with-interbase=shared
 are you running Interbase on your server?
 http://www.php.net/manual/en/ref.ibase.php

  --with-pgsql=shared
 are you running PostgreSQL on your server?
 http://www.php.net/manual/en/ref.pgsql.php

  --with-ldap
 do you have LDAP libraries installed?
 http://www.php.net/manual/en/ref.ldap.php

  --with-imap-ssl
 I think this should be --with-imap-ssl=[DIR]
  http://www.php.net/imap

  --with-mysql
 are you running MySQL on your server?
 http://www.php.net/manual/en/ref.mysql.php

 --with-gd
 Do you have the GD library installed?
 http://www.php.net/manual/en/ref.image.php

 --with-png
 Do you have PNG library installed?
 http://www.php.net/manual/en/ref.image.php



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




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





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



RE: [PHP] Compiling PHP

2003-07-09 Thread Ralph Guzman
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/man/man1/
Installing PHP SAPI module
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1

HAVE YOU CHECKED TO MAKE SURE THAT --with-apxs=/usr/sbin/ IS SET
PROPERLY. IF YOU INSTALLED APACHE TO IT'S DEFAULT DIRECTORY THEN THIS
SHOULD BE --with-apxs=/www/apache/bin/apxs. YOU MAY WANT TO CHECK THAT
APXS IS PROPERLY INSTALLED WITH APACHE.

BTW, this all stems from another admin on the server wanting to upgrade
apache to 1.3.27 - when that was done, my php written in my scripts
started
failing.  It doesn't even work now.  Whenever I have a script that
passes a
value (example: a link going to somewhere.php?w=4), it does not process
at
all (nothing happens - so w doesn't do anything).  Everything worked
fine
until this started...

THIS SOUNDS LIKE A REGISTER GLOBALS ISSUE. AS OF PHP 4.2.0 REGISTER
GLOBALS IS TURNED OFF BY DEFAULT. SO YOU CAN NO LONGER CALL A GET OR
POST VARIABLE FROM YOUR SCRIPT BY SIMPLY SPECIFYING $w YOU MUST USE
$_GET['w'] or $HTTP_GET_VARS['w'], IF DOING A FORM POST YOU MUST USE
$_POST['w'] or $HTTP_POST_VARS['w'] (read:
http://www.php.net/variables.predefined). IF YOU CANNOT MODIFY YOUR
SCRIPT AT THE TIME, YOU CAN TURN REGISTER GLOBALS BACK TO ON BY EDITING
YOUR PHP.INI FILE, AND SET REGISTER_GLOBALS = ON. BUT JUST KEEP IN MIND
THAT TURNING REGISTER GLOBALS ON PRESENTS SECURITY RISKS. Read:
http://www.php.net/manual/en/security.registerglobals.php


--with-config-file-path=/usr/local/
DO YOU WANT TO PLACE PHP.INI FILE IN /usr/local/apache? BY DEFAULT THIS
GOES IN /usr/local/lib/php.ini, IF YOU MUST CHANGE THIS I THINK IT WOULD
BE MORE APPROPRIATE TO PUT IT IN YOUR /etc/ directory.








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



RE: [PHP] Compiling PHP

2003-07-08 Thread Mike At Spy

Actually, I think I found the issue.  Now I am getting:

configure: error: build test failed.

And I changed my config to be:

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-mysql 
--with-png --with-pear --with-gettext=/usr --enable-safe-mode --with-config-
file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quo
tes --with-regex=system --with-ttf --with-db --with-gdbm --enable-mbstring -
-enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm
=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/local/l
ib --with-db3 --with-interbase=shared --with-pgsql=shared --with-ldap --with
-imap --with-pdflib=shared --with-kerberos


Anyone have any ideas?  I'm on linux redhat 7.3.

Thanks,

-Mike






 -Original Message-
 From: Mike At Spy [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 3:47 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Compiling PHP



 I am doing a new compile of PHP (4.3.3) - anyone know what this error is?

 configure: error: libgds or libib_util not found!

 Here is my configuration:

 ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
 --enable-safe-mode --wi
 th-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
 --with-zlib --enable
 -magic-quotes --with-regex=system --with-ttf --with-db
 --with-gdbm --with-mb
 string --with-mbstr-enc-trans --enable-track-vars
 --enable-wddx=shared --ena
 ble-mm=shared --enable-xml --disable-debug --with-libdir
 --with-interbase=s
 hared --with-pgsql=shared --with-ldap --with-imap-ssl
 --with-mysql --disable
 -url-fopen-wrapper --with-gd --with-png --with-pear

 Thanks for any help!

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

2003-07-08 Thread Ralph Guzman
The error you are providing here is because you do not have the required
libraries installed. Some of these modules require that the programs or
libraries be installed, php does not install them for you.

This is an extensive config. Are you sure you need all these. I see that
you are trying to enable pgsql, mySQL, interbase. Will you be running
all these databases on you server? 

I've looked through your config, and below are some notes I made.

Hope this helps.


..


 --prefix=/usr 
is there a reason why you must install php to /usr. The default
directory is /usr/local/lib?

 --with-apxs=/usr/sbin/apxs 
is your apache compiled with mod_so for apxs support?
http://httpd.apache.org/docs/programs/apxs.html

 --enable-safe-mode 
this may restrict some php functions

 --with-exec-dir=/usr/bin 
this will allow executables in your /usr/bin directory. This might be a
security risk. Why not let it default to /usr/local/php/bin? 

 --with-zlib 
I think this should be --with-zlib-dir=DIR
http://www.php.net/zlib

 --with-regex=system 
PHP supports regular expressions by default. Why don't you use
--with-regex=php 
http://www.php.net/regex

 --with-ttf 
do you have the FreeType libraries installed?
http://www.php.net/image

 --with-db 
does your server support this type of database?
http://www.php.net/manual/en/ref.dbm.php

 --with-gdbm 
does your server support this type of database?

 --with-mbstring 
do you need multi-byte character support?
http://www.php.net/mbstring

 --with-mbstr-enc-trans
not sure what this does.

 --with-libdir  
not sure what this does.

 --with-interbase=shared 
are you running Interbase on your server?
http://www.php.net/manual/en/ref.ibase.php

 --with-pgsql=shared 
are you running PostgreSQL on your server?
http://www.php.net/manual/en/ref.pgsql.php

 --with-ldap 
do you have LDAP libraries installed?
http://www.php.net/manual/en/ref.ldap.php

 --with-imap-ssl
I think this should be --with-imap-ssl=[DIR]
 http://www.php.net/imap

 --with-mysql 
are you running MySQL on your server?
http://www.php.net/manual/en/ref.mysql.php

--with-gd
Do you have the GD library installed?
http://www.php.net/manual/en/ref.image.php

--with-png 
Do you have PNG library installed?
http://www.php.net/manual/en/ref.image.php



-- 
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.3.0 with gd

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 17:47, [EMAIL PROTECTED] wrote:
 I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
 and with-freetype. I have installed both png and jpg from a tar file
 but know mater what I do PHP configure stops with and error. here is
 the error I keep getting.

 configure: error: libjpeg.(a|so) not found.

It's telling you that it cannot find libjpeg.a or libjpeg.so.

Use find / -name libjpeg.a and find / -name libjpeg.so to find out where 
they are hiding.

-- 
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
--
/*
It may be that your whole purpose in life is simply to serve as a
warning to others.
*/


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




Re: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Kevin Waterson
This one time, at band camp,
[EMAIL PROTECTED] wrote:

 configure: error: libjpeg.(a|so) not found.

Install libjpeg

Kevin


-- 
 __  
(_ \ 
 _) )            
|  /  / _  ) / _  | / ___) / _  )
| |  ( (/ / ( ( | |( (___ ( (/ / 
|_|   \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia

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




Re: [PHP] Compiling php-4.0.6 with MySQL support

2002-12-18 Thread Wico de Leeuw
At 14:44 18-12-02 +0500, Igor Shulgin wrote:

Hi!

I cannot compile php-4.0.6 with MySQL support as static module for 
apache_1.3.20 on FreeBSD 4.4.
Early I successfully build and install 
/usr/ports/databases/mysql323-server and 
/usr/ports/databases/mysql323-client with standard configuration.
I have done following without problems:

cd /usr/ports/www/apache13/work/apache_1.3.20
./configure
cd /usr/ports/www/mod_php4/work/php-4.0.6
rm config.cache
./configure --with-mysql= 
--with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars

shouldn;t it be
./configure --with-mysql 
--with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars
(so without the =)

Gr,

Wico


make
make install
cd /usr/ports/www/apache13/work/apache_1.3.20
./configure --prefix=/usr/local/www 
--activate-module=src/modules/php4/libphp4.a

But

make

stops with following:

gcc  -funsigned-char -I/usr/ports/www/mod_php4/work/php-4.0.6 
-I/usr/ports/www/mod_php4/work/php-4.0.6/main 
-I/usr/ports/www/mod_php4/work/php-4.0.6/main 
-I/usr/ports/www/mod_php4/work/php-4.0.6/Zend 
-I/usr/ports/www/mod_php4/work/php-4.0.6/Zend 
-I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM 
-I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM 
-I/usr/ports/www/mod_php4/work/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite 
-DNO_DL_NEEDED `./apaci` -o httpd buildmark.o 
modules.o  modules/standard/libstandard.a  modules/php4/libphp4.a 
main/libmain.a  ./os/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a 
-rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 
-lmodphp4  -lpam  -lcrypt -lm-lcrypt
modules/php4/libphp4.a(php_mysql.lo): In function `_free_mysql_result':
php_mysql.lo(.text+0x1c): undefined reference to `mysql_free_result'
modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_link':
php_mysql.lo(.text+0x9d): undefined reference to `mysql_close'
modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_plink':
php_mysql.lo(.text+0xf9): undefined reference to `mysql_close'
modules/php4/libphp4.a(php_mysql.lo): In function `php_info_mysql':
php_mysql.lo(.text+0x42f): undefined reference to `mysql_get_client_info'
modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_connect':
php_mysql.lo(.text+0xd0e): undefined reference to `mysql_init'
php_mysql.lo(.text+0xd2f): undefined reference to `mysql_real_connect'
php_mysql.lo(.text+0xd5c): undefined reference to `mysql_error'
php_mysql.lo(.text+0xd89): undefined reference to `mysql_errno'
php_mysql.lo(.text+0xe4f): undefined reference to `mysql_stat'
php_mysql.lo(.text+0xe8c): undefined reference to `mysql_real_connect'
php_mysql.lo(.text+0x105a): undefined reference to `mysql_init'
php_mysql.lo(.text+0x107b): undefined reference to `mysql_real_connect'
php_mysql.lo(.text+0x10ac): undefined reference to `mysql_error'
php_mysql.lo(.text+0x10d9): undefined reference to `mysql_errno'
php_mysql.lo(.text+0x10eb): undefined reference to `mysql_error'
modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_select_db':
php_mysql.lo(.text+0x1550): undefined reference to `mysql_select_db'
modules/php4/libphp4.a(php_mysql.lo): In function 
`php_if_mysql_get_client_info':
php_mysql.lo(.text+0x159d): undefined reference to `mysql_get_client_info'
modules/php4/libphp4.a(php_mysql.lo): In function 
`php_if_mysql_get_host_info':
php_mysql.lo(.text+0x168d): undefined reference to `mysql_get_host_info'
modules/php4/libphp4.a(php_mysql.lo): In function 
`php_if_mysql_get_proto_info':
php_mysql.lo(.text+0x1781): undefined reference to `mysql_get_proto_info'
modules/php4/libphp4.a(php_mysql.lo): In function 
`php_if_mysql_get_server_info':
php_mysql.lo(.text+0x184d): undefined reference to `mysql_get_server_info'
modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_create_db':
php_mysql.lo(.text+0x1a14): undefined reference to `mysql_create_db'
modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_drop_db':
php_mysql.lo(.text+0x1bcc): undefined reference to `mysql_drop_db'
modules/php4/libphp4.a(php_mysql.lo): In function 
`php_mysql_do_query_general':
php_mysql.lo(.text+0x1ce5): undefined reference to `mysql_select_db'
php_mysql.lo(.text+0x1d42): undefined reference to `mysql_eof'
php_mysql.lo(.text+0x1d6d): undefined reference to `mysql_fetch_row'
php_mysql.lo(.text+0x1e47): undefined reference to `mysql_real_query'
php_mysql.lo(.text+0x1e72): undefined reference to `mysql_use_result'
php_mysql.lo(.text+0x1e80): undefined reference to `mysql_store_result'
php_mysql.lo(.text+0x1e93): undefined reference to `mysql_field_count'
modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_dbs':
php_mysql.lo(.text+0x21a3): undefined reference to `mysql_list_dbs'
modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_tables':
php_mysql.lo(.text+0x2370): undefined reference to `mysql_select_db'
php_mysql.lo(.text+0x2385): undefined reference to `mysql_list_tables'
modules/php4/libphp4.a(php_mysql.lo): In function 

Re: [PHP] Compiling php-4.0.6 with MySQL support

2002-12-18 Thread Igor Shulgin
Re: [PHP] Compiling php-4.0.6 with MySQL supportThank you for your answer, Wico!

I had deleted '=' after '--with-mysql' but it didn't help me. 
All these messages about undefined reference to `mysql... was repeated.

--- 
   With best wishes, 
   Igor Shulgin 
--- --
JSC Uralsvyazinform | Applied Systems Department

  - Original Message - 
  From: Wico de Leeuw 
  To: Igor Shulgin ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 18, 2002 2:51 PM
  Subject: Re: [PHP] Compiling php-4.0.6 with MySQL support


  At 14:44 18-12-02 +0500, Igor Shulgin wrote: 
   Hi! 
   
  I cannot compile php-4.0.6 with MySQL support as static module for 
  apache_1.3.20 on FreeBSD 4.4. 
  Early I successfully build and install 
  /usr/ports/databases/mysql323-server and 
  /usr/ports/databases/mysql323-client with standard configuration. 
  I have done following without problems: 
   
  cd /usr/ports/www/apache13/work/apache_1.3.20 
  ./configure 
  cd /usr/ports/www/mod_php4/work/php-4.0.6 
  rm config.cache 
  ./configure --with-mysql= 
  --with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars 

  shouldn;t it be 
  ./configure --with-mysql 
  --with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars 
  (so without the =) 

  Gr, 

  Wico 



  make 
  make install 
  cd /usr/ports/www/apache13/work/apache_1.3.20 
  ./configure --prefix=/usr/local/www 
  --activate-module=src/modules/php4/libphp4.a 
   
  But 
   
  make 
   
  stops with following: 
   
  gcc  -funsigned-char -I/usr/ports/www/mod_php4/work/php-4.0.6 
  -I/usr/ports/www/mod_php4/work/php-4.0.6/main 
  -I/usr/ports/www/mod_php4/work/php-4.0.6/main 
  -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend 
  -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend 
  -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM 
  -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM 
  -I/usr/ports/www/mod_php4/work/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite 
  -DNO_DL_NEEDED `./apaci` -o httpd buildmark.o 
  modules.o  modules/standard/libstandard.a  modules/php4/libphp4.a 
  main/libmain.a  ./os/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a 
  -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 
  -lmodphp4  -lpam  -lcrypt -lm-lcrypt 
  modules/php4/libphp4.a(php_mysql.lo): In function `_free_mysql_result': 
  php_mysql.lo(.text+0x1c): undefined reference to `mysql_free_result' 
  modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_link': 
  php_mysql.lo(.text+0x9d): undefined reference to `mysql_close' 
  modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_plink': 
  php_mysql.lo(.text+0xf9): undefined reference to `mysql_close' 
  modules/php4/libphp4.a(php_mysql.lo): In function `php_info_mysql': 
  php_mysql.lo(.text+0x42f): undefined reference to `mysql_get_client_info' 
  modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_connect': 
  php_mysql.lo(.text+0xd0e): undefined reference to `mysql_init' 
  php_mysql.lo(.text+0xd2f): undefined reference to `mysql_real_connect' 
  php_mysql.lo(.text+0xd5c): undefined reference to `mysql_error' 
  php_mysql.lo(.text+0xd89): undefined reference to `mysql_errno' 
  php_mysql.lo(.text+0xe4f): undefined reference to `mysql_stat' 
  php_mysql.lo(.text+0xe8c): undefined reference to `mysql_real_connect' 
  php_mysql.lo(.text+0x105a): undefined reference to `mysql_init' 
  php_mysql.lo(.text+0x107b): undefined reference to `mysql_real_connect' 
  php_mysql.lo(.text+0x10ac): undefined reference to `mysql_error' 
  php_mysql.lo(.text+0x10d9): undefined reference to `mysql_errno' 
  php_mysql.lo(.text+0x10eb): undefined reference to `mysql_error' 
  modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_select_db': 
  php_mysql.lo(.text+0x1550): undefined reference to `mysql_select_db' 
  modules/php4/libphp4.a(php_mysql.lo): In function 
  `php_if_mysql_get_client_info': 
  php_mysql.lo(.text+0x159d): undefined reference to `mysql_get_client_info' 
  modules/php4/libphp4.a(php_mysql.lo): In function 
  `php_if_mysql_get_host_info': 
  php_mysql.lo(.text+0x168d): undefined reference to `mysql_get_host_info' 
  modules/php4/libphp4.a(php_mysql.lo): In function 
  `php_if_mysql_get_proto_info': 
  php_mysql.lo(.text+0x1781): undefined reference to `mysql_get_proto_info' 
  modules/php4/libphp4.a(php_mysql.lo): In function 
  `php_if_mysql_get_server_info': 
  php_mysql.lo(.text+0x184d): undefined reference to `mysql_get_server_info' 
  modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_create_db': 
  php_mysql.lo(.text+0x1a14): undefined reference to `mysql_create_db' 
  modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_drop_db': 
  php_mysql.lo(.text+0x1bcc): undefined reference to `mysql_drop_db' 
  modules/php4/libphp4.a(php_mysql.lo): In function

Re: [PHP] Compiling PHP and RH Linux

2002-12-14 Thread Chris Hewitt
Todd Cary wrote:


I am new to Linux, so the syntax is still quite foreign for setting up 
compiles.  Here is what I need to do:

Compile PHP with MySQL, Interbase, and the GD library and then compile 
Apache so that it has the newly compiled PHP integrated.  Can someone 
refer me to some 

The INSTALL file that comes with the PHP source is quite good, have you 
looked at that? Or maybe you do not feel it is enough for your needs?

What Linux are you using? Do you need a particular version of PHP or 
Apache? Most linux distributions come with both. If you did an install 
everything then you probably already have it.  I don't know Interbase, 
you may need to install some Interbase files to support that. If you 
feel you need to recompile, then you need the sources not just the 
binaries installed on your computer.

If you have Apache already compiled with mod_so (most seem to) and you 
are happy to have PHP as a DSO (OK for many situations), then you would 
not need to recompile Apache.

HTH
Chris


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



Re: [PHP] Compiling PHP with Sablot support

2002-08-27 Thread Stas Maximov

Hi,
There should be a new entry like XSLT enabled under XML enabled in your
PHPinfo in case of successful set-up.
I'm not very familiar with the Unix build, but just to be sure can you check
if you uncommented the xslt extension in your php.ini file (if any)?

HTH, Stas

- Original Message -
From: Dan Hardiker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 2:52 PM
Subject: [PHP] Compiling PHP with Sablot support


 Hi All,

 I have PHP-4.3.0(dev) [php cvs version] and have the following
 configure:

 ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/
 --with-openssl --with-curl --enable-ftp --with-dom --with-xml
 --enable-trans-sid
 --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/
 --with-mhash=/usr/local/ --with-freetype --with-t1lib --with-ttf
 --with-freetype-dir=/usr/local/ --with-gettext --enable-track-vars
 --with-apxs --with-expat --with-enable-xslt --with-xslt-sablot
 --with-sablot

 Configure runs fine... Make runs beautifully... Make Install runs
 perfectly... Apache restarts great, but:

 Fatal error: Call to undefined function: xslt_create_processor() in
 /usr/home/dhardiker/public_html/cvs/flash_api_4.03/xslTransformer.inc.php
 on line 24

 Ideas?

 PS: Im running FreeBSD 4.6-Stable and a copy of my
 phpinfo() output can be found at http://dipsy.dapond.net/phpinfo.html.


 --
 Dan Hardiker [[EMAIL PROTECTED]]
 ADAM Software  Systems Engineer
 First Creative Ltd



 --
 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 with Sablot support

2002-08-27 Thread Dan Hardiker

 There should be a new entry like XSLT enabled under XML enabled in
 your PHPinfo in case of successful set-up.

Thats what Im looking for, but cant find it... however the configure line
still says its in there.

 I'm not very familiar with the Unix build, but just to be sure can you
 check if you uncommented the xslt extension in your php.ini file (if
 any)?

As far as I know Ive done everything I need to, there isnt any php.ini
directive that does that. If Im missing something I can check...

If there was an error I could probably debug it - but there isnt! heh

 - Original Message -
 From: Dan Hardiker [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 27, 2002 2:52 PM
 Subject: [PHP] Compiling PHP with Sablot support


 Hi All,

 I have PHP-4.3.0(dev) [php cvs version] and have the following
 configure:

 ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/
 --with-openssl --with-curl --enable-ftp --with-dom --with-xml
 --enable-trans-sid
 --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/
 --with-mhash=/usr/local/ --with-freetype --with-t1lib --with-ttf
 --with-freetype-dir=/usr/local/ --with-gettext --enable-track-vars
 --with-apxs --with-expat --with-enable-xslt --with-xslt-sablot
 --with-sablot

 Configure runs fine... Make runs beautifully... Make Install runs
 perfectly... Apache restarts great, but:

 Fatal error: Call to undefined function: xslt_create_processor() in
 /usr/home/dhardiker/public_html/cvs/flash_api_4.03/xslTransformer.inc.php
 on line 24

 Ideas?

 PS: Im running FreeBSD 4.6-Stable and a copy of my
 phpinfo() output can be found at http://dipsy.dapond.net/phpinfo.html.

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software  Systems Engineer
First Creative Ltd



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




Re: [PHP] Compiling PHP on Linux

2002-07-24 Thread Aaron Gould

Here's how to get it to work (thanks to somebody on Google Groups)...

1.   Open up the file php_functions.c in /sapi/apache2filter/
2.   Change MODULE_MAGIC_AT_LEAST to AP_MODULE_MAGIC_AT_LEAST (Note the
addition of AP_)
3.   Save the php_functions.c file and try running configure again

Keep in mind this is experimental and thus should not be used on production
web sites (even though we've been using Apache 2.0.39+PHP 4.2.1/4.2.2 for a
few weeks without issues on two of our servers).

--
Aaron Gould
[EMAIL PROTECTED]
Web Developer



- Original Message -
From: Osman Omar [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 8:35 PM
Subject: [PHP] Compiling PHP on Linux


 Hi

 I try to compile php and got error message
 any idea?


 system:
   Redhat 7.2
   Apache 2.0.39 (for redhat 7.0 from apache website)
   php 4.2.2

 error messages
 ---
 /bin/sh /usr/tmp/php-4.2.2/libtool --silent --mode=compile gcc  -I.
 -I/usr/tmp/php-4.2.2/sapi/apache2filter -I/usr/tmp/php-4.2.2/main
 -I/usr/tmp/php-4.2.2 -I/usr/local/apache2-39/include
 -I/usr/tmp/php-4.2.2/Zend -I/usr/include/freetype2/freetype
 -I/usr/tmp/gd-2.0.1/ -I/usr/tmp/php-4.2.2/ext/mysql/libmysql
 -I/usr/tmp/php-4.2.2/ext/xml/expat  -D_REENTRANT
 -I/usr/tmp/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
 -c php_functions.c
 php_functions.c:93:27: missing binary operator before '!'
 make[3]: *** [php_functions.lo] Error 1
 make[3]: Leaving directory `/var/tmp/php-4.2.2/sapi/apache2filter'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/var/tmp/php-4.2.2/sapi/apache2filter'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/tmp/php-4.2.2/sapi'
 make: *** [all-recursive] Error 1



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

2002-07-06 Thread Chris Hewitt

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 with XML????

2002-06-27 Thread René Moonen

snip

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

/snip

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

2002-06-27 Thread Erik Price


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

2002-06-27 Thread James Clifford

On Thu, Jun 27, 2002 at 09:14:32AM +0200, René Moonen wrote:
 snip
 
 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).
 
 /snip
 
 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????

2002-06-27 Thread René Moonen

snip

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.
  

/snip

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 with XML????

2002-06-26 Thread Erik Price


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

2002-06-26 Thread Scott Fletcher

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 as static mod

2002-06-05 Thread Tom Rogers

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

2002-05-15 Thread Billy S Halsey

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 4.2 with apache 2.0.35

2002-04-24 Thread Rasmus Lerdorf

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

2002-04-24 Thread Michael Geier

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




RE: [PHP] Compiling php like C

2001-09-15 Thread Jack Dempsey

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

2001-09-15 Thread Kunal Jhunjhunwala

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

2001-09-15 Thread Jack Dempsey

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

2001-09-15 Thread Kunal Jhunjhunwala

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

2001-09-15 Thread Kunal Jhunjhunwala

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

2001-09-15 Thread Chris Hobbs

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

2001-09-15 Thread Kunal Jhunjhunwala

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 for Apache.

2001-02-15 Thread Martin A. Marques

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.
-
Martn Marqus  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.

2001-02-15 Thread Ankur Verma

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

2001-02-07 Thread David Robley

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

2001-01-20 Thread Brian Clark


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 with jpeg-support

2001-01-14 Thread Joakim Bomelin


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

2001-01-14 Thread Rasmus Lerdorf

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]