php-windows Digest 21 Nov 2001 19:26:48 -0000 Issue 866

Topics (messages 10557 through 10570):

Re: PHP as ISAPI on IIS 5.0/win2k server
        10557 by: Phil Driscoll

PHP & ASP mix. Any problem?
        10558 by: Pablo Marugán
        10559 by: David Elliott
        10560 by: David Elliott
        10561 by: George Pitcher

Re: PHP4 & Win2k 'Application Error'
        10562 by: Julio Nobrega Trabalhando

Unable to create scratch file...
        10563 by: Niclas Krantz

PHP & Win XP problem ?
        10564 by: Cesare Quadalti

filemtime
        10565 by: Nicolas Blouin

ODBC to Access with Autonumber Field
        10566 by: Greg Sohl
        10568 by: Pablo Marugán

Problem with php 4.0.6 extensions
        10567 by: Harald Schmidt

phpMyAdmin Advenced Auth problem
        10569 by: Arnaud Lesauvage

iis apache together?
        10570 by: Mike Webby

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 ---
On Tuesday 20 November 2001 6:16 pm, Laurent Protti wrote:
> i've got a little problem, I try installing PHP 4.06 on my web server as an
> ISAPI filter. I've modified the webserver configuration to add the filter
> (php4isapi.dll which I copied in \winnt\system), modified the home
> directory configuration so that .php files are interpreted by
> php4isapi.dll, and when I restart the web server by net stop IISAdmin, net
> start w3svc, the ISAPI filter appears as not loaded and I get the following
> message in the event viewer :
>
> The HTTP Filter DLL D:\winnt\system\php4isapi.dll failed to load. The data
> is the error.
>
> The data contains 7e 00 00 00.
>
> Has anyone encountered the same problem and know how to resolve it ?

First let me qualify this reply by restating the information in install.txt - 
the ISAPI version of php is not of production quality, so even if you do get 
it going, you will probably be disappointed by its reliabilty, whereas php in 
cgi mode on IIS is rock solid. Secondly, I have never used W2K/XP or IIS5 so 
my comments really apply to my experience on NT4/IIS4.

When the php4isapi module fails to load, it is usually because something it 
depends on cannot be loaded. In your case (at least on NT4) php4isapi.dll and 
php4ts.dll should both be in /winnt/system32, and php.ini should be in /winnt.
Your php.ini should (at least until you get it working) not have any 
extension modules enabled.

If doing the above fails, try running php.exe -i from the command line to see 
if you get sensible output, or a helpful error message.

Cheers
-- 
Phil Driscoll
--- End Message ---
--- Begin Message ---
I have the next question for you people.

I'm preparing a WEB application that will make use of PHP & Microsoft SQL
Server 2000 running over a W2K Server with IIS 5.0 and ASP active. So, here
are the questions:
  a.. Should there be any problem on running asp & php on the same server
(the question may sound a bit lammah, but with Microsoft you never know ;)?
  b.. To connect the database, does the mssql libraries support SQL Server
2000 (Enterprise Edit.)? (In other case I guess I should use the odbc ones).
Thank you all for the hand ;)
--- End Message ---
--- Begin Message ---
Dear Pablo

On 21 November 2001 at 11:06:08 +0100 (which was 10:06 where I live) Pablo
Marugán  thoughtfully wrote the following

PM> I'm preparing a WEB application that will make use of PHP & Microsoft SQL
PM> Server 2000 running over a W2K Server with IIS 5.0 and ASP active. So, here
PM> are the questions:

PM>   a.. Should there be any problem on running asp & php on the same server
PM> (the question may sound a bit lammah, but with Microsoft you never know ;)?

No. I do it.

PM>   b.. To connect the database, does the mssql libraries support SQL Server
PM> 2000 (Enterprise Edit.)? (In other case I guess I should use the odbc ones).
PM> Thank you all for the hand ;)

Yes. Again I do it.


-- 
 HAND,                     _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| I DID read the manual!  That's why I'm confused!!                       |

--- End Message ---
--- Begin Message ---
Dear Pablo

On 21 November 2001 at 11:06:08 +0100 (which was 10:06 where I live) Pablo
Marugán  thoughtfully wrote the following

PM> I'm preparing a WEB application that will make use of PHP & Microsoft SQL
PM> Server 2000 running over a W2K Server with IIS 5.0 and ASP active. So, here
PM> are the questions:

PM>   a.. Should there be any problem on running asp & php on the same server
PM> (the question may sound a bit lammah, but with Microsoft you never know ;)?

No. I do it.

PM>   b.. To connect the database, does the mssql libraries support SQL Server
PM> 2000 (Enterprise Edit.)? (In other case I guess I should use the odbc ones).
PM> Thank you all for the hand ;)

Yes. Again I do it.


-- 
 HAND,                     _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| I DID read the manual!  That's why I'm confused!!                       |

--- End Message ---
--- Begin Message ---
Pablo,

I am not running ASP (or MSSQL) but I do run Lasso (a cgi type application
like ASP) and Filemaker as the db alongside PHP 4.0.6 on IIS4 (NT4). As long
as the page called has the appropriate extension (.php or .lasso) there's no
conflict. Obviously you will not be able to mix your code in the same page
as the server would not know which process to push it through.

So avoid using html extensions and be specific about what is goind to parse
your page and it should work. Use forms or cookies to pass values from one
method to the other.

