php-install Digest 10 Dec 2002 12:32:37 -0000 Issue 1155

Topics (messages 9337 through 9342):

Re: Problems installing 4.3RC2, Apache 2.0.43 on Linux
        9337 by: Dan Anderson
        9340 by: John Locke

PHP PWS 4.0
        9338 by: David Miller
        9339 by: David Miller

Problem to compiling PHP 4.2.3 on Solaris 8
        9341 by: Kohler Benjamin

Re: Failed opening
        9342 by: Curtis Maurand

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 ---
I couldn't get PHP 4.2.3 to work with Apache 2.0.43, but PHP 4.3RC2
works for me.  I had to make PHP DSO for Apache 2, I think either
static modules dont work or are not supported for Apache 2.

Nothing obvious comes to mind for your problme, except a mixup in directories
or configuration.  I would start with a fresh directory for installing
both Apache and PHP and start with the configuration files from the
distribution.

You can also check the httpd ocnfiguration with:
        httpd -t
        httpd -v
        httlpd -l
        httpd -V
        and check the output

I have my notes on using Apache 2 and PHP 4.3RC2 on Linux at
        http://dan.drydog.com/apache2php.html


John Locke <[EMAIL PROTECTED]> wrote:
> I was trying to get Apache 2.0 up and running, but I'm not having any
> luck. When I start up Apache, it returns non-PHP pages just fine, but
> PHP pages don't work.
> Once I got the LoadModule and AddType directives in place, any PHP page
> just returns empty. Nothing, nada, zilch. No log entry, no error
> message, no nothing.
. . .

--- End Message ---
--- Begin Message ---
Thanks for the tips, Dan.

Quiet list here. I did track down the issue--it was the ActiveState
Debugger extension I had enabled in the php.ini. Removing that line made
it all start working.

But I still get lots of child processes segfaulting, and big parts of my
site no longer work--mainly because I'll need to go tweak a bunch of
.htaccess files.

So I'm going back to the Apache 1.3 series until this all appears to be
more stable. 

Cheers,
John


On Mon, 2002-12-09 at 15:10, Dan Anderson wrote:
> I couldn't get PHP 4.2.3 to work with Apache 2.0.43, but PHP 4.3RC2
> works for me.  I had to make PHP DSO for Apache 2, I think either
> static modules dont work or are not supported for Apache 2.
> 
> Nothing obvious comes to mind for your problme, except a mixup in directories
> or configuration.  I would start with a fresh directory for installing
> both Apache and PHP and start with the configuration files from the
> distribution.
> 
> You can also check the httpd ocnfiguration with:
>         httpd -t
>         httpd -v
>         httlpd -l
>         httpd -V
>         and check the output
> 
> I have my notes on using Apache 2 and PHP 4.3RC2 on Linux at
>         http://dan.drydog.com/apache2php.html
> 
> 
> John Locke <[EMAIL PROTECTED]> wrote:
> > I was trying to get Apache 2.0 up and running, but I'm not having any
> > luck. When I start up Apache, it returns non-PHP pages just fine, but
> > PHP pages don't work.
> > Once I got the LoadModule and AddType directives in place, any PHP page
> > just returns empty. Nothing, nada, zilch. No log entry, no error
> > message, no nothing.
> . . .
> 

--- End Message ---
--- Begin Message --- I have been using PHP on linux machines for quite a while with no problem. I have scripts at my service provider with not problem.

But windows is a different story.

I have a laptop with win98. I installed PWS 4.0. Had problems and had to download Mtssetup.exe to fix the webserver, well transaction server.
Downloaded php-4.2.3-Win32.zip.
Unzipped into its own dir.
Copied all files from dlls dir to C:\windows\system.
Copied all files from mibs to C:\usr\mibs. Copied php4ts.dll to C:\windows\system.
Copied php.ini-recommended to php.ini in C:\windows.
Fixed extensions to point to c:\windows\system.
Copied php4isapi.dll to C:\windows\system.
Updated pws-php4cgi.reg to C:\windows\system\php4isapi.dll and updated registry.
Downloaded and installed mdac_typ.exe.
Downloaded and installed dcom98.exe.
Set root data dir to execute.
Stop and started the PWS.
Created a php script that calls phpinfo. (This file works fine on linux and service provider systems).
Copied this php file and an index.html file to the root directory.

Point Mozilla to index file using url supplied by dns. Page is displayed.
Point Mozilla to php file and I get a dialog that indicates that I have chosen to download a file.
Point IE to the same php file and get a HttP 500 error.
Point Netscape 4.7 to the same php file and get a message that says:
"One of the library files needed to run this application cannot be found."

I thought I followed all the steps but I must have missed something and just can't se e it.

Does anyone see what I have missed?

David Miller

--- End Message ---
--- Begin Message --- I found this problem:
Where I said I copied php4isapi.dll to the windows/system directory, I had copied php4nsapi.dll instead. Correcting this, I get all the stats on php when I point the browser to this script.

Once I got past that there are some other scripts that I have at our service provider that generate a blank screen on this while they work fine on my linux machine and at my service provider.

David Miller


I have been using PHP on linux machines for quite a while with no problem. I have scripts at my service provider with not problem.

But windows is a different story.

I have a laptop with win98. I installed PWS 4.0. Had problems and had to download Mtssetup.exe to fix the webserver, well transaction server.
Downloaded php-4.2.3-Win32.zip.
Unzipped into its own dir.
Copied all files from dlls dir to C:\windows\system.
Copied all files from mibs to C:\usr\mibs. Copied php4ts.dll to C:\windows\system.
Copied php.ini-recommended to php.ini in C:\windows.
Fixed extensions to point to c:\windows\system.
Copied php4isapi.dll to C:\windows\system.
Updated pws-php4cgi.reg to C:\windows\system\php4isapi.dll and updated registry.
Downloaded and installed mdac_typ.exe.
Downloaded and installed dcom98.exe.
Set root data dir to execute.
Stop and started the PWS.
Created a php script that calls phpinfo. (This file works fine on linux and service provider systems).
Copied this php file and an index.html file to the root directory.

Point Mozilla to index file using url supplied by dns. Page is displayed.
Point Mozilla to php file and I get a dialog that indicates that I have chosen to download a file.
Point IE to the same php file and get a HttP 500 error.
Point Netscape 4.7 to the same php file and get a message that says:
"One of the library files needed to run this application cannot be found."

I thought I followed all the steps but I must have missed something and just can't se e it.

Does anyone see what I have missed?

David Miller

--- End Message ---
--- Begin Message ---
Hello,
I have a problem with php 4.2.3 on Solaris 8. 
We use the folling configure:
--prefix=$path --with-apache=../apache_1.3.27 --without-mysql
--with-oci8=/u01/oracle/product/9.2.0 
Creating the Makefile was fine. But when we run make it stops with the
following error:

...
...
php_type.h:39 parse error before "zval"
make [2] *** [internal_functions.lo] Error 1
make[2]: Leaving directory '/opt/src/php-4.2.3/main'
make[1] *** [all-recursive] Error 1
make[1] Leaving directory '/opt/src/php-4.2.3/main'
make: *** [all-recursive] Error 1


GCC 3.2
Make 3.8
Oracle 9.2.0

Any hints?

Cu

Benj

 
--- End Message ---
--- Begin Message ---
Permissions problem?

Curtis

On Tue, 03 Dec 2002 17:21:54 +0000
Richard Shaw <[EMAIL PROTECTED]> wrote:

> 
>  >What does it say in your Apache error_log file?
> 
> Absolutely nothing out of the ordinary, which is why i'm really stumped
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---

Reply via email to