Re: [PHP] Compile APC in PHP 5.2

2012-12-12 Thread Sebastian Krebs
Hi,

You should definitely not use PHP5.2 anymore.

Regards,
Sebastian


2012/12/12 Alexander Diedler 

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


-- 
github.com/KingCrunch


[PHP] Compile APC in PHP 5.2

2012-12-12 Thread Alexander Diedler
Hello,
I try to get APC working for a compiled PHP 5.2.17. 
On this Ubuntu, we have an PHP 5.3 installed with APT-GET and a PHP 5.2 as CGI 
module compiled with make etc.
In the PHP 5.3 I got APC running in phpinfo, but not in PHP 5.2, what we have 
to do to get work it?

I use this 
http://de2.php.net/manual/de/install.pecl.static.php
but if I use the configure with 
./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2 
--with-mysqli --with-mysql --with-pdo-mysql --with-curl --with-gd 
--with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-cli 
--enable-fastcgi --enable-discard-path --enable-force-cgi-redirect 
--enable-mbstring --with-bz2 --enable-gd-native-ttf --enable-calendar 
--with-gmp --enable-bcmath --with-xpm-dir=/usr --enable-soap --with-openssl 
--with-zlib --with-apc
There are only errors in the configure and it seems, that buildconf destroy the 
configure file.

I try also 
http://www.linuxask.com/questions/how-to-compile-apc-module-for-php
but if I add extension=apc.so and restart, it will not be shown in phpinfo.



Best regards
Alexander




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



Re: [PHP] Compile PHP with MySQL support

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

install it locally.otherwise impossible.

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

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

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


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


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

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

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

-- 
Nilesh Govindarajan
http://nileshgr.com

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



Re: [PHP] Compile PHP with MySQL support

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

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


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

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


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



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

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

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

-- 
Nilesh Govindarajan
http://nileshgr.com

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



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

2011-10-13 Thread Nick Khamis
Hello Everyone,

I am trying to compile php from source using the following config:

./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/
apache/bin/apxs
--with-config-file-path=/usr/local/php
--with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
--with-gettext=./ext/gettext --with-pear
--with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd
--enable-pcntl

Note the mysqli without pointing to /usr/local/mysql/bin/mysql_config.
The problem is MySQL is not installed on the machine, it is actually
installed on another server.

MySQLi Suport:

mysqli
MysqlI Support  enabled
Client API library version  5.1.49
Active Persistent Links 0
Inactive Persistent Links   0
Active Links0
Client API header version   5.1.49
MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock

Directive   Local Value Master Value
mysqli.allow_local_infile   On  On
mysqli.allow_persistent On  On
mysqli.default_host no valueno value
mysqli.default_port 33063306
mysqli.default_pw   no valueno value
mysqli.default_socket   no valueno value
mysqli.default_user no valueno value
mysqli.max_linksUnlimited   Unlimited
mysqli.max_persistent   Unlimited   Unlimited
mysqli.reconnectOff Off

The machine I compiled PHP on does not have mysqli.so, and so I am
recieving the "fatal call to undefined function mysql_connect()"
error. Can someone tell me how to compile php from source with mysql
support, but actually mysql is installed on a different server?

Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
as noted earlier.

Thanks in Advance,

Nick


[PHP] Compile PHP with MySQL support

2011-10-13 Thread Nick Khamis
Hello Everyone,

I am trying to compile php from source using the following config:

./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/php
--with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
--with-gettext=./ext/gettext --with-pear
--with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd
--enable-pcntl

Note the mysqli without pointing to /usr/local/mysql/bin/mysql_config.
The problem is MySQL is not installed on the machine, it is actually
installed on another server.

MySQLi Suport:

mysqli
MysqlI Support  enabled
Client API library version  5.1.49
Active Persistent Links 0
Inactive Persistent Links   0
Active Links0
Client API header version   5.1.49
MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock

Directive   Local Value Master Value
mysqli.allow_local_infile   On  On
mysqli.allow_persistent On  On
mysqli.default_host no valueno value
mysqli.default_port 33063306
mysqli.default_pw   no valueno value
mysqli.default_socket   no valueno value
mysqli.default_user no valueno value
mysqli.max_linksUnlimited   Unlimited
mysqli.max_persistent   Unlimited   Unlimited
mysqli.reconnectOff Off

The machine I compiled PHP on does not have mysqli.so, and so I am
recieving the "fatal call to undefined function mysql_connect()"
error. Can someone tell me how to compile php from source with mysql
support, but actually mysql is installed on a different server?

Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
as noted earlier.

Thanks in Advance,

Nick


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

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

Best regards,
Sharl.Jimh.Tsin



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

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



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

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

Hi,

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

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

-- 
Daniel Egeberg

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



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

2010-04-18 Thread Sharl.Jimh.Tsin
Hi,everyone

i download the php source tarball from php.net.
and check out lastest version of php-fpm from SVN.

then,i run the
./configure --prefix=/usr/local/php --bindir=/usr/local/bin
--sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig
--enable-embed=shared --enable-fpm --enable-safe-mode
--enable-sigchild --enable-magic-quotes --enable-fd-setsize=100
--enable-calendar --enable-dba=shared --enable-exif --enable-ftp
--enable-gd-native-ttf --enable-intl --enable-mbstring
--enable-embedded-mysqli --enable-pcntl --disable-phar --enable-shmop
--enable-soap --enable-sockets --enable-wddx --enable-zip
--enable-zend-multibyte --with-libxml-dir
--with-libevent-dir=/usr/local/libevent --with-fpm-user=php
--with-fpm-group=php --with-config-file-path=/etc
--with-exec-dir=/usr/local/bin --with-openssl --with-kerberos
--with-pcre-regex --with-zlib --with-bz2 --with-curl --with-gd
--with-mhash --with-imap --with-imap-ssl --with-ldap --with-ldap-sasl
--with-mcrypt --with-mysql=/usr/local/mysql
--with-mysql-sock=/tmp/mysql.sock
--with-mysqli=/usr/local/bin/mysql_config
--with-pdo-mysql=/usr/local/bin/mysql_config --with-xmlrpc --with-pear

it seems to be ok,and run make command.it looks like NO error appears,too

but when i run the make install,it gives some information below:
[r...@powerpc php-5.3.2]# make install
/bin/sh /root/php-5.3.2/libtool --silent --preserve-dup-deps
--mode=install cp ext/dba/dba.la /root/php-5.3.2/modules
Installing PHP SAPI module:   fpm
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/php/man/man1/
Installing shared extensions:
/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
Installing PHP FPM binary:/usr/local/sbin/
Installing PHP FPM config:/etc/sysconfig/
Installing PHP FPM man page:  /usr/local/php/man/man1/
Installing build environment: /usr/local/php/lib/php/build/
Installing header files:  /usr/local/php/include/php/
Installing helper programs:   /usr/local/bin/
 program: phpize
 program: php-config
Installing man pages: /usr/local/php/man/man1/
 page: phpize.1
 page: php-config.1
Installing PEAR environment:  /usr/local/php/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

I Do Not know what caused it..

and i run the php-fpm ,it returns "Segmentation fault"

Want your helps,my friends

Best regards,
Sharl.Jimh.Tsin

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



Re: [PHP] php compile / configure options

2010-03-19 Thread Simon J Welsh
On 20/03/2010, at 10:46 AM, Gregory Machin wrote:

> Hi
> I'm setting up a development environment that runs multiple versions of php.
> I'm looking a list of the compile option options for each php release
> other than "./configure --help" with more detail on what each option
> does.
> Any suggestions welcome .
> 
> Thank you.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

From http://php.net/install.unix:

"The initial PHP setup and configuration process is controlled by the use of 
the command line options of the configure script. You could get a list of all 
available options along with short explanations running ./configure --help. Our 
manual documents the different options separately. You will find the core 
options in the appendix , while the different 
extension specific options are descibed on the reference pages."

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