George
----- Original Message -----
From: "Pablo Marugán" <[EMAIL PROTECTED]>
To: "PHP Windows List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 10:06 AM
Subject: [PHP-WIN] PHP & ASP mix. Any problem?


> I have the next question for you people.
>
> I'm preparing a WEB application that will make use of PHP & Microsoft SQL
> Server 2000 running over a W2K Server with IIS 5.0 and ASP active. So,
here
> are the questions:
>   a.. Should there be any problem on running asp & php on the same server
> (the question may sound a bit lammah, but with Microsoft you never know
;)?
>   b.. To connect the database, does the mssql libraries support SQL Server
> 2000 (Enterprise Edit.)? (In other case I guess I should use the odbc
ones).
> Thank you all for the hand ;)
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--- End Message ---
--- Begin Message ---
 I had this problem with the CGI installation version. Modify your
httpd.conf and adapt it to run PHP as an Apache module and all should work
fine.

--

Julio Nobrega

No matter where you go, &this.

"Jason Reid" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm running Windows 2000 Advanced server w/ SP2, with IIS and apache
1.3.22.
> When i run some scripts(PEAR webinstaller.php for example) i get a
> Application Error stating that php.exe (if trying under IIS) or apache.exe
> (when trying under apache) have caused a error, saying:
>
> ' The instruction at "0x006b6d1" referenced memory at "0x00000000". The
> memory could not be "read". '
>
> I've tried reinstalling both apache and php, to no avail. I came across on
> reporting of this on the php.net bug tracker, but no solution. anyone know
> how to fix this?
>
> Thanks
>
> Jason Reid
> [EMAIL PROTECTED]
>
>


--- End Message ---
--- Begin Message ---
Hello!

When I recive mails from a POP-server and want to read the message body, i
get a error:
"Unable to create scratch file: Permission denied (errflg=2)"
I have set all the permissions needed I think!
What's the problem?

I run WinXP Pro, PHP 4.006

/Niclas


--- End Message ---
--- Begin Message ---
My problem is very strange!

I use win XP with Apache, Php 4.0.6 and Mysql as services (I have 
updated Apache at 1.3.22 and now It works as service..).
My site works fine in local and intranet also, but from remote 
(Internet) many pages are often corrupted and sometimes are present 
pieces of code PHP in the page...
I don't know what may be the problem, because it worked fine with win 2k.
I'm sure that not is a modem problem: it works fine when I surf from 
server...
Someone can help me?

Tnx

Cesare

Reply in e-mail

--- End Message ---
--- Begin Message ---
When I am uploading a Word file from the client machine to the server, 
before overwriting the file on the server, I am checking for the last time 
each of the two files were modified.  If the file being uploaded is older 
than the one on the server, I don't want the upload to happen.

The problem is that the file that is being uploaded seems to be copied to a 
temporary location by PHP, and in the process this changes the modified time 
of the file to the current time on the server.  Is there any way I could get 
the modified time from the Word file on the client machine?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--- End Message ---
--- Begin Message ---
Hi,

Does anyone have an example of Inserting a record to a table in an Access
database where one of the fields is an Autonumber field, and most
importantly, retrieving the value of the newly inserted Autonumber field?
I'm looking for the equivilant of mysql_insert_id() for ODBC. Thanks.

Greg Sohl
Cedar Rapids, IA



--- End Message ---
--- Begin Message ---
You should try inserting the record with the next syntax:

INSERT INTO table (fieldname1,fieldname2) VALUES
(fieldname1value,fieldname2value)

This way you can ignore the Autonumber field...

For the second question, an option could be having a timestamp field on the
table you want and then, making a select ordered by the timestamp field in
descending order. This should make it possible to retrieve the last inserted
record's id.

> -----Mensaje original-----
> De: Greg Sohl [mailto:[EMAIL PROTECTED]]
> Enviado el: miércoles, 21 de noviembre de 2001 15:18
> Para: [EMAIL PROTECTED]
> Asunto: [PHP-WIN] ODBC to Access with Autonumber Field
>
>
> Hi,
>
> Does anyone have an example of Inserting a record to a table in an Access
> database where one of the fields is an Autonumber field, and most
> importantly, retrieving the value of the newly inserted Autonumber field?
> I'm looking for the equivilant of mysql_insert_id() for ODBC. Thanks.
>
> Greg Sohl
> Cedar Rapids, IA
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

--- End Message ---
--- Begin Message ---
Hello,

System:
Win 98
PWS 4.0
PHP4.0.6
i have a problem with my php 4.0.6. Whenever i try to load a extensions extend i get 
the error < metabase Error = 1722> from pws. It doesn´t matter which extensions.
What can i do ?

thanks
Jochen Bauer 
--- End Message ---
--- Begin Message ---
I just installed phpMyAdmin following the install instructions provided with
the doc.
The standard user connects to the mysql db just fine, (ie the login/password
window pops up), but the login/password that I provide after that is always
refused.
I tried to login with the root but it doesn't help.
I tried to add login capabilities from anywhere (instead of localhost) to
the user, but does not help either.

Have I done something wrong?


--
Arnaud Lesauvage




--- End Message ---
--- Begin Message ---
Hope your all well
is it possible to run apache on our windows advanced server alongside iis as
we have 50 some sites on iis already and do not want to have to move them
all to apache just one or two php sites?
maybe on another port or something as shtml files fail to execute and the
crypt in php acts oddly on iis too.

Mike


--- End Message ---

Reply via email to