C++ dll files

C++ dll files

am 25.11.2002 22:56:28 von Brennan Mann

Hello Everybody,

Can PHP call a DLL file? If so, do you know where I might be able to
find an example?

Thanks Again,
Brennan



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: C++ dll files

am 26.11.2002 08:57:31 von Pozzer Franco

I try to help to you but I do not sure if it is a correct because I have
study the problems but I do not have try it.

For my porpose instead to use COM object I like to use C or C++ external
pgm.

First of all, the DLL must be registred in Windows system. Mine was
because it was provided by a "setup" software...
or with regedit32.exe pgm.

So, you have to get the name under witch the DLL is registed.

This name is not necessary the same than DLL's. To get this name, I used
to search into
de registry database. I was looking for the DLL name and I managed to get
the registred name.

Once you get this registred name, in php you can write:

$obj = new COM("registred name");

I send a .zip with bmp to expalin the correct registred Dll/COM/ActiveX
object.

Another question DLL or COM or Object must be 32bit!

I hope this help you....................

Ciao Franco.

Brennan Mann wrote:

> Hello Everybody,
>
> Can PHP call a DLL file? If so, do you know where I might be able to
> find an example?
>
> Thanks Again,
> Brennan
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Installation question about : PHP4TS.DLL & PHP4TS.LIB

am 26.11.2002 14:24:03 von Pozzer Franco

--------------1CB18114C2F98449EDD5452B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thanks for all.

A question about installation under Win32 system.

In the document at this link :
http://www.thickbook.com/extra/php_apachephp4_win.phtml explain very well
how to configure PHP in CGI mode with Apache.

In the document I read this:

3.Move the php4ts.dll file to C:\WINDOWS\SYSTEM\ or wherever you
usually put your *.dll files.

In my env (WinNT 5.0) I have moved this object php4ts.dll in my system root
like D:\WINNT\system32\.....

Question:

It is possibile to link this object php4ts.dll without move it to system
root? and php interpreter work fine in any case?

It is possible to call it in the path or directory where php it is installed
as like C:\php\?

Thanks for all.

ciao Franco.



>

--------------1CB18114C2F98449EDD5452B--

Re: Installation question about : PHP4TS.DLL & PHP4TS.LIB

am 26.11.2002 15:41:26 von Cam Dunstan

Franco
Yes it is entirely possible to get PHP to work in CGI mode with NOTHING in
your windows or system directory. I often set up win machines with
everything under the C:\PHP directory including the php.ini file and all
DLLs, sessiondata and uploadtemp dirs and it works a treat and is a cleaner
install.

Cheers CD



----- Original Message -----
From: "Franco Pozzer"
To:
Sent: Wednesday, November 27, 2002 12:24 AM
Subject: [PHP-WIN] Installation question about : PHP4TS.DLL & PHP4TS.LIB


> Thanks for all.
>
> A question about installation under Win32 system.
>
> In the document at this link :
> http://www.thickbook.com/extra/php_apachephp4_win.phtml explain very well
> how to configure PHP in CGI mode with Apache.
>
> In the document I read this:
>
> 3.Move the php4ts.dll file to C:\WINDOWS\SYSTEM\ or wherever you
> usually put your *.dll files.
>
> In my env (WinNT 5.0) I have moved this object php4ts.dll in my system
root
> like D:\WINNT\system32\.....
>
> Question:
>
> It is possibile to link this object php4ts.dll without move it to system
> root? and php interpreter work fine in any case?
>
> It is possible to call it in the path or directory where php it is
installed
> as like C:\php\?
>
> Thanks for all.
>
> ciao Franco.
>
>
>
> >
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: C++ dll files

am 26.11.2002 16:50:47 von bex

this is a common question... it should be in a FAQ somewhere...

The most flexible option is the win32 API functions, but note that they
are experimental, and sometimes hard to set up and use, but pretty dang
cool:

http://www.php.net/manual/en/ref.w32api.php

The most stable solution (definately not the fastest) is to write a C++
command line application as a wrapper for your DLL, and then make calls
to it with 'system' or 'exec'. Rock solid.

