Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Windows2000server/9ias/php installation

grimrandOct 9 2003 — edited Oct 12 2003
I have downloaded and unzipped the file, then implemented all the httpd.conf file changes, moved the php4ts.dll to the winnt, winnt\system and winnt\system32 directories. renamed and moved the ini file to the windows directory.

restarted apache - no joy the error_log file has three error messages :

[warn] loaded DSO modules/php4apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile ....

can't spawn child process ../../a.php

../../a.php is not executable; ensure interpreted scripts have "~!" first line

Help!! any suggestions on a simple step by step configuration please.

Comments

4c3880db-960a-4cd4-9bc7-412ae46c86f2
Answer

looks like this strategy might get me there ... first need to know the number of bytes per row for the inBuffImg with ...

    int bytesPerRow = inBuffImg.getWidth()/8;

    if (inBuffImg.getWidth()%8>0)

        bytesPerRow+=1;

then i get bit and byte positions with

    int bytePos = y*bytesPerRow + x/8;

    int bitPos = x%8;

then i get the bit value

    pixels = ((DataBufferByte)inBuffImg.getRaster().getDataBuffer()).getData();

    return (pixels[bytePos] >> bitPos) & 1;

Marked as Answer by 4c3880db-960a-4cd4-9bc7-412ae46c86f2 · Sep 27 2020
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 9 2003
Added on Oct 9 2003
3 comments
428 views