I call my method Assembler::PrefetchComponents with an array of valid
components and it crashes only when I include the line
"self::PrefetchComponents($dependencies);" Please help me solve the
error in this code.
Most probably you are getting infinite (or very very very deep)
recursion loop in
I call my method Assembler::PrefetchComponents with an array of valid
components and it crashes only when I include the line
"self::PrefetchComponents($dependencies);" Please help me solve the
error in this code.
Here's Assembler::PrefetchComponents:
public static function PrefetchComponents($nam
OK. There were actually two problems.
1) The correct PHP.INI file was not being read. Lester and Tom's
suggestion to put a copy of php.ini under c:\winnt worked. Also, John's
recommendation of setting PHPRC to f:\php\ worked as well. This is what
I'll do so that I don't mess with the Windows syste
I tried both methods: A) moving the PHP.INI file to c:\winnt; and B)
Setting the PHPRC variable to f:\php\
Both methods now result in a blank phpinfo() page.
The PHP.INI file seems to work ok using the command line: php -I
But now it is blank on the web page?
-Original Message-
From:
Hi Jason,
I'm betting you used the PHP Windows Installer. Add the following
environment variable:
PHPRC
and set the value to the path to your PHP installation ( in your case
it appears to be F:\PHP\ ).
We used to set it as a part of the installer, but then stopped doing
that for 5.2.5. We'll be
McCallister, Jason wrote:
*** I think PHP may be using the wrong PHP.INI file.
phpinfo() says this:
Configuration File (php.ini) Path C:\WINNT
Loaded Configuration File (none)
*** However, when I run php -i, it says this:
Configuration File (php.ini) Path => C:\WINNT
Loaded Configurat
Jason,
Remove all copies of php.ini on your system except for the one in your
system root (in your case C:\WINNT).
Try that and see what happens.
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for more information!
- Original Mes
*** I think PHP may be using the wrong PHP.INI file.
phpinfo() says this:
Configuration File (php.ini) Path C:\WINNT
Loaded Configuration File (none)
*** However, when I run php -i, it says this:
Configuration File (php.ini) Path => C:\WINNT
Loaded Configuration File => F:\PHP\php.ini
Jason -
You may want to make sure you have the proper IBM DB2 clients installed on
machine. I had a hard time getting the oci8 for oracle function to load (I'm
using IIS too) even though I had it correctly inputted in my php.ini file. It
wouldn't show up in phpinfo(). The reason ended up bei
McCallister, Jason wrote:
*** I don't see it with phpinfo()
*** I have this in PHP.INI ([PHP_IBM_DB2] extension=php_ibm_db2.dll).
*** What else is need to load the DB2 extension? I have also rebooted.
This says that something is missing from the db2 setup. I don't use it ( or
IIS ;) ) but th
Jason,
If you do not see it in phpinfo then it is not loaded.
Are you positive that your php extension directory is properly set in
php.ini?
A good way to check this is when you actually call phpinfo() there will be
an entry telling you the path of php.ini it is actually using. V
*** I don't see it with phpinfo()
*** I have this in PHP.INI ([PHP_IBM_DB2] extension=php_ibm_db2.dll).
*** What else is need to load the DB2 extension? I have also rebooted.
*** These are the only entries that I see in PHP.INI with the word DB2.
CLASSPATH
.;C:\PROGRA~1\IBM\SQLLIB\java\db2
Honestly haven't done this in PHP but understand you open it like a device
or drive extension "COM1:" "COM2:" etc, same with parallel port "PRN1:" (not
sure this last is spelled correctly).
Good luck,
> -Original Message-
> From: germana [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January
McCallister, Jason wrote:
I have this line in my php.ini file.
[PHP_IBM_DB2]
extension=php_ibm_db2.dll
Also, if I run php -m, I can see ibm_db2
-Original Message-
From: Lester Caine [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 12:22 PM
To: php-windows@lists.php.net
When you use phpinfo(); does the extension show up as loaded?
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for more information!
- Original Message -
>I have this line in my php.ini file.
>
>[PHP_IBM_DB2]
>extension=php_ibm_db2.dl
I have this line in my php.ini file.
[PHP_IBM_DB2]
extension=php_ibm_db2.dll
Also, if I run php -m, I can see ibm_db2
-Original Message-
From: Lester Caine [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 12:22 PM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Microso
You also could be having issues with dependencies. There is no real easy
way to diagnose dependency problems if that is indeed the case, just look
into your system event logs and php error logs.
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for m
McCallister, Jason wrote:
*** When I run a PHP script that uses db2_connect, I get this error
message:
Fatal error: Call to undefined function db2_connect() in
F:\Inetpub\wwwroot\jason2.php on line 5
You need to load the ibm_db2 package.
Check out phpinfo() if you think that it should be loade
My plan is using Apache and Mysql connection
But one thing i want to have clear is about PHP and the connection with
the Serial Port..
Thanks!!!
On Thu, 2008-01-03 at 09:16 -0800, Warren Vail wrote:
> You might consider using ODBC to connect. I've had better luck with that on
> windows usin
My application will be a internal application and usually is going to be
use by not to much people... i want to do a web application because of
the simplicity for the users...
Thanks!!!
On Thu, 2008-01-03 at 09:12 -0800, Warren Vail wrote:
> If you device is available via a com port, then using f
You might consider using ODBC to connect. I've had better luck with that on
windows using apache, no IIS experience.
Warren Vail
> -Original Message-
> From: McCallister, Jason [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 03, 2008 8:55 AM
> To: php-windows@lists.php.net
> Subject:
If you device is available via a com port, then using file IO is probably
best, but if that is not enough try;
http://us.php.net/manual/en/ref.dio.php
This goes without saying, the very real potential for hacking a computer
with device exposure via a web interface can be disasterous, so caviat
em
> *** When I run a PHP script that uses db2_connect, I get this error
> message:
>
> Fatal error: Call to undefined function db2_connect() in
> F:\Inetpub\wwwroot\jason2.php on line 5
>
>
>
> *** I also get this windows error on the IIS server
>
> CLI encountered a problem and needed to close.
Hi!!!
im new here, and this is my first question:
i have a hardware device which have to be connected to the PC by the
serial port... So, i have to do an application to recive the data from
that device
the question is Can i do that - the comunication between the device
and the PC - using
24 matches
Mail list logo