--

Brian 'Bex' Huff
bex@stellent.com
Phone: 952-903-2023
Fax: 952-829-5424

> Hello Everybody,
>
> Can PHP call a DLL file? If so, do you know where I might be able to
> find an example?
>
> Thanks Again,
> Brennan
>
>



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Install PHP4.2.3 with Apache 2.0.40 on Window 2000

am 26.11.2002 17:05:51 von radienssmgs2

Hi,

Can someone please help with my PHP installation?

The install.txt said I just need to add these in my Apache config file, but
there is no "sapi" sub-directory exists under c:\php and I can't find
php4apache.dll.

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

I try the window installer for Window 2000, here is my configuration:
PHP4.2.3

Apache 2.0.40

Window 2000

Thanks for any help.



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Install PHP4.2.3 with Apache 2.0.40 on Window 2000

am 26.11.2002 17:36:58 von Brian McGarvie

goto www.php.net and download the zip file also ;)

"Jack R." wrote in message
news:DAV39nSYe4nhrKtzcbL00007733@hotmail.com...
> Hi,
>
> Can someone please help with my PHP installation?
>
> The install.txt said I just need to add these in my Apache config file,
but
> there is no "sapi" sub-directory exists under c:\php and I can't find
> php4apache.dll.
>
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
>
> I try the window installer for Window 2000, here is my configuration:
> PHP4.2.3
>
> Apache 2.0.40
>
> Window 2000
>
> Thanks for any help.
>
>



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: C++ dll files

am 26.11.2002 23:04:09 von Brennan Mann

I got my DLL all set. I am just having problems with windows. I can't get
windows to register it. Any suggestions?

Thanks,
Brennan
"Franco Pozzer" wrote in message
news:3DE3296B.A77B9DEC@infocamere.it...
> I try to help to you but I do not sure if it is a correct because I have
> study the problems but I do not have try it.
>
> For my porpose instead to use COM object I like to use C or C++ external
> pgm.
>
> First of all, the DLL must be registred in Windows system. Mine was
> because it was provided by a "setup" software...
> or with regedit32.exe pgm.
>
> So, you have to get the name under witch the DLL is registed.
>
> This name is not necessary the same than DLL's. To get this name, I
used
> to search into
> de registry database. I was looking for the DLL name and I managed to
get
> the registred name.
>
> Once you get this registred name, in php you can write:
>
> $obj = new COM("registred name");
>
> I send a .zip with bmp to expalin the correct registred Dll/COM/ActiveX
> object.
>
> Another question DLL or COM or Object must be 32bit!
>
> I hope this help you....................
>
> Ciao Franco.
>
> Brennan Mann wrote:
>
> > Hello Everybody,
> >
> > Can PHP call a DLL file? If so, do you know where I might be able to
> > find an example?
> >
> > Thanks Again,
> > Brennan
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: C++ dll files

am 26.11.2002 23:17:57 von Michael Davey

regsrvr32.exe should register it for you.

HTH,

Mikey

> -----Original Message-----
> From: Brennan Mann [mailto:brennan@hire-experience.com]
> Sent: 26 November 2002 22:04
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] C++ dll files
>
>
> I got my DLL all set. I am just having problems with windows. I can't get
> windows to register it. Any suggestions?
>
> Thanks,
> Brennan
> "Franco Pozzer" wrote in message
> news:3DE3296B.A77B9DEC@infocamere.it...
> > I try to help to you but I do not sure if it is a correct because I have
> > study the problems but I do not have try it.
> >
> > For my porpose instead to use COM object I like to use C or
> C++ external
> > pgm.
> >
> > First of all, the DLL must be registred in Windows system. Mine was
> > because it was provided by a "setup" software...
> > or with regedit32.exe pgm.
> >
> > So, you have to get the name under witch the DLL is registed.
> >
> > This name is not necessary the same than DLL's. To get this name, I
> used
> > to search into
> > de registry database. I was looking for the DLL name and I managed to
> get
> > the registred name.
> >
> > Once you get this registred name, in php you can write:
> >
> > $obj = new COM("registred name");
> >
> > I send a .zip with bmp to expalin the correct registred
> Dll/COM/ActiveX
> > object.
> >
> > Another question DLL or COM or Object must be 32bit!
> >
> > I hope this help you....................
> >
> > Ciao Franco.
> >
> > Brennan Mann wrote:
> >
> > > Hello Everybody,
> > >
> > > Can PHP call a DLL file? If so, do you know where I might
> be able to
> > > find an example?
> > >
> > > Thanks Again,
> > > Brennan
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: C++ dll files

