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!

Getting black screen trying to test PHP/Apache

15278Sep 22 2003 — edited Sep 26 2003
Environment:

Oracle 9.2.0.1
- using the bundled HTTP server (Apache 1.3.22 I believe)
PHP 4.3.1 for Windows
Windows 2000

Problem:

I am trying to test out my initial install and I am getting nowhere. I believe that I have followed all of the install instructions correctly but this things just ain't workin' for me!

I am not trying to get the CGI version of PHP going. I have created a sample html file with "<?php phpinfo(); ?>" in it. I would expect to see the version of PHP printed in my browser window when I view this file/URL but I just get a blank screen. If I view the source then I can see all of the html.

I have copied the following files to C:\oracle\ora92\Apache\Apache -

php_oci8.dll
php4ts.dll

I have copied php-dist.ini to c:\winnt\php.ini and modified it to include my document root, uncommented out the "extension=php_oci8.dll" and "safe_mode = off".

I have modified by httpd.conf to include:

=================================================

"LoadModule php4_module C:\php-4.3.1-Win32\sapi\php4apache.dll"

AddModule mod_php4.c

<IfModule mod_php4.c>
AddType application/x-httpd-php .php
</IfModule>

=================================================

I have bounced Apache. Running it via a command shell reveals errors which may or may not be something to worry about....

C:\oracle\ora92\Apache\Apache>apache
[Sun Sep 21 22:59:42 2003] [warn] Loaded DSO C:\php-4.3.1-Win32\sapi\php4apache.
dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recom
pile it with -DEAPI)
Oracle HTTP Server Powered by Apache/1.3.22 (Win32) PHP/4.3.1 mod_ssl/2.8.5 Open
SSL/0.9.6b mod_fastcgi/2.2.12 mod_oprocmgr/1.0 mod_perl/1.25 running...

Any help would be greatly appreciated!

Ty Haeber
San Diego, CA

Comments

adfLearner

Please provide a sample on HR schema ....so that we can take a quick look in to your issue.

Regards,

adfLearner

RohitK
Answer

Resolved.

Thanks.

Marked as Answer by RohitK · Sep 27 2020
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 24 2003
Added on Sep 22 2003
2 comments
412 views