Who said Microsoft never created a bug-free program? The blue screen never, 
ever crashes!

http://www.thinkgeek.com/brain/gimme.cgi?wid=81d520e5e





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



Fwd: Re: [PHP] php compile / configure options

2010-03-19 Thread Nilesh Govindarajan

On 03/20/2010 03:16 AM, Gregory Machin wrote:

Hi
I'm setting up a development environment that runs multiple versions of php.
I'm looking a list of the compile option options for each php release
other than "./configure --help" with more detail on what each option
does.
Any suggestions welcome .

Thank you.



Its unclear what you want. This mailing list is not get ready made
things, but to get already made things fixed so that they do not produce
errors.

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com

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



[PHP] php compile / configure options

2010-03-19 Thread Gregory Machin
Hi
I'm setting up a development environment that runs multiple versions of php.
I'm looking a list of the compile option options for each php release
other than "./configure --help" with more detail on what each option
does.
Any suggestions welcome .

Thank you.

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



[PHP] Re: PHP compile

2008-06-09 Thread zerof

Hélio Rocha escreveu:

Hi there,

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

Thanks in advance.
Hélio


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

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

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



Re: [PHP] PHP compile

2008-06-09 Thread Bastien Koert
On Mon, Jun 9, 2008 at 10:43 AM, Wolf <[EMAIL PROTECTED]> wrote:

>  "Hélio Rocha" <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > How can i compile or encrypt a PHP project without changing any thing on
> the
> > server? [Fast-]CGI it's a possibility.
> >
> > Thanks in advance.
> > Hélio
>
> STFW:
>
>
> http://www.google.com/search?q=PHP%3A+encrypt&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a
>
>
> http://www.google.com/search?hl=en&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=Tfi&q=PHP%3A+compile&btnG=Search
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
might want to look at roadsend as well

http://www.roadsend.com/home/index.php?SMC=1&pageID=compiler

-- 

Bastien

Cat, the other other white meat


Re: [PHP] PHP compile

2008-06-09 Thread Wolf
 "Hélio Rocha" <[EMAIL PROTECTED]> wrote: 
> Hi there,
> 
> How can i compile or encrypt a PHP project without changing any thing on the
> server? [Fast-]CGI it's a possibility.
> 
> Thanks in advance.
> Hélio

STFW:

http://www.google.com/search?q=PHP%3A+encrypt&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a

http://www.google.com/search?hl=en&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=Tfi&q=PHP%3A+compile&btnG=Search



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



Re: [PHP] PHP compile

2008-06-09 Thread Daniel Brown
On Mon, Jun 9, 2008 at 10:36 AM, Hélio Rocha <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> How can i compile or encrypt a PHP project without changing any thing on the
> server? [Fast-]CGI it's a possibility.

STFW: http://www.google.com/search?q=php+encoders

Generally, there will have to be something installed on the server
that will give instructions on how to decrypt the files, but they
don't always require root access or intervention.

-- 

Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

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



[PHP] PHP compile

2008-06-09 Thread Hélio Rocha
Hi there,

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

Thanks in advance.
Hélio


[PHP] Compile - libxml2

2007-11-12 Thread Benjamin Dupuis
I've opened a bug report on bug.php.net,
Compiling PHP in 5.2.2 is working with my libxml2, but not in 5.2.4 (and 5.2.5)

but developpers say me that's not a bug : I must use XML2_DIR instead of 
XML_DIR,

But when using configure, it say me : use libxml-dir for libxml2
using libxml2-dir is not working, in 5.2.2 and 5.2.4
using libxml-dir is working in 5.2.2 but no 5.2.4

libxml2-dir isn't an existing variable in the configuration script.


Best regards,


http://bugs.php.net/bug.php?id=43212

Description:

Compilation work with PHP 5.2.2 but not 5.2.4

In 5.2.2 :
checking libxml2 install dir...
checking for xml2-config path... (cached)
/opt/freeware/libxml2/libxml2/bin/xml2-config
checking whether libxml build works... (cached) yes

In 5.2.4 :
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2
installation.

My xml2-config is in /opt/freeware/libxml2/2.6.30/bin

Reproduce code:
---
[EMAIL PROTECTED] more .envcommun
LADATE=$(date +%Y%m%d%H%M)

PATH=/opt/freeware/gcc/gcc/bin:${PATH}
export PATH

ZLIB_VERSION=1.2.3
CURL_VERSION=7.17.1
MYSQL_VERSION=4.1.18
OPENSSL_VERSION=0.9.8g
OPENLDAP_VERSION=2.3.39
APACHE_VERSION=2.0.61
FREETYPE_VERSION=2.3.5
GD_VERSION=2.0.35
JPEG_VERSION=6b
PNG_VERSION=1.2.22
XML_VERSION=2.6.30
PHP_VERSION=5.2.2

ZLIB_DIR=/opt/freeware/zlib/${ZLIB_VERSION}
CURL_DIR=/opt/freeware/curl/${CURL_VERSION}
MYSQL_DIR=/ibp/uti/msq/${MYSQL_VERSION}
OPENSSL_DIR=/opt/freeware/openssl/${OPENSSL_VERSION}
OPENLDAP_DIR=/opt/freeware/openldap/${OPENLDAP_VERSION}
APACHE_DIR=/opt/freeware/apache/${APACHE_VERSION}
FREETYPE_DIR=/opt/freeware/freetype2/${FREETYPE_VERSION}
GD_DIR=/opt/freeware/gd/${GD_VERSION}
JPEG_DIR=/opt/freeware/jpeg/${JPEG_VERSION}
PNG_DIR=/opt/freeware/libpng/${PNG_VERSION}
XML_DIR=/opt/freeware/libxml2/${XML_VERSION}
PHP_DIR=/ibp/uti/php/${PHP_VERSION}
DATADIRECT_DIR=/ibp/uti/ddt/datadirect

#

cd php-${PHP_VERSION}

LDFLAGS="-L${FREETYPE_DIR}/lib"
CPPFLAGS="-I${DATADIRECT_DIR}/include -I${FREETYPE_DIR}/include"
CUSTOM_ODBC_LIBS="-L${DATADIRECT_DIR}/lib -lodbc -lodbcinst"
PATH=/opt/freeware/freetype2/freetype2/bin:${PATH}
export LDFLAGS CPPFLAGS CUSTOM_ODBC_LIBS PATH

make clean
../configure \
--prefix=${PHP_DIR} \
--with-config-file-path=${PHP_DIR} \
--with-apxs2=${APACHE_DIR}/bin/apxs \
--enable-safe-mode \
--enable-mbstring=all \
--enable-mbstr-enc-trans \
--enable-mbregex \
--disable-ipv6 \
--enable-libgcc \
--with-openssl=shared,${OPENSSL_DIR} \
--with-openssl-dir=${OPENSSL_DIR} \
--with-zlib=shared,${ZLIB_DIR} \
--with-zlib-dir=${ZLIB_DIR} \
--with-ldap=shared,${OPENLDAP_DIR} \
--with-libxml-dir=${XML2_DIR} \
--with-custom-odbc=${DATADIRECT_DIR} \
--enable-simplexml \
--enable-bcmath \
--enable-calendar=shared \
--enable-ctype \
--enable-tokenizer \
--enable-session \
--with-ldap=${OPENLDAP_DIR} \
--with-curl=${CURL_DIR} \
--with-mysql=${MYSQL_DIR} \
--with-mysqli=${MYSQL_DIR}/bin/mysql_config \
--enable-ftp \
--with-jpeg-dir=${JPEG_DIR} \
--with-png-dir=${PNG_DIR} \
--with-gd=shared \
--enable-gd-native-ttf \
--with-freetype-dir=${FREETYPE_DIR}

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



Re: [PHP] Compile issue

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

-nathan

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


Re: [PHP] Compile issue

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

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

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



Re: [PHP] Compile issue

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

-nathan

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


[PHP] Compile issue