am 27.11.2002 01:44:27 von Brennan Mann

I get an error when I try to register the DLL using regsrvr32.exe . DLL
was loaded, but the DllRegisterSever entry point was not found. File not
loaded. Any Suggestions?
Thanks,
Brennan



"Brennan Mann" wrote in message
news:20021126220411.49780.qmail@pb1.pair.com...
> I got my DLL all set. I am just having problems with windows. I can't get
> windows to register it. Any suggestions?
>
> Thanks,
> Brennan
> "Franco Pozzer" wrote in message
> news:3DE3296B.A77B9DEC@infocamere.it...
> > I try to help to you but I do not sure if it is a correct because I have
> > study the problems but I do not have try it.
> >
> > For my porpose instead to use COM object I like to use C or C++
external
> > pgm.
> >
> > First of all, the DLL must be registred in Windows system. Mine was
> > because it was provided by a "setup" software...
> > or with regedit32.exe pgm.
> >
> > So, you have to get the name under witch the DLL is registed.
> >
> > This name is not necessary the same than DLL's. To get this name, I
> used
> > to search into
> > de registry database. I was looking for the DLL name and I managed to
> get
> > the registred name.
> >
> > Once you get this registred name, in php you can write:
> >
> > $obj = new COM("registred name");
> >
> > I send a .zip with bmp to expalin the correct registred
Dll/COM/ActiveX
> > object.
> >
> > Another question DLL or COM or Object must be 32bit!
> >
> > I hope this help you....................
> >
> > Ciao Franco.
> >
> > Brennan Mann wrote:
> >
> > > Hello Everybody,
> > >
> > > Can PHP call a DLL file? If so, do you know where I might be able
to
> > > find an example?
> > >
> > > Thanks Again,
> > > Brennan
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: C++ dll files

am 27.11.2002 09:02:29 von Pozzer Franco

--------------533D11D7D7A97A320EFB5FEB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am not sure because I do not try these situation. I have validate in the paper
these situation, but I can write that I have find in my investigation:

