php-general Digest 9 Jun 2011 09:50:49 -0000 Issue 7352
Topics (messages 313470 through 313480):
Re: php-cli-shebang
313470 by: Lists
Re: PHP_INI_SCAN_DIR or PHPIniScanDir
313471 by: Richard Quadling
313472 by: Richard Quadling
313473 by: Lester Caine
313474 by: Lester Caine
313475 by: Richard Quadling
313476 by: Richard Quadling
Re: phpsadness - P.C. shmee seee.
313477 by: Tamara Temple
Re: Can't use class "'DOMDocument"
313478 by: Adam Tong
313480 by: admin.buskirkgraphics.com
mbstring Violation Error
313479 by: aug721.gmail.com
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Joe Francis wrote:
why not using php.exe instead of php-cgi.exe as a parser ?
Thanks for pointing that out... didn't have any reasoning, but since
your post, I've learned the difference and have changed the script.
Donovan
--
dbrooke
--- End Message ---
--- Begin Message ---
On 8 June 2011 20:47, Lester Caine <[email protected]> wrote:
> OK, I'm trying to set up my windows setup to work with separate .ini files
> for each of the extra extensions as the Linux distributions do. I've got a
> \conf\ directory with the php.ini in and then \conf\conf.d\ with a few
> windows versions of the SUSE linux files. I can see references to
> PHP_INI_SCAN_DIR and PHPIniScanDir but I can't find any definitive manual
> page on what or how ... or am I barking up the wrong tree?
You set the environment variable PHP_INI_SCAN_DIR to the right location.
But there is a tiny bug in php.
Type the following commands ...
MD C:\ExtraInis
ECHO display_startup_errors=1>C:\ExtraInis\extra.ini
SET PHP_INI_SCAN_DIR=C:\ExtraInis
php --ini
php -i | find ".ini"
The output is ...
[08/06/2011 22:56:07] [C:\] [] >MD C:\ExtraInis
[08/06/2011 22:56:15] [C:\] [] >ECHO
display_startup_errors=1>C:\ExtraInis\extra.ini
[08/06/2011 22:56:15] [C:\] [] >SET PHP_INI_SCAN_DIR=C:\ExtraInis
[08/06/2011 22:56:15] [C:\] [] >php --ini
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File: C:\PHP5\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: C:\ExtraInis\extra.ini
[08/06/2011 22:56:15] [C:\] [] >php -i | find ".ini"
Configuration File (php.ini) Path => C:\Windows
Loaded Configuration File => C:\PHP5\php.ini
Scan this dir for additional .ini files => C:\ExtraInis
Additional .ini files parsed => C:\ExtraInis\extra.ini
user_ini.filename => .user.ini => .user.ini
The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
--- End Message ---
--- Begin Message ---
On 8 June 2011 22:59, Richard Quadling <[email protected]> wrote:
> But there is a tiny bug in php.
> The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting.
http://bugs.php.net/bug.php?id=48831
Reported but only partially fixed. As I was using my own builds, I
didn't realise the full patch hadn't been committed.
New laptop. Using standard builds. Saw the error.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
--- End Message ---
--- Begin Message ---
Richard Quadling wrote:
On 8 June 2011 22:59, Richard Quadling<[email protected]> wrote:
But there is a tiny bug in php.
The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting.
http://bugs.php.net/bug.php?id=48831
Reported but only partially fixed. As I was using my own builds, I
didn't realise the full patch hadn't been committed.
New laptop. Using standard builds. Saw the error.
Ditto on new laptop ... I've not got the M$ build enviroment working yet all my
own work is on 'Borland' as was so I've got to get that working fully first :(
Your command line stuff works, but I only use PHP with Apache. I've got a
'SetEnv PHP_INI_SCAN_DIR xxx' before the module load, but it's not reporting any
extra ini's
Do I need to compile with something else set - not that I can compile at all at
the moment, I'm working with pre built binaries.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--- End Message ---
--- Begin Message ---
Lester Caine wrote:
Your command line stuff works, but I only use PHP with Apache. I've got
a 'SetEnv PHP_INI_SCAN_DIR xxx' before the module load, but it's not
reporting any extra ini's
Do I need to compile with something else set - not that I can compile at
all at the moment, I'm working with pre built binaries.
Cracked it ... set a 'SYSTEM Variable' and reboot - just restarting did not
work. I now have complex extra ini files for eaccelerator and firebird loading,
and I'm going to strip some other stuff.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--- End Message ---
--- Begin Message ---
On 9 June 2011 00:18, Lester Caine <[email protected]> wrote:
> Richard Quadling wrote:
>>
>> On 8 June 2011 22:59, Richard Quadling<[email protected]> wrote:
>>>
>>> But there is a tiny bug in php.
>>> The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting.
>>
>> http://bugs.php.net/bug.php?id=48831
>>
>> Reported but only partially fixed. As I was using my own builds, I
>> didn't realise the full patch hadn't been committed.
>>
>> New laptop. Using standard builds. Saw the error.
>
> Ditto on new laptop ... I've not got the M$ build enviroment working yet all
> my own work is on 'Borland' as was so I've got to get that working fully
> first :(
>
> Your command line stuff works, but I only use PHP with Apache. I've got a
> 'SetEnv PHP_INI_SCAN_DIR xxx' before the module load, but it's not reporting
> any extra ini's
> Do I need to compile with something else set - not that I can compile at all
> at the moment, I'm working with pre built binaries.
I can see that the CGI SAPI uses this properly.
Change the code I get so that you run php-cgi rather than php
There is no --ini option, but the -i should work, though the output
will be HTML.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
--- End Message ---
--- Begin Message ---
On 9 June 2011 01:02, Lester Caine <[email protected]> wrote:
> Cracked it ... set a 'SYSTEM Variable' and reboot - just restarting did not
> work. I now have complex extra ini files for eaccelerator and firebird
> loading, and I'm going to strip some other stuff.
When in doubt, the 3 fingered salute is often a good idea.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
--- End Message ---
--- Begin Message ---
On Jun 5, 2011, at 12:23 PM, Richard Riley wrote:
Geoff Shang <[email protected]> writes:
On Sun, 5 Jun 2011, Richard Riley wrote:
I don't. I just don't want them to lock out my browser just
because they don't
support it. Many pages which don't work optimally under Lynx can
still be read,
which is all I'm wanting to do anyway.
They need to or there can be unintentional side affects that will
reflect badly on them and possibly you.
Rubbish. All they need to do is what everyone else does and say
"This site may
not work well on your browser, we recommend using Internet Explorer
or firefox"
(or whatever they support). Then if I choose to use it, it's on my
own head,
which is fine by me.
Not rubbish at all. They owe you nothing.
Not everyone is you.
If they allowed incompatible browsers that caused havoc then before
you
know it the great unwashed would be demanding more and better
support or
complaining about lack of functionality. Doing what they do they
make it
very clear from day one.
Dont like it? The APIs are open. Write your own interfaces to their
authentication and graph API and target the parts that wont result in
your accuont being banned for chucking access tokens around and
breaking
their security model.
Simple solution : use an uptodate capable browser if you want to use
these technologies. I really dont see why people whine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uptodate capable browsers *do* include safari, chrome, and opera. if
you choose to ignore these, you are just bigotted. i used safari
because it happens to work well with voiceover. most of your
javascript whizzy features do not. You know those nifty accordian and
tabbed areas that you can do easily in jquery? can't be read by screen
readers. they accomplish what they do by hiding text, which also hides
it from screen readers.
--- End Message ---
--- Begin Message ---
Hi,
You're right. I just installed the package php-xml, and everything is
working properly now.
Is there anyway to know for each class or function which is the package needed?
thank you
On Tue, Jun 7, 2011 at 3:48 AM, <[email protected]> wrote:
> Did you install the php-xml ?
>
> Richard L. Buskirk
>
> -----Original Message-----
> From: Adam Tong [mailto:[email protected]]
> Sent: Monday, June 06, 2011 9:49 PM
> To: [email protected]
> Subject: [PHP] Can't use class "'DOMDocument"
>
> Hi,
>
> When I try using DOMDocument I get the following error:
> Fatal error: Class 'DOMDocument' not found in ...
>
> I guess something has to be fixed in my php.ini?
>
> Here is my php version:
> # php -version
> PHP 5.3.6 (cli) (built: Mar 17 2011 20:58:15)
> Copyright (c) 1997-2011 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
>
> I also noticed when I click reply in gmail it does not reply to the
> list. Sorry for that inconvenience for poeple who tried to help me
> while the previous issue was already resolved.
>
> Thank you
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
http://www.php.net/manual/en/dom.requirements.php
They usually post the requirements or dependencies if there are any.
Richard L. Buskirk
-----Original Message-----
From: Adam Tong [mailto:[email protected]]
Sent: Wednesday, June 08, 2011 10:30 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [PHP] Can't use class "'DOMDocument"
Hi,
You're right. I just installed the package php-xml, and everything is
working properly now.
Is there anyway to know for each class or function which is the package
needed?
thank you
On Tue, Jun 7, 2011 at 3:48 AM, <[email protected]> wrote:
> Did you install the php-xml ?
>
> Richard L. Buskirk
>
> -----Original Message-----
> From: Adam Tong [mailto:[email protected]]
> Sent: Monday, June 06, 2011 9:49 PM
> To: [email protected]
> Subject: [PHP] Can't use class "'DOMDocument"
>
> Hi,
>
> When I try using DOMDocument I get the following error:
> Fatal error: Class 'DOMDocument' not found in ...
>
> I guess something has to be fixed in my php.ini?
>
> Here is my php version:
> # php -version
> PHP 5.3.6 (cli) (built: Mar 17 2011 20:58:15)
> Copyright (c) 1997-2011 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
>
> I also noticed when I click reply in gmail it does not reply to the
> list. Sorry for that inconvenience for poeple who tried to help me
> while the previous issue was already resolved.
>
> Thank you
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hello.
I'd like to solution following problem.
If this error occurs when resolve to the IIS restart.
PHP has encountered an Access Violation at 039857E9
PHP has encountered an Access Violation at 03BA57E9
When execute mbstring extension module a problem.
mb_ereg_replace function execute when "PHP has encountered an Access
Violation at 03BA57E9" problem.
Can I change an php_mbstring.dll for other PHP version?
- Environment
Windows Serer 2008 Standard Edition SP2(x64)
IIS7.0
PHP5.2.17 ISAPI
Thanks in advance.
--- End Message ---