2007-09-26 Thread Eric Butera
The last version of PHP I've been able to compile on my work machine
was 5.2.2.  It is a PowerPC OS X 10.4.10.  I'm curious if anyone else
has had this problem.  I'm sure it is something stupid I'm doing but I
can't seem to figure it out.  I can still compile 5.2.2 just fine so
nothing on that end has changed but 5.2.3 & 5.2.4 just crap out.

It always dies with this message:

/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
_mysql_set_character_set
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

Any ideas?

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



[PHP] compile image and download

2007-09-10 Thread RosaM72

Hello List,
This will probably be a some what long post for that apologize. I don't
really know much about PHP, usually If I want to do something I can Google
up an example and make it work for my needs. 
With this one im totally stumped though.
Here is what Im doing and need to do, I have a page where thousands of .png
images are loaded into a div dynamically via links, these images all have a
drag class applied to them and can be placed into a second div to create one
big picture.
 
Once the final image is created in the second div I need the ability to hit
a save button which will compile all these random images into one complete
picture and prompt the user to download the image to their computer
(preferably in .jpg format)
 
People have told me to check out imagecopy, imagecopymerge and imagemagik
which I have. I read all the information provided on php.net and the
imagemagik site. Probably is I totally dont understand how to accomplish
what im trying to do with these functions.
 
If someone could please give me an example of how to do this I would so much
appreciate it.
 
Thank you

-- 
View this message in context: 
http://www.nabble.com/compile-image-and-download-tf4414579.html#a12592516
Sent from the PHP - General mailing list archive at Nabble.com.

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



Re: [PHP] php-compile error: No rule to make target

2007-06-09 Thread H. Hübel
Hi Daniel


>That's a bit out of the scope of this list, but a simple fix
> anyway.  Change config.m4:
> PHP_NEW_EXTENSION(hello, hello.c, $ext_shared)
>
> to
> PHP_NEW_EXTENSION(hello, php_hello.c, $ext_shared)
>


Thank you very much! You made my day :)

it was the wrong filename in the m4-file. I will write this error to
zend.com that they can improve their lesson.


have a nice day

kind regards,
jdelmour

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



Re: [PHP] php-compile error: No rule to make target

2007-06-09 Thread Daniel Brown

On 6/9/07, "H. Hübel" <[EMAIL PROTECTED]> wrote:

Hello everyone

for learning to develope an own external php-extension i studied the
following session under
http://devzone.zend.com/article/1021-Extension-Writing-Part-I-Introduction-to-PHP-and-Zend
and tried to develope my first extension as the examples from this site.

i use Linux (openSuse 10.2) and have compiled php 5.2.3 and apache 2.2.4
successfully.

after editing the first example of this site above (hello-world) i can
run "phpize" and "./configure --enable-hello" successfully too.

but when i run "make", i get an error message called:

susi-note:/php-5.2.3/ext/hello # make
make: *** No rule to make target `/php-5.2.3/ext/hello/hello.c', needed
by `hello.lo'.  Stop.



i just covered all lines of that example in this site described above
and changed nothing from that. i guess its usually so simple that the
authors just think, it should be to compile on every system.
so i wonder about my error result.

has anybody an idea, what i can do to compile this example?

my example is the following:

under my php-source-directory i created a subfolder under the "/ext/"
directory called "hello".

in this directory i created the following files under my footer. than i
started to typing "phpsize", "./configure..." and "make" from that
directory as described in the site called above.

thank you very much for any help!

kind regards,
h. huebel



config.m4:

PHP_ARG_ENABLE(hello, whether to enable Hello World support,
[ --enable-hello   Enable Hello World support])

if test "$PHP_HELLO" = "yes"; then
  AC_DEFINE(HAVE_HELLO, 1, [Whether you have Hello World])
  PHP_NEW_EXTENSION(hello, hello.c, $ext_shared)
fi

~

php_hello.h:

#ifndef PHP_HELLO_H
#define PHP_HELLO_H 1

#define PHP_HELLO_WORLD_VERSION "1.0"
#define PHP_HELLO_WORLD_EXTNAME "hello"

PHP_FUNCTION(hello_world);

extern zend_module_entry hello_module_entry;
#define phpext_hello_ptr &hello_module_entry



~


#ifndef PHP_HELLO_H
#define PHP_HELLO_H 1

#define PHP_HELLO_WORLD_VERSION "1.0"
#define PHP_HELLO_WORLD_EXTNAME "hello"

PHP_FUNCTION(hello_world);

extern zend_module_entry hello_module_entry;
#define phpext_hello_ptr &hello_module_entry

#endifsusi-note:/home/hagen/download/php-5.2.3/ext/hello # cat php_hello.c
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "php.h"
#include "php_hello.h"

static function_entry hello_functions[] = {
PHP_FE(hello_world, NULL)
{NULL, NULL, NULL}
};

zend_module_entry hello_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
PHP_HELLO_WORLD_EXTNAME,
hello_functions,
NULL,
NULL,
NULL,
NULL,
NULL,
#if ZEND_MODULE_API_NO >= 20010901
PHP_HELLO_WORLD_VERSION,
#endif
STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_HELLO
ZEND_GET_MODULE(hello)
#endif

PHP_FUNCTION(hello_world)
{
RETURN_STRING("Hello World", 1);
}

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




   That's a bit out of the scope of this list, but a simple fix
anyway.  Change config.m4:
PHP_NEW_EXTENSION(hello, hello.c, $ext_shared)

    to
PHP_NEW_EXTENSION(hello, php_hello.c, $ext_shared)

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

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



[PHP] php-compile error: No rule to make target

2007-06-09 Thread H. Hübel
Hello everyone

for learning to develope an own external php-extension i studied the
following session under
http://devzone.zend.com/article/1021-Extension-Writing-Part-I-Introduction-to-PHP-and-Zend
and tried to develope my first extension as the examples from this site.

i use Linux (openSuse 10.2) and have compiled php 5.2.3 and apache 2.2.4
successfully.

after editing the first example of this site above (hello-world) i can
run "phpize" and "./configure --enable-hello" successfully too.

but when i run "make", i get an error message called:

susi-note:/php-5.2.3/ext/hello # make
make: *** No rule to make target `/php-5.2.3/ext/hello/hello.c', needed
by `hello.lo'.  Stop.



i just covered all lines of that example in this site described above
and changed nothing from that. i guess its usually so simple that the
authors just think, it should be to compile on every system.
so i wonder about my error result.

has anybody an idea, what i can do to compile this example?

my example is the following:

under my php-source-directory i created a subfolder under the "/ext/"
directory called "hello".

in this directory i created the following files under my footer. than i
started to typing "phpsize", "./configure..." and "make" from that
directory as described in the site called above.

thank you very much for any help!

kind regards,
h. huebel



config.m4:

PHP_ARG_ENABLE(hello, whether to enable Hello World support,
[ --enable-hello   Enable Hello World support])

if test "$PHP_HELLO" = "yes"; then
  AC_DEFINE(HAVE_HELLO, 1, [Whether you have Hello World])
  PHP_NEW_EXTENSION(hello, hello.c, $ext_shared)
fi

~

php_hello.h:

#ifndef PHP_HELLO_H
#define PHP_HELLO_H 1

#define PHP_HELLO_WORLD_VERSION "1.0"
#define PHP_HELLO_WORLD_EXTNAME "hello"

PHP_FUNCTION(hello_world);

extern zend_module_entry hello_module_entry;
#define phpext_hello_ptr &hello_module_entry



~


#ifndef PHP_HELLO_H
#define PHP_HELLO_H 1

#define PHP_HELLO_WORLD_VERSION "1.0"
#define PHP_HELLO_WORLD_EXTNAME "hello"

PHP_FUNCTION(hello_world);

extern zend_module_entry hello_module_entry;
#define phpext_hello_ptr &hello_module_entry

#endifsusi-note:/home/hagen/download/php-5.2.3/ext/hello # cat php_hello.c
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "php.h"
#include "php_hello.h"