Your dll.s are not activex components, so you can't register them. They are
libraries (dynamic link libraries: they can be loaded/unloaded dinamically on
runtime) wich contain some functions. To use the libraries (from C or C++). you
have to call the Win32 API function LoadLibrary. They also can be used from
Visual Basic.
IIS can use only ActiveX components which are a special kind of COM components
especially designed to be used from scripting languages like VBA or
VBScript, JScript. You can easily recognise an ActiveX component because they
use only Variant as datatype for passing and returning parameters (scripting
languages don't support data types declarations). So, I don't know if your
Apache implementation for Win32 can load dll's or ActiveX components.
Furthermore, you can't use your dll's from IIS because they aren't ActiveX
components! You have to ask someone to write for you an ActiveX wrapper for the
libraries in order to use them from IIS. To register an COM/ActiveX component
use regsvr32.exe

I did some exploration, you're in deep trouble: the process of mixing 16 bit
code with 32bit code is called "thunking" (search MSDN for "thunk"). Is very
complicated, you need a 16 bit C/C++ compiler and a 32 bit C/C++ compiler. I've
explored the idea to use an 16 bit automation component directly, but it
seems also it can't be called like 32 bit components. It would be much easier to
recompile/port your dll's to 32 bit code. From here is very simple to build an
automation object using an modern tool.

COM was working also on 16 bit (for Win3.1). I tried to instantiate an 16 bit
automation object from an 32 bit client and it doesn't work. Maybe there is a
solution, but if it is complicated is like doing the so called "thunking".

You must build an ActiveX wrapper around your dll's in order to use them from
scripting languages (on Win platform). All COM components must be
registered (including ActiveX components) - the dll which was the problem for
Merlot intallation was an COM component. Remember, ActiveX is a technology
built using COM technology, so every ActiveX component IS an COM component, but
NOT every COM component is an ActiveX component!

After these, I have try to compile source code dll (C language) in exe object
and I link these external pgm from my php script. I try these solution and it
work fine.

Ciao a tutti. Franco.

Brennan Mann wrote:

> I get an error when I try to register the DLL using regsrvr32.exe . DLL
> was loaded, but the DllRegisterSever entry point was not found. File not
> loaded. Any Suggestions?
> Thanks,
> Brennan
>
> "Brennan Mann" wrote in message
> news:20021126220411.49780.qmail@pb1.pair.com...
> > I got my DLL all set. I am just having problems with windows. I can't get
> > windows to register it. Any suggestions?
> >
> > Thanks,
> > Brennan
> > "Franco Pozzer" wrote in message
> > news:3DE3296B.A77B9DEC@infocamere.it...
> > > I try to help to you but I do not sure if it is a correct because I have
> > > study the problems but I do not have try it.
> > >
> > > For my porpose instead to use COM object I like to use C or C++
> external
> > > pgm.
> > >
> > > First of all, the DLL must be registred in Windows system. Mine was
> > > because it was provided by a "setup" software...
> > > or with regedit32.exe pgm.
> > >
> > > So, you have to get the name under witch the DLL is registed.
> > >
> > > This name is not necessary the same than DLL's. To get this name, I
> > used
> > > to search into
> > > de registry database. I was looking for the DLL name and I managed to
> > get
> > > the registred name.
> > >
> > > Once you get this registred name, in php you can write:
> > >
> > > $obj = new COM("registred name");
> > >
> > > I send a .zip with bmp to expalin the correct registred
> Dll/COM/ActiveX
> > > object.
> > >
> > > Another question DLL or COM or Object must be 32bit!
> > >
> > > I hope this help you....................
> > >
> > > Ciao Franco.
> > >
> > > Brennan Mann wrote:
> > >
> > > > Hello Everybody,
> > > >
> > > > Can PHP call a DLL file? If so, do you know where I might be able
> to
> > > > find an example?
> > > >
> > > > Thanks Again,
> > > > Brennan
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--------------533D11D7D7A97A320EFB5FEB--

question about session PHP

am 27.11.2002 14:14:05 von Pozzer Franco

--------------D5587728BBF6A2D037AD0423
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I hope to write well. Thanks for all for the response.

My appl Apache+PHP in Win32 system use PHP_Session fecture.

The cookies session are store in the path
D:\OPENFEDRA\Apache\htdocs\fedra\sv\src\tmp

The php.ini are fine configurated. all work fine.

Only when I reuse and re-start applicazion (exec apache.exe and qith browser I
call back the main page like : http://localhost:8081/fedra/sv/src/html/home.htm
i have these error:

Warning: unlink() failed (Permission denied) in
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 10

Warning: Cannot send session cookie - headers already sent by (output started at
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10 ) in
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14

Warning: Cannot send session cache limiter - headers already sent (output
started at C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10 ) in
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14

The script are this:


/* session_start();
session_destroy();*/
$handle = opendir($FolderTmpExt);
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != "..")
{
unlink ($FolderTmpExt."/".$file); (line 10)
}
}
closedir($handle);
session_start(); (line 14)
include_once ($xPathLibraryExt."functionXpath.php");

External file where i have config of the application call into the script by
pre_append option in the php.ini

$formPhpExt = $document_root."/fedra/sv/src/formphp/";
$srcJsExt = $document_root."/fedra/sv/src/js/";
$srcPhpExt = $document_root."/fedra/sv/src/php/";
$srcHtmlExt = $document_root."/fedra/sv/src/html/";
$FolderTmpExt = $document_root."/fedra/sv/tmp";

