php-install Digest 26 Sep 2001 19:12:55 -0000 Issue 476
Topics (messages 4407 through 4413):
php.ini & iis virtual servers
4407 by: Giorgos Sakalis
Solaris 8 with forte cc compiler compile warnings
4408 by: ExpCase
Help required to execute .php scripts on Apache web server
4409 by: Murugan K
Urgent Php3 and Mysql
4410 by: Jayaprakash
Bug #13451 Updated: no images ;( (fwd)
4411 by: Marcin Liwinski
Re: using PHP, PWS WIN98: HTTP error 403 running PHP-scripts
4412 by: Brigitte
Getting PHP for Solaris 8 (Intel Version)
4413 by: Pauljames Dimitriu
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]
----------------------------------------------------------------------
I 'd like to have a different php.ini for every virtual web site I have on
iis.
Installing php as a cgi this is easy because there is the -c parameter..
But how can give a new php.ini when I use php as isapi???
Giorgos Sakalis
Im making static 64bit compilation of Apache and PHP on sparc Solaris 8
platform with native cc compiler.
The binaries works just fine, but i get LOTS of following errors
"main.c", line 1235: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char :
"/output1/dev/out/php-4.0.6/ext/standard/base64.h", line 28
argument : pointer to const char
"main.c", line 1235: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"php_ticks.c", line 56: warning: argument #2 is incompatible with prototype:
prototype: pointer to void : "/output1/dev/out/php-4.0.6/Zend/zend_llist.h",
line 53
argument : pointer to function(int) returning void
"php_logos.c", line 87: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char :
"/output1/dev/out/php-4.0.6/ext/standard/php_output.h", line 30
argument : pointer to unsigned char
"session.c", line 477: warning: argument #2 is incompatible with prototype:
prototype: pointer to const unsigned char :
"/output1/dev/out/php-4.0.6/ext/standard/md5.h", line 58
argument : pointer to char
"session.c", line 490: warning: argument #2 is incompatible with prototype:
prototype: pointer to const unsigned char :
"/output1/dev/out/php-4.0.6/ext/standard/md5.h", line 58
argument : pointer to char
"base64.c", line 163: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char : "base64.c", line 34
argument : pointer to char
"base64.c", line 165: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"base64.c", line 184: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char : "base64.c", line 71
argument : pointer to char
"base64.c", line 186: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"crc32.c", line 110: warning: initializer does not fit or is out of
range: -1
"dl.c", line 136: warning: improper pointer/integer combination: op "="
"html.c", line 111: warning: argument #1 is incompatible with prototype:
prototype: pointer to unsigned char : "html.c", line 49
argument : pointer to char
ETC.... ETC...
"mod_include.c", line 1546: warning: end-of-loop code not reached
"mod_include.c", line 1671: warning: end-of-loop code not reached
"/usr/include/dlfcn.h", line 107: warning: macro redefined: RTLD_LAZY
"/usr/include/dlfcn.h", line 111: warning: macro redefined: RTLD_GLOBAL
ETC ... ETC...
"./language.inc", line 5686: warning: initialization type mismatch
"./language.inc", line 5687: warning: initialization type mismatch
"./language.inc", line 5688: warning: initialization type mismatch
"./language.inc", line 5689: warning: initialization type mismatch
"./language.inc", line 5690: warning: initialization type mismatch
ETC... ETC....
Im just wondering how worried i should be from these messages and what could
be done to remove these errors!!!!
My current CC looks like this:
CC="/home/forte/SUNWspro/bin/cc -xarch=v9 -xCC"
and configuration like this:
cd ${APACHE_HOME}
./configure
#------ CONFIGURE AND MAKE
PHP ------------------------------------------------------
cd ${PHP_HOME}
./configure --without-mysql \
--with-apache=${APACHE_HOME} \
--prefix=${PHP_OUTPUT}
make
make install
#------- CONFIGURE AND MAKE
APACHE --------------------------------------------------
cd ${APACHE_HOME}
./configure --prefix=${APACHE_OUTPUT} \
--activate-module=src/modules/php4/libphp4.a
make
make install
I installed latest php4.0.6 and Apache Web server on my Windows NT worksation and
added the following directives in the httpd.conf file.
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
While executing .php script , i am getting the following error message
Internal server error
In error.log file ,
[Wed Sep 26 15:21:37 2001] [error] [client 164.99.145.209] couldn't spawn child
process: c:/php/ittest/date.php
Any help please
Regards
K.Murugan
Anybody has configured php3 and mysql in Red hat 6.2 i have installed mysql
using rpm how to configur php3 so that it can access mysql database
after upgrade from version 4.0.4pl1 to 4.0.6, i cannot generate images ;(
i don't know why: maybe i've missed some install or configuration steps,
but i don't thing so. under windows when i did: php.exe image.php >
image.jpg, i've got an image, but when the same script is run from under apache
- it doesn't work ;(
I have exactly the same problems, but have configured PWS with "pws-php4cgi"
the path is set to c:\php\php.exe. I have also set the permissions in PWS to
execute scripts in wwwroot!!
Can anyone help?
Thanks Brigitte
"Phil Driscoll" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
01080608525501.15407@linux">news:01080608525501.15407@linux...
> You also have to configure PWS - the manual or the install.txt file tell
you
> what to do.
>
> --
> Phil Driscoll
Hello,
Does anyone know where I can obtain a version of PHP for Solaris 8
running on the Intel Platform? Any help would be very appreciated.
Please respond to my regular e-mail addr:
[EMAIL PROTECTED]
Thanks,
Paul