static function_entry hello_functions[] = {
PHP_FE(hello_world, NULL)
{NULL, NULL, NULL}
};

zend_module_entry hello_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
PHP_HELLO_WORLD_EXTNAME,
hello_functions,
NULL,
NULL,
NULL,
NULL,
NULL,
#if ZEND_MODULE_API_NO >= 20010901
PHP_HELLO_WORLD_VERSION,
#endif
STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_HELLO
ZEND_GET_MODULE(hello)
#endif

PHP_FUNCTION(hello_world)
{
RETURN_STRING("Hello World", 1);
}

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



[PHP] Compile a stored code with php

2005-11-19 Thread Khorosh Irani
Hello
How I can compile a php code that is stored in a database when the programm
is running?
Thanks


Re: [PHP] compile issue.

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


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

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

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


Hope that leads you to a satisfactory resolution.

G

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



[PHP] compile issue.

2005-10-21 Thread Mark Nernberg
This is a repost, as I have received no response thus far.

Running FreeBSD 5.4/RELEASE on Sparc64 and Apache 2.0.55

When attempting to install 4.4.0 or 5.0.5, from ports or from source, I am
getting the following error: (This specific error is from 4.4.0 from ports
[/usr/ports/lang/php4]  The error also affects the 5.1RC.

/bin/sh /usr/ports/lang/php4/work/php-4.4.0/libtool --silent
--preserve-dup-deps --mode=compile cc  -Iext/standard/
-I/usr/ports/lang/php4/work/php-4.4.0/ext/standard/ -DPHP_ATOM_INC
-I/usr/ports/lang/php4/work/php-4.4.0/include
-I/usr/ports/lang/php4/work/php-4.4.0/main
-I/usr/ports/lang/php4/work/php-4.4.0
-I/usr/ports/lang/php4/work/php-4.4.0/TSRM
-I/usr/ports/lang/php4/work/php-4.4.0/Zend-O -pipe   -c
/usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c -o
ext/standard/crypt.lo
In file included from /usr/include/rpc/rpc.h:59,
 from /usr/include/crypt.h:9,
 from
/usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c:31:
/usr/include/rpc/rpc_msg.h:66: error: syntax error before numeric constant
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.4.0.
*** Error code 1

Stop in /usr/ports/lang/php4.

Any ideas would  be helpful.  If anyone requires more information, just ask
& I will provide.

--
m

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



[PHP] compile my code

2004-11-02 Thread Mirko Melis
Hi to all
one question:
There is one way to compile my script into intermediate code like jsp?
thanks
MM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Compile

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

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

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

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



RE: [PHP] Compile

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

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

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



Re: [PHP] Compile

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



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

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



Re: [PHP] Compile

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

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

thanks

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


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

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



Re: [PHP] Compile

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


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

Do you know if Turck MMCache works with PHP 5.0?

Teddy

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



Re: [PHP] Compile

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

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


--
Raditha Dissanayake.

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


[PHP] Compile

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


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

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

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

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


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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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



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

2004-07-13 Thread Jacob Friis Larsen
How do I install Php5 with both --with-mysql and --with-mysqli?
MySQL is 4.1.3-beta and installed as official MySQL RPM.
This didn't work:
./configure --with-mysql=/usr/include/mysql --enable-embedded-mysqli
./configure --with-mysql=/usr/include/mysql
--with-mysql=/usr/bin/mysql_config
./configure --with-mysql=/usr/include/mysql
--with-mysqli=/usr/bin/mysql_config
The last gave me a lot of errors.
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Compile PHP question

2004-04-16 Thread Dave Carrera
Hi David,

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

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

Yours truly

Dave Carrera


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


Please remove my address from any future correspondence about PHP.


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

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

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



Re: [PHP] Compile PHP question

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

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

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

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

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



Re: [PHP] Compile PHP question

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

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

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

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

 -- red

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

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

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

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



Re: [PHP] Compile PHP question

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


I believe cgi is enabled by default, so

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

would be better.

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

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



Re: [PHP] Compile PHP question

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

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

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

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


cu
-- 
-
 Enrico Weigelt==   metux IT services

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

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



[PHP] Compile PHP question

2004-04-15 Thread Dave Carrera
Hi List,

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

The reason I ask is that I would like to do some command line scripting
using php as my preferred scripting language and I don’t have apache loaded
on the server as this is going to be on a dedicated email server.

Any help, make lines or anything is very much appreciated.

Thanks you in advance for any help

Dave C


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

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



RE: [PHP] compile problem

2004-02-13 Thread Sam Masiello

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

Good luck!

--Sam



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

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



[PHP] compile problem

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

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



Re: [PHP] compile php

2004-01-12 Thread shawn_milochik

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

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

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

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

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

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

Shawn




   

  [EMAIL PROTECTED]

  et   To:   [EMAIL PROTECTED] 

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

  PM   

   

   





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

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








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

**

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



[PHP] compile php

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

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



[PHP] PHP Compile w/ Sun ONE Directory Server

2003-12-23 Thread Cameron B. Prince
Hi,

I am trying to compile PHP with LDAP support via the Sun ONE Directory
Server. I am running into a problem where some functions aren't being found
in the include or shared libraries. Here's my configure command:

export
LD_LIBRARY_PATH="/usr/lib:/usr/local/nss-3.8/lib:/usr/local/nspr-4.3/lib:/us
r/local/mysql/lib:/usr/local/lib/sparcv9:/data/sunone_php/servers/lib:/data/
sunone_php/servers/lib/sasl"

./configure --with-mysql=/usr/local/mysql \
--with-nsapi=/data/sunone_php/webservers \
--enable-libgcc \
--with-zlib-dir=/usr/local \
--with-openssl=/usr/local/ssl \
--with-ldap=/data/sunone_php/servers

The configure command completes successfully with no errors. The make
however, fails with:

Undefined   first referenced
 symbol in file
sasl_client_step
/data/sunone_php/servers/lib/libldap50.so
sasl_encode
/data/sunone_php/servers/lib/libldap50.so
sasl_getprop
/data/sunone_php/servers/lib/libldap50.so
sasl_setprop
/data/sunone_php/servers/lib/libldap50.so
sasl_decode
/data/sunone_php/servers/lib/libldap50.so
sasl_client_new
/data/sunone_php/servers/lib/libldap50.so
sasl_client_init
/data/sunone_php/servers/lib/libldap50.so
sasl_set_alloc
/data/sunone_php/servers/lib/libldap50.so
sasl_dispose
/data/sunone_php/servers/lib/libldap50.so
sasl_client_start
/data/sunone_php/servers/lib/libldap50.so
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'


I added /data/sunone_php/servers/lib/sasl to the library path in the hopes
that it would find the functions there, but still no dice. I've also tried
compiling my own copy of sasl and pointing to it, but I'm not sure which
version to use and that didn't work either.

If I configure without LDAP, everything works fine. I desparately need to
get this going as we aren't going to be able to use PHP without LDAP support
and we have deadlines approaching quickly.

Any help or ideas would be greatly appreciated.

Thanks,
Cameron

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



[PHP] compile problems

2003-12-20 Thread Brian V Bonini
Not a clue what's wrong, anyone?

functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_
multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo
sapi/apache/mod_php
4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt
-lc-client -lc
rypt -lmysqlclient -lcrypt -lpam -lgd -lfreetype -lpng -lz -ljpeg -lz
-lm -lcryp
t -lcrypt  -o libphp4.la
-C: no such file or directory
net/php/reflect.class: no such file or directory
-C: no such file or directory
net/php/reflect.properties: no such file or directory
java.util.zip.ZipException: duplicate entry: usr/src/php-4.3.4/ext/java/
at
java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:166)
at sun.tools.jar.Main.addFile(Main.java:297)
at sun.tools.jar.Main.create(Main.java:258)
at sun.tools.jar.Main.run(Main.java:89)
at sun.tools.jar.Main.main(Main.java:518)
*** Error code 1