The reload of the page of the browser the error do it is lost.

Have clean file session in the path ..../tmp + cache of bwsr but in any case I
have the same error.

I thinks, but i am not sure, it is a problem depending the Apache cache.

Have sameone an idea about this error?

Ciao Franco




--------------D5587728BBF6A2D037AD0423--

Re: question about session PHP

am 27.11.2002 15:17:21 von Cam Dunstan

Franco,
I`m not so sure if unlink() can be relied on to work on a windoze server,
never actually tried it but have hazy recollections of some "windows only"
issue with it. Check the FAQs or manual.




----- Original Message -----
From: "Franco Pozzer"
To:
Sent: Thursday, November 28, 2002 12:14 AM
Subject: [PHP-WIN] question about session PHP


> I hope to write well. Thanks for all for the response.
>
> My appl Apache+PHP in Win32 system use PHP_Session fecture.
>
> The cookies session are store in the path
> D:\OPENFEDRA\Apache\htdocs\fedra\sv\src\tmp
>
> The php.ini are fine configurated. all work fine.
>
> Only when I reuse and re-start applicazion (exec apache.exe and qith
browser I
> call back the main page like :
http://localhost:8081/fedra/sv/src/html/home.htm
> i have these error:
>
> Warning: unlink() failed (Permission denied) in
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 10
>
> Warning: Cannot send session cookie - headers already sent by (output
started at
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10 ) in
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10 )
in
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14
>
> The script are this:
>
> >
> /* session_start();
> session_destroy();*/
> $handle = opendir($FolderTmpExt);
> while (false !== ($file = readdir($handle)))
> {
> if ($file != "." && $file != "..")
> {
> unlink ($FolderTmpExt."/".$file); (line 10)
> }
> }
> closedir($handle);
> session_start(); (line 14)
> include_once ($xPathLibraryExt."functionXpath.php");
>
> External file where i have config of the application call into the script
by
> pre_append option in the php.ini
>
> $formPhpExt = $document_root."/fedra/sv/src/formphp/";
> $srcJsExt = $document_root."/fedra/sv/src/js/";
> $srcPhpExt = $document_root."/fedra/sv/src/php/";
> $srcHtmlExt = $document_root."/fedra/sv/src/html/";
> $FolderTmpExt = $document_root."/fedra/sv/tmp";
>
> The reload of the page of the browser the error do it is lost.
>
> Have clean file session in the path ..../tmp + cache of bwsr but in any
case I
> have the same error.
>
> I thinks, but i am not sure, it is a problem depending the Apache cache.
>
> Have sameone an idea about this error?
>
> Ciao Franco
>
>
>
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: question about session PHP

am 27.11.2002 15:57:18 von Rich Gray

I have used the unlink() function on Win32 with no probs in the past.

What are the directory permissions on
'D:/OPENFEDRA/Apache/htdocs/fedra/sv/tmp' - do they allow deletion by the
web server process?
Was the file to be unlinked already opened by another process i.e. a share
violation?

-----Original Message-----
From: Cam Dunstan [mailto:cam@norex.com.au]
Sent: 27 November 2002 14:17
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] question about session PHP



Franco,
I`m not so sure if unlink() can be relied on to work on a windoze server,
never actually tried it but have hazy recollections of some "windows only"
issue with it. Check the FAQs or manual.




----- Original Message -----
From: "Franco Pozzer"
To:
Sent: Thursday, November 28, 2002 12:14 AM
Subject: [PHP-WIN] question about session PHP


