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.
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
-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
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
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
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
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
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
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
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,
>
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
>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.
>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
> 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
31 matches
Mail list logo