Stop in /usr/src/php-4.3.4.


-- 
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
  Key Server: pgp.mit.edu
==
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
GnuPG: http://gnupg.org
http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC
Linux Registered User #339825 at http://counter.li.org


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


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

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

Ivone Uribe wrote:

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

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

Thanks in advance!!

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


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

2003-12-15 Thread Ivone Uribe
Hi all!
I'm installing php4.3.3, apache 1.3.28 with
mysql3.22.32
I'm using this option --with-mysql=/usr/local/mysql

But when I compile the php code, I get this error:

ext/mysql/php_mysql.o: In function
`zif_mysql_client_encoding':
/root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1118:
undefined reference to `mysql_character_set_name'
ext/mysql/php_mysql.o: In function
`zif_mysql_real_escape_string':
/root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1705:
undefined reference to `mysql_real_escape_string'
collect2: ld returned 1 exit status

To solve it..I try the option --disable-cli on
./configure, and all ok.
But now I have the same problem
(/php-4.3.3/ext/mysql/php_mysql.c:1118: undefined
reference to `mysql_character_set_name')
when I try to compile the apache...

Please!!! Does anybody  know how to solve it?

Thanks in advance!!


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



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

2003-12-14 Thread Ivone Uribe
Hi all!
I'm installing php4.3.3, apache 1.3.28 with
mysql3.22.32
I'm using this option --with-mysql=/usr/local/mysql

But when I compile the php code, I get this error:

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

Please!!! Does anybody  know how to solve it?

Thanks in advance!!

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



Re: [PHP] php compile....

2003-11-12 Thread Jason Wong
On Thursday 13 November 2003 05:42, John Nichel wrote:

> Is the phpinfo page showing your php code '', or is
> it blank as in no content at all?
>
> If no content, what do you see when you view the source of the page in
> the browser?
>
> Did you restart apache?
>
> Did you compile php at the same time as apache?
>
> If yes, did you activate php in the apache configuration before compiling?
>
> Did you compile php as a DSO?
>
> If so, did you modify httpd.conf to load the php module?

Check both the Apache logs and PHP logs as well.

-- 
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
--
/*
Binary, adj.:
Possessing the ability to have friends of both sexes.
*/

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



Re: [PHP] php compile....

2003-11-12 Thread John Nichel
Mike R wrote:

[snip]
Yeah, got that as:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .phtml
And the DirectoryIndex stuff is there, too.
[/snip]
So, all of that is there, yet PHP does not work? After you compiled PHP
did you restart Apache? How, preceisely, are you testing for the
operation of PHP?


I have a page for phpinfo() on the server called phpinfo.php - coming up a
big blank.  That and some other pages with scripts that want to
download.  :\
-Mike

Is the phpinfo page showing your php code '', or is 
it blank as in no content at all?

If no content, what do you see when you view the source of the page in 
the browser?

Did you restart apache?

Did you compile php at the same time as apache?

If yes, did you activate php in the apache configuration before compiling?

Did you compile php as a DSO?

If so, did you modify httpd.conf to load the php module?

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] php compile....

2003-11-12 Thread Mike R

> [snip]
> Yeah, got that as:
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .html
> AddType application/x-httpd-php .phtml
>
> And the DirectoryIndex stuff is there, too.
> [/snip]
>
> So, all of that is there, yet PHP does not work? After you compiled PHP
> did you restart Apache? How, preceisely, are you testing for the
> operation of PHP?

I have a page for phpinfo() on the server called phpinfo.php - coming up a
big blank.  That and some other pages with scripts that want to
download.  :\

-Mike

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



RE: [PHP] php compile....

2003-11-12 Thread Jay Blanchard
[snip]
Yeah, got that as:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .phtml

And the DirectoryIndex stuff is there, too.
[/snip]

So, all of that is there, yet PHP does not work? After you compiled PHP
did you restart Apache? How, preceisely, are you testing for the
operation of PHP?

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



RE: [PHP] php compile....

2003-11-12 Thread Mike R


> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 3:32 PM
> To: Mike R; [EMAIL PROTECTED]
> Subject: RE: [PHP] php compile
> 
> 
> [snip]
> In what way would I have to modify it?  I've compiled before without any
> issues... (not on this server, though, admittedly).
> [/snip]
> 
> 
> # DirectoryIndex: Name of the file or files to use as a pre-written HTML
> # directory index.  Separate multiple entries with spaces.
> #
> 
> DirectoryIndex index.html index.php index.php3
> 
> 
> Make sure that you have
> 
> AddType application/x-httpd-php .php
> 
> in the httpd.conf

Yeah, got that as:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .phtml

And the DirectoryIndex stuff is there, too.

:)

Thanks,

-Mike
 

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



RE: [PHP] php compile....

2003-11-12 Thread Jay Blanchard
[snip]
In what way would I have to modify it?  I've compiled before without any
issues... (not on this server, though, admittedly).
[/snip]


# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.
#

DirectoryIndex index.html index.php index.php3


Make sure that you have

AddType application/x-httpd-php .php

in the httpd.conf

P.S. Please reply so that your response gets posted back to the list in
the event that whomever you responded to may be unavailable to help you.
That way others can help.

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



RE: [PHP] php compile....

2003-11-12 Thread Jay Blanchard
[snip]
I'm compiling php (4.3.4) on a server with linux (different server than
my
other post), and the config, make, and make install all seem to go fine
(no
errors or special messages).  No go on PHP, though.  Restarted apache,
but
nothing.

Should I reboot the server?

Any other possibilities?
[/snip]

Have you modified your httpd.conf properly? Don't reboot

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



[PHP] php compile....

2003-11-12 Thread Mike R

I'm compiling php (4.3.4) on a server with linux (different server than my
other post), and the config, make, and make install all seem to go fine (no
errors or special messages).  No go on PHP, though.  Restarted apache, but
nothing.

Should I reboot the server?

Any other possibilities?

Thanks for any help,

-Mike

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



[PHP] Compile on Mac OS X --with-java?

2003-11-06 Thread Karl Nelson
Has anyone managed to get PHP to compile on Mac OS X with the --with-java
flag in the configure command?

I've tried it with PHP 4.3.2, 4.3.3, and 4.3.4, all without any luck.

I'm using Mac OS X Server 10.2.8, with Java 1.4.1.

I've tried 
./configure --with-mysql --with-apxs --with-xml
--with-java=/Library/Java/Home
and
./configure --with-mysql --with-apxs --with-xml --with-java

When I run make, it dies with:
make: *** [ext/java/java.lo] Error 1

I can build just fine if I configure with:
./configure --with-mysql --with-apxs --with-xml

Looking over the output from make, it looks like the trouble starts here:
/Users/admin/Desktop/php-4.3.3/ext/java/java.c:39:24: JavaVM/jni.h: No such
file or directory

The only jni.h files I could find are:
/Developer/Java/Headers/vm-jni.h
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers/jni.h
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h

My knowledge of how Apple set up java gets a bit fuzzy at this point.
http://developer.apple.com/documentation/Java/Conceptual/Java131Development/
overview/chapter_2_section_5.html helps a bit, but clearly we're moving
beyond just a simple install here.

Any ideas?  Anybody have success with this?

Thanks,
Karl

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



[PHP] Compile php

2003-06-27 Thread J.F.Kishor
Hi all,

I have a doubt, is there a way to compile php as a class file,
so that it would be more secured.
And I should be able to be invoked by a HTML client interface.

Thanks in adv
- JFK
kishor
Nilgiri Networks






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



Re: [PHP] Compile 4.3.2 Errors.

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

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

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


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

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

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

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


dangerous, better use `mkstemp'



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


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




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


Re: [PHP] Compile 4.3.2 Errors.

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


Thomas

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

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



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



Re: [PHP] Compile 4.3.2 Errors.

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

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




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

-- 

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

-Rules of Attraction


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



Re: [PHP] Compile 4.3.2 Errors.

2003-06-01 Thread Philip Olson

On Sat, 31 May 2003, Alberto Ferrer wrote:

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

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

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

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

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

Regards,
Philip


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



Re: [PHP] Compile 4.3.2 Errors.

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

volker

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


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


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



[PHP] Compile 4.3.2 Errors.

2003-05-31 Thread Alberto Ferrer
Im compiling the last vercion of PHP 4.3.2 and says this after finish of
compile.
The system is a Redhat 7.3, Apache 1.3.27.

ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is
dangerous, better use `mkstemp'



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



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



[PHP] Compile problem.

2003-03-21 Thread Serge Paquin
Hello,

I am just upgrading to mySQL 4.   As per the recommendation at www.mysql.com I am 
recompiling programs that link against the mysql client.  When I try to compile 
PHP-4.3.1 I get many many lines similar to:

/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_request_file':
net.o(.text+0x918): multiple definition of `net_request_file'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x918): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `my_net_init':
net.o(.text+0xa90): multiple definition of `my_net_init'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xa90): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_end':
net.o(.text+0xb68): multiple definition of `net_end'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xb68): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_clear':
net.o(.text+0xb8c): multiple definition of `net_clear'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xb8c): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_flush':
net.o(.text+0xbf8): multiple definition of `net_flush'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xbf8): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `my_net_write':
net.o(.text+0xc3c): multiple definition of `my_net_write'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xc3c): first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

What is going wrong?  I did a make clean first.  My current compiled PHP seems to be 
working find and talked to the database but I am concerned that I am unable to 
recompile PHP.

I've search the archives and google and have come up with nothing.  Any help is 
appriciated.

Thanks,
Serge.


[PHP] cURL & PHP compile error

2003-03-10 Thread Bryan Brannigan
Trying to setup PHP with cURL support... I run this configure command:

./configure --with-mysql --with-apxs --with-openssl=/usr/local/ssl
--with-curl --with-mcrypt --enable-sockets

and receive this error:

/usr/local/lib/libcurl.so: undefined reference to `UI_OpenSSL'

Help!!




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



Re: [PHP] PHP Compile question ....

2003-02-17 Thread Mat Harris
no problem. the only thing i forgot to say is that this is on a redhat 7.3
machine and the libraries that are used by some of those options are from
redhat rpms. If you aren't using a similar version of redhat then you may
get messages about certain options missing headers etc.

up to you whether you fix them or forget them :)