> I hope to write well. Thanks for all for the response.
>
> My appl Apache+PHP in Win32 system use PHP_Session fecture.
>
> The cookies session are store in the path
> D:\OPENFEDRA\Apache\htdocs\fedra\sv\src\tmp
>
> The php.ini are fine configurated. all work fine.
>
> Only when I reuse and re-start applicazion (exec apache.exe and qith
browser I
> call back the main page like :
http://localhost:8081/fedra/sv/src/html/home.htm
> i have these error:
>
> Warning: unlink() failed (Permission denied) in
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 10
>
> Warning: Cannot send session cookie - headers already sent by (output
started at
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10 ) in
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10 )
in
> C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14
>
> The script are this:
>
> >
> /* session_start();
> session_destroy();*/
> $handle = opendir($FolderTmpExt);
> while (false !== ($file = readdir($handle)))
> {
> if ($file != "." && $file != "..")
> {
> unlink ($FolderTmpExt."/".$file); (line 10)
> }
> }
> closedir($handle);
> session_start(); (line 14)
> include_once ($xPathLibraryExt."functionXpath.php");
>
> External file where i have config of the application call into the script
by
> pre_append option in the php.ini
>
> $formPhpExt = $document_root."/fedra/sv/src/formphp/";
> $srcJsExt = $document_root."/fedra/sv/src/js/";
> $srcPhpExt = $document_root."/fedra/sv/src/php/";
> $srcHtmlExt = $document_root."/fedra/sv/src/html/";
> $FolderTmpExt = $document_root."/fedra/sv/tmp";
>
> The reload of the page of the browser the error do it is lost.
>
> Have clean file session in the path ..../tmp + cache of bwsr but in any
case I
> have the same error.
>
> I thinks, but i am not sure, it is a problem depending the Apache cache.
>
> Have sameone an idea about this error?
>
> Ciao Franco
>
>
>
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: C++ dll files

am 27.11.2002 16:19:08 von Brennan Mann

I been getting progress. I got my DLL registered using regsvr32. But I can't
connect using PHP. I get this error:

Warning: Invalid ProgID, GUID string, or Moniker: Invalid syntax in
c:\inetpub\wwwroot\dllfile.php on line 1

$obj = new COM("testcom.Process");
?>

testcom is the dll file I registered. testcom.dll
Process is a function inside testcom.
Any Suggestions?

Thanks,
Brennan



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Install PHP4.2.3 with Apache 2.0.43 on Window 2000

am 27.11.2002 18:23:11 von radienssmgs2

I am trying to install php 4.2.3 with apache 2.0.43 on window 2000.

I copy php4ts.dll to winnt/system32 and add the following at the end of my
apache config file per install instruction.

LoadModule php4_module c:/php/sapi/php4apache.dll

AddModule mod_php4.c

AddType application/x-httpd-php .php

But after I did that, my apache fails to start and I don't see there is any
error in the apache log.

Do I miss something else?

Thanks.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Install PHP4.2.3 with Apache 2.0.43 on Window 2000

am 29.11.2002 22:53:20 von radienssmgs2

I follow the exact procedure describe here, and I still can't get it to
work. The following procedure has the same setting as I do, but apache fails
to start after I try to load the module by adding the following line to my
apache config file.
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php

http://www.php.net/manual/en/install.apache2.php


I appreciate if anyone can help.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Install PHP4.2.3 with Apache 2.0.43 on Window 2000

am 29.11.2002 23:34:16 von Davy Obdam

Hi Jack,

I had the same problem, but PHP 4.2.3 and Apache 2.0.43 dont work
together. PHP 4.2.3 works fine with Apache 2.0.40 though. I have had
that up and running for a while and it worked perfect. I now have Apache
2.0.43 and PHP 4.3.0 RC 2 running on my windows XP machine and it works
fine.
Hope this helps,

Best regards,

Davy Obdam

Obdam w e b d e s i g nC
mailto:info@davyobdam.com
tel: +31(0)641 222 385


> -----Original Message-----
> From: Jack R. [mailto:radienssmgs2@hotmail.com]
> Sent: Friday, November 29, 2002 10:53 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000
>
>
> I follow the exact procedure describe here, and I still can't
> get it to work. The following procedure has the same setting
> as I do, but apache fails to start after I try to load the
> module by adding the following line to my apache config file.
> LoadModule php4_module c:/php/sapi/php4apache2.dll AddType
> application/x-httpd-php .php
>
http://www.php.net/manual/en/install.apache2.php


