RE: [PHP-DEV] PHP Module unload

2011-02-21 Thread Bharat Nagwani
Nagwani Cc: James Butler; internals@lists.php.net Subject: Re: [PHP-DEV] PHP Module unload Am 21.02.2011 01:41, schrieb Bharat Nagwani: > James, > We are using Embed Appweb server 3.2 release. > There is no support for unloading php can not unload, this must the server runnibng the p

RE: [PHP-DEV] PHP Module unload

2011-02-20 Thread Bharat Nagwani
, February 20, 2011 3:09 PM To: Bharat Nagwani Cc: internals@lists.php.net Subject: Re: [PHP-DEV] PHP Module unload Are you using PHP as a module inside a web server such as apache? If so then module unloading is generally the problem of the web server rather than PHP. Is (fast) cgi not an option

[PHP-DEV] PHP Module unload

2011-02-20 Thread Bharat Nagwani
Hello experts, I have a question on PHP module unloading. We are using PHP 5.3.2 on BSD. We are looking to use PHP as a module with APC cache due to performance reasons. I have limited APC memory to 8mb. The memory usage with PHP module is obviously persistent compared to CGI. We have a embedded

[PHP-DEV] APC caching - preloading files

2011-01-14 Thread Bharat Nagwani
Hello Experts, Sorry for posting this in this list but I am not finding any documentation on this APC php.ini setting apc.preload_path I have tried the following but it doesn't seem to work apc.preload_path = "+/core/*" apc.preload_path = "/core/*" What I am looking for is files in certain di

[PHP-DEV] undefined function pcntl_fork

2010-09-13 Thread Bharat Nagwani
Hello, I am getting this error when using pcntl_fork. The OS is bsd and php ver is 5.2.3 used in cgi mode. Fatal error: Call to undefined function pcntl_fork() in... I have included the ext/pcntl files in the php make. Do I need another flag/library to include pcntl? Thanks

[PHP-DEV] PHP upgrade from 5.2.3 to 5.3.2

2010-05-06 Thread Bharat Nagwani
Hello php experts, We are doing php upgrade from 5.2.3 to 5.3.2 (unix on Octeon/MIPS) and getting a compilation error * Issue with Octeon platform o Round() API throws "Maximum execution time exceeded" error. Analyzed the issue and Found the problem to be that "mult" function (src

RE: [PHP-DEV] Proposal: shorthand object property setting syntax.

2010-03-27 Thread Bharat Nagwani
I might have missed earlier emails. How about this? $myLongNameObject = new myLongNameObject { property1: '1', property2: '2', property3: '3', property4: '4', property5: '5', }; Can we avoid the new as well like in Javascript? $myLongNameObject = { pro

[PHP-DEV] asynchronous code execution using php in cgi mode

2010-03-22 Thread Bharat Nagwani
Hello, I have searched and haven't found a way to execute php in asynchronous mode. We are using php(5.2 on unix) in cgi mode. Is there a way to do this? Thanks much

[PHP-DEV] Too many levels of symbolic links error

2010-02-01 Thread Bharat Nagwani
Hello, We use php in cgi mode. PHP version is 5.2.3. I am using popen to execute grep on a file popen($cmd, "r"); where $cmd = "/usr/bin/grep xyz /var/tmp/log/session" and log is a symbolic link pointing to /var/log ls -l /var/tmp/ lrwxr-xr-x 1 rootwheel8 Jan 31 23:17 log -> /var/lo

RE: [PHP-DEV] Early session timeouts on 5.2.3

2009-08-01 Thread Bharat Nagwani
rday, August 01, 2009 11:00 AM To: Bharat Nagwani Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Early session timeouts on 5.2.3 Bharat Nagwani wrote: > Hello, > > We are facing early session timeouts in php 5.2.3 on bsd unix. This happens > even more frequently when multiple use

[PHP-DEV] Early session timeouts on 5.2.3

2009-08-01 Thread Bharat Nagwani
Hello, We are facing early session timeouts in php 5.2.3 on bsd unix. This happens even more frequently when multiple users are logged in. Googling I found http://bugs.php.net/bug.php?id=42135 and was wondering if this could the related bug for this problem. If so where can I get the patch for th

[PHP-DEV] rfc1867

2009-06-16 Thread Bharat Nagwani
Hello, I am writing custom rfc1867 code on a http server so in php application code I can just use the file directly instead of being processed by rfc1867.c. I went through the rfc1867 code but the code is hard to understand. When data comes as chunks from the browser, whats a good logic to det

RE: [PHP-DEV] Question on file upload

2009-06-02 Thread Bharat Nagwani
... While following multipart_buffer_read I cannot find the place where it is reading the temp file to fill this buffer. Thanks -Original Message- From: Matt Wilson [mailto:sha...@gmail.com] Sent: Tuesday, June 02, 2009 4:22 PM To: Bharat Nagwani Cc: internals@lists.php.net Subject

[PHP-DEV] Question on file upload

2009-06-02 Thread Bharat Nagwani
Hello, I want to change the way file upload processing is done in php. We have a http server (appweb) that puts the uploaded file to a temp directory. This file has headers at the beginning and end. I am looking at code rfc1867.c. This code takes the temp file and seems to extract the real fil