K, one more time...

Soundy

Joined: 2002-08-19
Posts: 8
Posted: Wed, 2002-08-21 18:50

Installed Apache 1.3.x on port 8080 - that works (http://161.184.112.7:8080)

Reinstalled the full PHP 4.2.2 bundle to ensure everything's up to the latest level.

PHP still works on IIS at port 80 using php.exe
(http://161.184.112.7/cgi-bin/phpinfo.php)

Added PHP SAPI modules to Apache's httpd.conf per docs, but... no go. Internal server error. (http://161.184.112.7:8080/cgi-bin/phpinfo.php)

Reconfigured Apache to use php.exe as well, with similar lack of success.

Gallery still works on IIS, except the uploading (I've tried all the posted mods and tweaks so far with no success).

I DARE someone to tell me I'm doing something unsupported now...

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Wed, 2002-08-21 20:44
Quote:
Installed Apache 1.3.x on port 8080 - that works (http://161.184.112.7:8080)

Reinstalled the full PHP 4.2.2 bundle to ensure everything's up to the latest level.

PHP still works on IIS at port 80 using php.exe
(http://161.184.112.7/cgi-bin/phpinfo.php)

Added PHP SAPI modules to Apache's httpd.conf per docs, but... no go. Internal server error. (http://161.184.112.7:8080/cgi-bin/phpinfo.php)

Reconfigured Apache to use php.exe as well, with similar lack of success.

Gallery still works on IIS, except the uploading (I've tried all the posted mods and tweaks so far with no success).

I DARE someone to tell me I'm doing something unsupported now...

Check your logs file, it will specifically tell you what's going on to your PHP installation.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-08-22 00:45

Hmm. This sounds like FAQ C.

 
Soundy

Joined: 2002-08-19
Posts: 8
Posted: Thu, 2002-08-22 01:10

Close. error.log contains the following repeated over and over:

[Wed Aug 21 19:01:10 2002] [error] [client 64.114.31.10] d:/cgi-bin/gallery/setup/index.php is not executable; ensure interpreted scripts have "#!" first line
[Wed Aug 21 19:01:10 2002] [error] [client 64.114.31.10] couldn't spawn child process: d:/cgi-bin/gallery/setup/index.php

If I actually add a '#!' to the first line of /cgi-bin/gallery/setup/index.php I just get:

[Wed Aug 21 19:02:45 2002] [error] [client 64.114.31.10] couldn't spawn child process: d:/cgi-bin/gallery/setup/index.php

Now I don't expect eveyone has had to go go through and add a '#!' to the start of every single .php file...

I also renamed /cgi-bin/gallery/.htaccess (per 4.9) with no success...

 
CarpetBagger
CarpetBagger's picture

Joined: 2002-08-09
Posts: 49
Posted: Thu, 2002-08-22 15:41

Do you have Apache running as a service or do you manually launch it?

Also, don't forget the Register Globals issue with the newer versions of PHP.

 
Soundy

Joined: 2002-08-19
Posts: 8
Posted: Thu, 2002-08-22 17:00

It's starting as a service. Apache is working; PHP is also working as a CGi with IIS. It's just with Apache that PHP doesn't work.

What's this other issue then?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-08-22 19:03

Ya got me. Something is wrong with your PHP setup. I hate to say it, but this isn't really related to Gallery -- you might want to go talk to the folks at http://www.php.net and see if they can help you getting PHP running. Once you've got PHP running with Apache 1.3.x, Gallery should work for you.