I appreciate if anyone can help.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

============================================================ ====
Deze e-mail is door E-mail VirusScanner van Planet Internet
gecontroleerd op virussen. Op http://www.planet.nl/evs staat een
verwijzing naar de actuele lijst waar op wordt gecontroleerd.




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Install PHP4.2.3 with Apache 2.0.43 on Window 2000

am 29.11.2002 23:41:57 von radienssmgs2

Thanks. How can you get PHP4.3.0 RC2 work with apache 2.0.43?


----- Original Message -----
From: "Davy Obdam"
To: "'Jack R.'" ;
Sent: Friday, November 29, 2002 4:34 PM
Subject: RE: [PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000


> Hi Jack,
>
> I had the same problem, but PHP 4.2.3 and Apache 2.0.43 dont work
> together. PHP 4.2.3 works fine with Apache 2.0.40 though. I have had
> that up and running for a while and it worked perfect. I now have Apache
> 2.0.43 and PHP 4.3.0 RC 2 running on my windows XP machine and it works
> fine.
> Hope this helps,
>
> Best regards,
>
> Davy Obdam
>
> Obdam w e b d e s i g nC
> mailto:info@davyobdam.com
> tel: +31(0)641 222 385
>
>
> > -----Original Message-----
> > From: Jack R. [mailto:radienssmgs2@hotmail.com]
> > Sent: Friday, November 29, 2002 10:53 PM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000
> >
> >
> > I follow the exact procedure describe here, and I still can't
> > get it to work. The following procedure has the same setting
> > as I do, but apache fails to start after I try to load the
> > module by adding the following line to my apache config file.
> > LoadModule php4_module c:/php/sapi/php4apache2.dll AddType
> > application/x-httpd-php .php
> >
> http://www.php.net/manual/en/install.apache2.php
>
>
> I appreciate if anyone can help.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ============================================================ ====
> Deze e-mail is door E-mail VirusScanner van Planet Internet
> gecontroleerd op virussen. Op http://www.planet.nl/evs staat een
> verwijzing naar de actuele lijst waar op wordt gecontroleerd.
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Install PHP4.2.3 with Apache 2.0.43 on Window 2000

am 30.11.2002 03:10:06 von Luis Ferro

When i configured my system, i had the same problem and gone to the
snaps directory in the php.net ftp server (don't remember the exact
place, but a search in archives will make it surface) to grab the latest
build.

It worked in the first trial.

Hope to have been of help,
Luis Ferro

Jack R. wrote:

>Thanks. How can you get PHP4.3.0 RC2 work with apache 2.0.43?
>
>
>----- Original Message -----
>From: "Davy Obdam"
>To: "'Jack R.'" ;
>Sent: Friday, November 29, 2002 4:34 PM
>Subject: RE: [PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000
>
>
>
>
>>Hi Jack,
>>
>>I had the same problem, but PHP 4.2.3 and Apache 2.0.43 dont work
>>together. PHP 4.2.3 works fine with Apache 2.0.40 though. I have had
>>that up and running for a while and it worked perfect. I now have Apache
>>2.0.43 and PHP 4.3.0 RC 2 running on my windows XP machine and it works
>>fine.
>>Hope this helps,
>>
>>Best regards,
>>
>>Davy Obdam
>>
>>Obdam w e b d e s i g nC
>>mailto:info@davyobdam.com
>>tel: +31(0)641 222 385
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: Jack R. [mailto:radienssmgs2@hotmail.com]
>>>Sent: Friday, November 29, 2002 10:53 PM
>>>To: php-windows@lists.php.net
>>>Subject: [PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000
>>>
>>>
>>>I follow the exact procedure describe here, and I still can't
>>>get it to work. The following procedure has the same setting
>>>as I do, but apache fails to start after I try to load the
>>>module by adding the following line to my apache config file.
>>> LoadModule php4_module c:/php/sapi/php4apache2.dll AddType
>>>application/x-httpd-php .php
>>>
>>>
>>>
>>http://www.php.net/manual/en/install.apache2.php
>>
>>
>>I appreciate if anyone can help.
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>========================================================== ======
>>Deze e-mail is door E-mail VirusScanner van Planet Internet
>>gecontroleerd op virussen. Op http://www.planet.nl/evs staat een
>>verwijzing naar de actuele lijst waar op wordt gecontroleerd.
>>
>>
>>
>
>
>



---
[This E-mail scanned for viruses by Declude Virus]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Install PHP4.2.3 with Apache 2.0.43 on Window 2000

am 30.11.2002 18:17:03 von mlaia

Hi People,

I had this problem last month.

Happily I got to solve it very good!

I have a file .zip with 7 kb explaining with solving
the problem and with one it copies of a necessary .dll
for such.

I don't know if the list accepts attached, for this I
am not sending it in this e-mail.

If you want, ask that I send it to you.

I am sorry, but english dont is my native language. I
speak in Brazilian Portuguese.

Marcelo

--- Luis Ferro escreveu: >
When i configured my system, i had the same problem
> and gone to the
> snaps directory in the php.net ftp server (don't
> remember the exact
> place, but a search in archives will make it
> surface) to grab the latest
> build.
>
> It worked in the first trial.
>
> Hope to have been of help,
> Luis Ferro
>
> Jack R. wrote:
>
> >Thanks. How can you get PHP4.3.0 RC2 work with
> apache 2.0.43?
> >
> >
> >----- Original Message -----
> >From: "Davy Obdam"
> >To: "'Jack R.'" ;
>
> >Sent: Friday, November 29, 2002 4:34 PM
> >Subject: RE: [PHP-WIN] Install PHP4.2.3 with Apache
> 2.0.43 on Window 2000
> >
> >
> >
> >
> >>Hi Jack,
> >>
> >>I had the same problem, but PHP 4.2.3 and Apache
> 2.0.43 dont work
> >>together. PHP 4.2.3 works fine with Apache 2.0.40
> though. I have had
> >>that up and running for a while and it worked
> perfect. I now have Apache
> >>2.0.43 and PHP 4.3.0 RC 2 running on my windows XP
> machine and it works
> >>fine.
> >>Hope this helps,
> >>
> >>Best regards,
> >>
> >>Davy Obdam
> >>
> >>Obdam w e b d e s i g nC
> >>mailto:info@davyobdam.com
> >>tel: +31(0)641 222 385
> >>
> >>
> >>
> >>
> >>>-----Original Message-----
> >>>From: Jack R. [mailto:radienssmgs2@hotmail.com]
> >>>Sent: Friday, November 29, 2002 10:53 PM
> >>>To: php-windows@lists.php.net
> >>>Subject: [PHP-WIN] Install PHP4.2.3 with Apache
> 2.0.43 on Window 2000
> >>>
> >>>
> >>>I follow the exact procedure describe here, and I
> still can't
> >>>get it to work. The following procedure has the
> same setting
> >>>as I do, but apache fails to start after I try to
> load the
> >>>module by adding the following line to my apache
> config file.
> >>> LoadModule php4_module
> c:/php/sapi/php4apache2.dll AddType
> >>>application/x-httpd-php .php
> >>>
> >>>
> >>>
> >>http://www.php.net/manual/en/install.apache2.php
> >>
> >>
> >>I appreciate if anyone can help.
> >>
> >>--
> >>PHP Windows Mailing List (http://www.php.net/)
> >>To unsubscribe, visit:
> http://www.php.net/unsub.php
> >>
>
>>========================================================== ======
> >>Deze e-mail is door E-mail VirusScanner van Planet
> Internet
> >>gecontroleerd op virussen. Op
> http://www.planet.nl/evs staat een
> >>verwijzing naar de actuele lijst waar op wordt
> gecontroleerd.
> >>
> >>
> >>
> >
> >
> >
>
>
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

____________________________________________________________ ___________
Yahoo! Acesso Grátis
Internet rápida, grátis e fácil. Faça o download do discador agora mesmo.
http://br.acesso.yahoo.com/

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php