On Mon, Feb 17, 2003 at 08:43:20 +0100, James Hatridge wrote:
> Thanks! I'll give it a shot in the morning!
> 
> JIM
> 
> On Monday 17 February 2003 18:19, Mat Harris wrote:
> > i like to use to following with php 4.3.0. Note the $APACHE_PREFIX should
> > be changed:
> >
> > ./configure --prefix=/usr --with-apxs=$APACHE_PREFIX/bin/apxs
> > --enable-debug=no --enable-safe-mode --with-mysql=/usr --with-regex=system
> > --with-xml --with-imap --with-snmp --with-kerberos --with-imap-ssl
> > --with-openssl --with-bz2 --with-db3 --with-curl --with-png-dir=/usr
> > --with-gd --with-gdbm --with-gettext --with-ncurses --with-jpeg-dir=/usr
> > --with-mm --with-png --with-pspell --with-zlib --enable-ftp
> > --enable-sockets --enable-track-vars --enable-trans-sid --enable-yp
> > --enable-memory-limit --enable-calendar --enable-dbx
> >
> > On Mon, Feb 17, 2003 at 05:02:00 +0100, James Hatridge wrote:
> > > Hi all...
> > >
> > > I just compiled PHP from source for the first time. It "works", but not
> > > like I want it to. I need it to work with Mysql, do graphs, and let me
> > > run programs (ie safe-mode is off). Also the odd thing is that before I
> > > compiled my own PHP I could access all my mysql databases. Now I can only
> > > access in a read only mode. When I try to do any type of update I get
> > > either a blank screen or PHP says that the DB is not there. I am able to
> > > access all my DBs at the mysql command line without problem.
> > >
> > > I think that my problems are with the options when I compile PHP. Can
> > > someone give me an example of the options I need to make this work?
> > >
> > > Thanks
> > >
> > > JIM
> > > --
> > > Jim Hatridge
> > > Linux User #88484
> > > --
> > >  BayerWulf
> > >Linux System # 129656
> > >  The Recycled Beowulf Project
> > >   Looking for throw-away or obsolete computers and parts
> > >to recycle into a Linux super computer
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> Jim Hatridge
> Linux User #88484
> --
>  BayerWulf
>Linux System # 129656
>  The Recycled Beowulf Project
>   Looking for throw-away or obsolete computers and parts
>to recycle into a Linux super computer

-- 
Mat Harris  OpenGPG Public Key ID: C37D57D9
[EMAIL PROTECTED]www.genestate.com   



msg97253/pgp0.pgp
Description: PGP signature


Re: [PHP] PHP Compile question ....

2003-02-17 Thread James Hatridge
Thanks! I'll give it a shot in the morning!

JIM

On Monday 17 February 2003 18:19, Mat Harris wrote:
> i like to use to following with php 4.3.0. Note the $APACHE_PREFIX should
> be changed:
>
> ./configure --prefix=/usr --with-apxs=$APACHE_PREFIX/bin/apxs
> --enable-debug=no --enable-safe-mode --with-mysql=/usr --with-regex=system
> --with-xml --with-imap --with-snmp --with-kerberos --with-imap-ssl
> --with-openssl --with-bz2 --with-db3 --with-curl --with-png-dir=/usr
> --with-gd --with-gdbm --with-gettext --with-ncurses --with-jpeg-dir=/usr
> --with-mm --with-png --with-pspell --with-zlib --enable-ftp
> --enable-sockets --enable-track-vars --enable-trans-sid --enable-yp
> --enable-memory-limit --enable-calendar --enable-dbx
>
> On Mon, Feb 17, 2003 at 05:02:00 +0100, James Hatridge wrote:
> > Hi all...
> >
> > I just compiled PHP from source for the first time. It "works", but not
> > like I want it to. I need it to work with Mysql, do graphs, and let me
> > run programs (ie safe-mode is off). Also the odd thing is that before I
> > compiled my own PHP I could access all my mysql databases. Now I can only
> > access in a read only mode. When I try to do any type of update I get
> > either a blank screen or PHP says that the DB is not there. I am able to
> > access all my DBs at the mysql command line without problem.
> >
> > I think that my problems are with the options when I compile PHP. Can
> > someone give me an example of the options I need to make this work?
> >
> > Thanks
> >
> > JIM
> > --
> > Jim Hatridge
> > Linux User #88484
> > --
> >  BayerWulf
> >Linux System # 129656
> >  The Recycled Beowulf Project
> >   Looking for throw-away or obsolete computers and parts
> >to recycle into a Linux super computer
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Jim Hatridge
Linux User #88484
--
 BayerWulf
   Linux System # 129656
 The Recycled Beowulf Project
  Looking for throw-away or obsolete computers and parts
   to recycle into a Linux super computer


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




Re: [PHP] PHP Compile question ....

2003-02-17 Thread Mat Harris
i like to use to following with php 4.3.0. Note the $APACHE_PREFIX should be
changed:

./configure --prefix=/usr --with-apxs=$APACHE_PREFIX/bin/apxs --enable-debug=no 
--enable-safe-mode --with-mysql=/usr --with-regex=system --with-xml --with-imap 
--with-snmp --with-kerberos --with-imap-ssl --with-openssl --with-bz2 --with-db3 
--with-curl --with-png-dir=/usr --with-gd --with-gdbm --with-gettext --with-ncurses 
--with-jpeg-dir=/usr --with-mm --with-png --with-pspell --with-zlib --enable-ftp 
--enable-sockets --enable-track-vars --enable-trans-sid --enable-yp 
--enable-memory-limit --enable-calendar --enable-dbx

