[PHP] Re: [PHP-INSTALL] Getting file pointer from file descriptor

2010-04-23 Thread Rasmus Lerdorf
You seem to be quite confused. First of all, a function like fdopen() which has never existed in any version of PHP, wouldn't read/write anything. In C that function will return a FILE pointer from a file descriptor. You would then use fread()/fwrite() to read and write from that FILE pointer.

[PHP] Re: [PHP-INSTALL] Getting file pointer from file descriptor

2010-04-16 Thread Naga Kiran K
Hi Rasmus, Thanks for reply. The requirement I was looking for is to read/write given only the file descriptor number. PHP-CGI binary is invoked by a webserver that runs in jail-directory and doesn't have access to the file path directory. So, it communicates with another daemon that opens a sock

[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-31 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As you have now found out, doing the auto-build from PECL doesn't work. Start by building the dependancies (libraries that are linked in the build) then the modules. (you can copy the next 7 following lines verbatim since this works for most so

Re: [PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread Lists
Stutter Stutters wrote: I used Pecl to install memcache and imagick, I ran the command you mentioned and this was the output: $ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O bundle i386 I don't see anyth

[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread Stutter Stutters
I used Pecl to install memcache and imagick, I ran the command you mentioned and this was the output: $ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O bundle i386 I don't see anything regarding x86_64, so I

[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread BuildSmart
On Mar 30, 2009, at 09:22 AM, Stutter Stutters wrote: I've been wrestling with mac os x + php 5.2.6 off and on for a few months to get it to load the memcache.so and imagick.so extensions. When I executed php on the command line `php -i | grep imagick` or `php -i | grep memcache` the outpu

[PHP] Re: [PHP-INSTALL] PHP on Windows without Apache

2008-12-14 Thread Daniel Brown
On Sun, Dec 14, 2008 at 13:19, Jeffery Harris wrote: > Thanks Daniel. Any recommendations on a good php learning book. My pleasure, Jeff. I've honestly never read any of the PHP books out there, so I wouldn't be able to give you a definite recommendation on that. What I *will* highly re

[PHP] Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Anuj Bhatt
On Tue, 2008-07-22 at 23:27 -0400, Daniel Brown wrote: > Try this to see if your script is outputting any errors: > > exec('/path/to/python your-script.py 2>&1',$ret); > print_r($ret); > ?> This worked, was opening a file for which permission was denied. Python didn't show me anythin

[PHP] Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Daniel Brown
On Tue, Jul 22, 2008 at 11:27 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > > If all else fails, and you're aware of the side-effects, go fork() yourself. > ;-P For posterity: http://php.net/pcntl [See: pcntl_fork(), et al.] -- Better prices on dedicated servers: Intel 2.4GH

[PHP] Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Daniel Brown
Forwarded to the appropriate list (PHP General). Anuj: If you're not already subscribed, please visit http://php.net/mailinglists and subscribe to the PHP General list, or send a blank email to [EMAIL PROTECTED] On Tue, Jul 22, 2008 at 11:09 PM, Anuj Bhatt <[EMAIL PROTECTED]> wrote: > Hi, > >

[PHP] Re: [PHP-INSTALL] I cant get php_gd.dll to work

2008-03-21 Thread Daniel Brown
On Thu, Mar 20, 2008 at 10:04 PM, Mark <[EMAIL PROTECTED]> wrote: > Hi, > > Im new to php and i cant get the gd graphics library to work. > Im running Apache, Mysql, Windows xp > > I downloaded and installed php from php.net. > > After much screwing around I finally got in to work with mysql an

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote: > $ rpm -V MySQL-devel-community-5.0.45-0.rhel3 > missing d /usr/share/man/man1/comp_err.1.gz > missing d /usr/share/man/man1/mysql_config.1.gz > > I suppose this is, albeit not ideal, tolerable? Yeah this is fine. Your system is probably not setup to install d

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 21:07, Colin Guthrie wrote: No, I reckon Jul 5th could be about right when was .45 released? I had it in my head it was august but Jul doesn't seem too far before that so entirely possible. Ah sorry, I was thinking about source installs. RPMs keep the original cre

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote: > On 23. Oct 2007, at 20:33, Colin Guthrie wrote: > >> If you compile PHP and it finds v3 of mysql that means that you must >> have the old development libraries for mysql 3 installed in some >> capacity (I believe). >> >> What is the output of: >> rpm -qa --nosi

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 20:33, Colin Guthrie wrote: If you compile PHP and it finds v3 of mysql that means that you must have the old development libraries for mysql 3 installed in some capacity (I believe). What is the output of: rpm -qa --nosignature --nodigest | grep -i mysql This should give

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote: > On 23. Oct 2007, at 17:22, Colin Guthrie wrote: > >> Do rpm -qa --nosignature | grep -i mysql and see what old libraries you >> have lying around. Specifically look for the devel libraries/packages. >> Remove the 3.x versions via RPM and make sure you've instal

[PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Zentgraf wrote: > Hi, > > I'm trying to upgrade a server running CentOS 3 to an up-to-date MySQL 5 > installation + PHP4. I installed the MySQL 5 package, server and client, > via RPMs and they work fine, the client tells me it's version 5.0.45. I > went on to recompile PHP 4.4.7 --with-mysq

[PHP] Re: php install problem

2007-08-03 Thread zerof
David McDivitt escreveu: I hate to ask a simple question, but I have two issues installing PHP. I have XP SP 2 with IIS. When I ran the install php-5.2.3-win32-installer.msi, it said it could not access "httpd.config" and I would have to configure the web server manually. I could not find anyth

[PHP] Re: [PHP-INSTALL] Mailparse extension

2007-05-22 Thread Miles Thompson
On 5/21/07, Tim Donnelly <[EMAIL PROTECTED]> wrote: I should preface this by saying, I am not a PHP person. I have been able to install php in the past and get things to work, but this time I am having fits. I am running php 5.2.1, apache 1.3.34, OpenSuSE 10.0 on a 64bit AMD platform. I have

Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Brad Kowalczyk
Jochem Maas wrote: Brad Kowalczyk wrote: Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newe

Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Jochem Maas
Brad Kowalczyk wrote: Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newest one, but my client

[PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-02 Thread Brad Kowalczyk
Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newest one, but my client requested that 4.xx be

[PHP] Re: [PHP-INSTALL] Compile Errors on Solaris 9

2005-01-05 Thread Andrew Kreps
On Wed, 5 Jan 2005 10:17:29 -0800, H. Scott Brown <[EMAIL PROTECTED]> wrote: > Hi, List, > > I need some help with compilation. > > ./configure runs fine, in the following manner (4.3.10): > [snip] > *** Error code 1 > make: Fatal error: Command failed for target `ext/zlib/zlib.lo' > > Any idea

[PHP] Re: [PHP-INSTALL] Impossibility

2004-10-11 Thread Andrew Kreps
On Mon, 11 Oct 2004 15:20:11 -0400, Scott Hamm <[EMAIL PROTECTED]> wrote: > I know it's impossible, but is there a way php can read something from excel > file? > If you really believe it's impossible, why ask the question? :) Start with the first link here, and work your way down. Thankfully,

[PHP] Re: [PHP-INSTALL] install errors with oci8

2004-10-08 Thread Hendrik Schmieder
Bob Redding schrieb: Running on Mandrake 10.0, Apache 2 and Oracle Client Bob Redding Look where you have libclntsh.a or libclntsh.so. Hendrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-INSTALL] Re: [PHP] Netegrity's siteminder + PHP + Apache

2004-08-12 Thread Saqib . N . Ali
Hello Sam, Thanks for the response. I don't have much documentation to work with. I very familiar with mod_LDAP + Apache + PHP, but new to Siteminder. I was wondering if you point me to some good resources on the web, or if you have some documentation, that would be helpful as well. Thanks. Sa

[PHP] Re: [PHP-INSTALL] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-16 Thread Scott Fletcher
IE bug is something I can't do about, I can't image about other 3rd party browser if this ever happen. So, I decided to use the $_REQUEST instead and not have to deal with the browser issues. You should do the same because as everyone know, IE bugs doesn't normally get fixed overnight or worse, i

[PHP] Re: [PHP-INSTALL] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-14 Thread Chris Wilson
I found several sources of information regarding a IE bug that does'nt pass all the post data, however this is roughly 1/4 times that it does it. Its actually become a serious problem for people to navigate through my webmail :/ Chris > I mean, I sometime found a few POST data had incorrectly went

[PHP] Re: PHP install - what features?

2002-07-13 Thread Richard Lynch
>I have searched the archive for a message subject >something like "PHP Wish List" and was unsuccessful. Depends who does the wishing :-) The first time I compiled PHP, I tried to throw in almost everything that sounded remotely interesting. That was incredibly time-consuming and frustrating.

[PHP] Re: php install

2002-07-01 Thread Richard Lynch
>Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the following >error message > >checking lex output file root... ./configure: lex: command not found >configure: error: cannot find output from lex; giving up lex is like this low-level thingie that lets PHP syntax like if/else/while

[PHP] Re: PHP Install Problem - Please Help

2001-08-30 Thread Richard Lynch
> To Install PHP I have done this ( ihave specified the location of apxs > as Suse Installed an Apache server also, but I want the one I've > installed to /usr/local/apache): It's better to specify exactly where apxs is anyway, just so you know for sure you don't get the wrong one. > ./configure