On Mon, Feb 17, 2003 at 05:02:00 +0100, James Hatridge wrote:
> 
> Hi all...
> 
> I just compiled PHP from source for the first time. It "works", but not like I 
> want it to. I need it to work with Mysql, do graphs, and let me run programs 
> (ie safe-mode is off). Also the odd thing is that before I compiled my own 
> PHP I could access all my mysql databases. Now I can only access in a read 
> only mode. When I try to do any type of update I get either a blank screen or 
> PHP says that the DB is not there. I am able to access all my DBs at the 
> mysql command line without problem. 
> 
> I think that my problems are with the options when I compile PHP. Can someone 
> give me an example of the options I need to make this work? 
> 
> Thanks
> 
> JIM
> -- 
> Jim Hatridge
> Linux User #88484
> --
>  BayerWulf
>Linux System # 129656
>  The Recycled Beowulf Project
>   Looking for throw-away or obsolete computers and parts
>to recycle into a Linux super computer
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Mat Harris  OpenGPG Public Key ID: C37D57D9
[EMAIL PROTECTED]www.genestate.com   



msg97218/pgp0.pgp
Description: PGP signature


[PHP] PHP Compile question ....

2003-02-17 Thread James Hatridge

Hi all...

I just compiled PHP from source for the first time. It "works", but not like I 
want it to. I need it to work with Mysql, do graphs, and let me run programs 
(ie safe-mode is off). Also the odd thing is that before I compiled my own 
PHP I could access all my mysql databases. Now I can only access in a read 
only mode. When I try to do any type of update I get either a blank screen or 
PHP says that the DB is not there. I am able to access all my DBs at the 
mysql command line without problem. 

I think that my problems are with the options when I compile PHP. Can someone 
give me an example of the options I need to make this work? 

Thanks

JIM
-- 
Jim Hatridge
Linux User #88484
--
 BayerWulf
   Linux System # 129656
 The Recycled Beowulf Project
  Looking for throw-away or obsolete computers and parts
   to recycle into a Linux super computer


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




Re: [PHP] PHP Compile Error

2003-01-30 Thread Johannes Schlueter
Hi,

On Friday 31 January 2003 01:10, Robert Fitzpatrick wrote:
> Running Redhat 8.0
> PHP 4.3.0
>
> When I try to configure with the following:
> ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars
> --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local

Are you sure you told the correct path:
> --with-jpeg-dir=/usr/local/bin/ 
Try just /usr/local

> --with-png-dir=/usr/lib
> --with-zlib-dir=/usr/lib --with-zlib --enable-xslt --enable-cli
> --disable-debug --with-xslt-sablot

johannes

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




[PHP] PHP Compile Error

2003-01-30 Thread Robert Fitzpatrick
Running Redhat 8.0
PHP 4.3.0

When I try to configure with the following:
./configure --with-apxs=/web_root/bin/apxs --enable-track-vars
--enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local
--with-jpeg-dir=/usr/local/bin/  --with-png-dir=/usr/lib
--with-zlib-dir=/usr/lib --with-zlib --enable-xslt --enable-cli
--disable-debug --with-xslt-sablot

I get the following error:
...
configure: error: libjpeg.(a|so) not found.

Any ideas?

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




[PHP] Compile with GD TTF FREETYPE

2002-12-20 Thread Breno Cardoso Perucchi
Hello,

I am trying compile my php-4.2.3 with

  FreeType Support enabled
  FreeType Linkage with TTF library

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-mysql
=/usr/local/mysql  --with-gd --enable-gd-native-ttf --with-ttf --disable-mbs
tr-enc-trans --with-freetype-dir=/usr


But, with the directives that I put I only have getting:
  FreeType Support enabled
  FreeType Linkage with freetype

I need the FreeType with support TTFLibrary
What did I make wrong in the compilation?

Breno Cardoso perucchi
[EMAIL PROTECTED]



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




Re: [PHP] compile error

2002-08-19 Thread Rasmus Lerdorf

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

On Mon, 19 Aug 2002, Adam Williams wrote:

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


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




[PHP] compile error

2002-08-19 Thread Adam Williams

I'm trying to compile PHP 4.2.2.  I am running Apache 2.0.40 (yes I know
support is experimental).  I am compiling on Redhat 7.3 Linux 2.4.18.  I
did my PHP configure line:

./configure --enable-track-vars --with-mysql --with-mail 
--with-apxs2=/usr/local/apache2/bin/apxs

and then I do a make, and it errors out with:

make[3]: Entering directory `/root/php-4.2.2/sapi/apache2filter'
/bin/sh /root/php-4.2.2/libtool --silent --mode=compile gcc  -I.
-I/root/php-4.2.2/sapi/apache2filter -I/root/php-4.2.2/main
-I/root/php-4.2.2 -I/usr/local/apache2/include -I/root/php-4.2.2/Zend
-I/root/php-4.2.2/ext/mysql/libmysql -I/root/php-4.2.2/ext/xml/expat
-D_REENTRANT -I/root/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes
pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

Has anyone else had similar errors and found a solution?

Adam


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




[PHP] compile PHP --with-imap, on OS X: progress, but...

2002-08-09 Thread Michael Geary

Hi folks,

I am desperately trying to get PHP (4.2.2) --with-imap running on OS X, 
so I can run the IMP web-mail client. I already have IMAP installed, and 
have downloaded and compiled the U-W c-client. I have also followed the 
directions on the PHP.NET website under IMAP.

Here is my PHP configure line:

./configure --prefix=/mg --with-apxs=/mg/sbin/apxs \
--with-config-file-path=/mg/etc --with-gettext=/sw \
--with-xml --enable-ftp --with-imap=/usr/local/src/imap-2002.RC2 \
--with-imap-ssl

I can configure PHP just fine, that is, I don't get any errors. However, 
when I run "make", I get a message:

*** Warning: This library needs some functionality provided by 
-lc-client.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

I do still get a libphp4.dylib file, but when I rename this to 
libphp4.so and place it in the appropriate apache directory, i get the 
following error from apache:

Syntax error on line 239 of /mg/etc/httpd.conf:
Cannot load /mg/libexec/httpd/libphp4.so into server: (reason unknown)

on line 239 of httpd.conf I have:

LoadModule php4_module  libexec/httpd/libphp4.so

Can anyone make any sense of this? I would really appreciate some help.

regards,

michael geary


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




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

2002-07-11 Thread Mike

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


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


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




[PHP] Compile errors with php 4.2.1 and gd

2002-07-11 Thread Mike

Hello,
I have followed all the directions on how to compile php and gd and all the
other stuff that needs to be complied for gd to work with php, but it will
not compile... it keeps failing to compile with the following errors :

gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
gmake[3]: *** [gd.lo] Error 1

can anyone give me a helping hand, with this?
the configure line that I have used is this:
./configure  --with-vpopmail=/var/vpopmail/ --with-apxs=/usr/local/apache/bi
n/apxs --with-jpeg-dir=/usr/local --with-gd=/usr/local --with-png-dir=/usr/l
ocal --with-zlib-dir=shared --with-freetype-dir=/usr/local --enable-ftp

any help would be appreciated greatly,
Mike



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




RE: [PHP] Compile error.

2002-06-24 Thread Duncan Hill

On Mon, 24 Jun 2002, John Holmes wrote:

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

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


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




RE: [PHP] Compile error.

2002-06-24 Thread John Holmes

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

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

---John Holmes...


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




[PHP] Compile error.

2002-06-24 Thread Duncan Hill

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

Peculiar to me, or known problem?


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




Re: [PHP] PHP Compile with sun 5.7

2002-06-08 Thread Moussa Dahadha

Any News ??


Moussa Dahadha wrote:

>
>
>
>Hi, i know that this question was asked many times but i still
>can't find any solution :-(
>
>When i try to compile php
>
>
>I alweys recive this error:
>
> Making all in .
> make[1]: Entering directory `/root/php-4.2.1'
> /bin/sh /root/php-4.2.1/libtool --silent --mode=link gcc  -I. 
> -I/root/php-4.2.1/ -I/root/php-4.2.1/main -I/root/php-4.2.1 
> -I/www/include -I/root/php-4.2.1/Zend 
> -I/root/php-4.2.1/ext/mysql/libmysql -I/root/php-4.2.1/ext/xml/expat  
> -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT 
> -I/root/php-4.2.1/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath 
> /root/php-4.2.1/libs -avoid-version -L/usr/ucblib  -R /usr/ucblib 
> stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la 
> regex/libregex.la /root/php-4.2.1/ext/ctype/libctype.la 
> /root/php-4.2.1/ext/mysql/libmysql.la 
> /root/php-4.2.1/ext/pcre/libpcre.la 
> /root/php-4.2.1/ext/posix/libposix.la 
> /root/php-4.2.1/ext/session/libsession.la 
> /root/php-4.2.1/ext/standard/libstandard.la 
> /root/php-4.2.1/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt 
> -lresolv -lresolv -lm -ldl -lsocket -lsocket -lcrypt -ldl
> /usr/local/sparc-sun-solaris2.7/bin/ld: 
> /root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): Relocations 
> in generic ELF (EM: 3)
> /root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): could not 
> read symbols: File in wrong format
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/root/php-4.2.1'
> make: *** [all-recursive] Error 1
>
>
>So maybe anyone know how can i fix it?
>
>

-- 





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




[PHP] PHP Compile with sun 5.7

2002-06-05 Thread Moussa Dahadha




Hi, i know that this question was asked many times but i still
can't find any solution :-(

When i try to compile php


I alweys recive this error:

Making all in .
make[1]: Entering directory `/root/php-4.2.1'
/bin/sh /root/php-4.2.1/libtool --silent --mode=link gcc  -I. 
-I/root/php-4.2.1/ -I/root/php-4.2.1/main -I/root/php-4.2.1 
-I/www/include -I/root/php-4.2.1/Zend 
-I/root/php-4.2.1/ext/mysql/libmysql -I/root/php-4.2.1/ext/xml/expat  
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT 
-I/root/php-4.2.1/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath 
/root/php-4.2.1/libs -avoid-version -L/usr/ucblib  -R /usr/ucblib 
stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la 
regex/libregex.la /root/php-4.2.1/ext/ctype/libctype.la 
/root/php-4.2.1/ext/mysql/libmysql.la 
/root/php-4.2.1/ext/pcre/libpcre.la 
/root/php-4.2.1/ext/posix/libposix.la 
/root/php-4.2.1/ext/session/libsession.la 
/root/php-4.2.1/ext/standard/libstandard.la 
/root/php-4.2.1/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt -lresolv 
-lresolv -lm -ldl -lsocket -lsocket -lcrypt -ldl
/usr/local/sparc-sun-solaris2.7/bin/ld: 
/root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): Relocations in 
generic ELF (EM: 3)
/root/php-4.2.1/ext/mysql/.libs/libmysql.al(libmysql.lo): could not read 
symbols: File in wrong format
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/root/php-4.2.1'
make: *** [all-recursive] Error 1


So maybe anyone know how can i fix it?


-- 
 ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾
 Moussa Dahadha
 System Administrator
 Palnet Communications Ltd
 www.palnet.com
 [EMAIL PROTECTED] 
 Tel.+972-2-240-3434   
 Fax.+972-2-240-3430
 CCNA,MCP,MCSE,MCSA,MCDBA. 
 ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾




[PHP] compile problem with gd 2.0.1

2002-05-30 Thread Michael Geier

Linux Redhat 7.3
PHP 4.2.0
GD 2.0.1

during make:
/bin/sh /root/php-4.2.0/libtool --silent --mode=compile gcc  -I. -I/root/php-
4.2.0/ext/gd -I/root/php-4.2.0/main -I/root/php-4.2.0 -
I/usr/local/apache/include -I/root/php-4.2.0/Zend -I/usr/local/mysql/include -
I/usr/local/easysoft/oob/client/include -I/root/php-4.2.0/ext/xml/expat  -
DLINUX=22 -DUSE_HSREGEX -I/root/php-4.2.0/TSRM -g -O2 -prefer-pic  -c gd.c
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.0/ext'
make: *** [all-recursive] Error 1


configure:
 --with-apxs=/usr/local/apache/bin/apxs
 --enable-ftp
 --with-gd
 --enable-force-cgi-redirect
 --with-pear
 --enable-mailparse
 --enable-sockets
 --with-esoob
 --with-mysql=/usr/local/mysql
 --with-zlib-dir=/usr/include
 --with-jpeg-dir=/usr/lib
 --with-png-dir=/usr/lib

any help appreciated
-- 
Michael Geier
email: [EMAIL PROTECTED]




-
This mail sent through CDM Sports Webmail.

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




[PHP] compile PHP without threads

2002-03-21 Thread LF

hi ALL,
could please anybody tell me what argument i should use for compiling, that
PHP4 runs without threads (pthreads)??
i need to recompile php because i receive the error from httpd.
dl-close.c:123 ...assertion failed..
thanks for any help
lothar




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




Re: [PHP] PHP Compile: IMAP enabled?

2002-03-19 Thread Jason Wong

On Wednesday 20 March 2002 00:46, Mike At Spy wrote:
> If IMAP is entered under "Loaded Modules" in the apache section of a
> phpinfo file, does that mean IMAP has been enabled?

Use php_info() to find out.


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
High heels are a device invented by a woman who was tired of being kissed
on the forehead.
*/

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




[PHP] PHP Compile: IMAP enabled?

2002-03-19 Thread Mike At Spy


If IMAP is entered under "Loaded Modules" in the apache section of a phpinfo
file, does that mean IMAP has been enabled?

Thanks,

-Mike



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




[PHP] Compile problem

2002-03-13 Thread S.Murali Krishna


could anybody help me out, while compiling and Making PHP
its going fine, but I couldn't get any php binary file instead a
file named 'libphp4.la' was created. 
I want to compile it as a standalone binary as a normal
user.

Thanks in Advance.

<[EMAIL PROTECTED]>
---
We must use time wisely and forever realize that the time is 
always ripe to do right."

-- Nelson Mandela
---


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




[PHP] Re:Re:Re:[PHP] compile php with GD2

2002-03-03 Thread Hendrik

hm,
well i allready tried it, but it didnt work, so i chose to add it as a module.
...but the problem is, that i cannot "make" php. I allways get this error:

php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.1.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.1.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.1.2/ext'
make: *** [all-recursive] Error 1


...and i have no idea how to solve it!
Any help more than welcome...

Regards,

Duncan 


In article <001001c1c15f$22473370$0100a8c0@red5>, php-general@ring-
wraith.com says...

> hi again,
> 
> well sorry about that, it worked when i changed it to:
> 
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl 
>--with-swf=/usr/local/flash

 --enable-ftp --with-gd=/usr --with-jpeg-dir=/usr/local --with-xpm-
dir=/usr/X11R6 --with-png-dir=/usr --with-imap --with-ming=/usr/src/ming-
0.2a --enable-magic-quotes --with-mysql --enable-safe-mode --enable-
track-vars --with-ttf --enable-versioning --with-zlib

> 
> ...however, now i ran into another problem: Ming!
> The source is located /usr/src/ming-0.2a
> and the installed files are located:
> /usr/lib
> /usr/include
> 
> but neither of these 3 is accepted in the configure line.
> Or can i just leave it in the configure line and then just add the php_ming.so file, 
>copy it into the extension dir and add it to php.ini file?
> 
> Regards,
> 
> Duncan
> 

Um, lateral thinking here? The same solution that worked for GD should 
work for Ming. In other words, 

--with-ming=/usr

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

-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

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









  1   2   >