php-install Digest 2 Jul 2002 08:11:47 -0000 Issue 911

Topics (messages 7565 through 7572):

FastCGI/php.ini file
        7565 by: David Birnbaum

Problems installing PHP 4.2.1
        7566 by: Alberto Martin
        7568 by: Ronald Bradford

libphp4.so: undefined symbol: core_globals  using PHP 4.2.1/Apache 1.3.26
        7567 by: Ronald Bradford

Undefined variable: Usuario
        7569 by: Jose antonio Tuesta
        7571 by: Matt Parlane

Unable to restart httpd after upgrading PHP
        7570 by: Robert Tan

Win '98 & PHP 4.2 & Apache 1.3   (So close yet so far .......)
        7572 by: Jennifer.Lawlor.loctite-europe.com

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 ---
Folks,

I was trying to use PHP with FastCGI (which works like a charm, and really
reduces the memory overhead then running as a module) but there are a few
minor issues I'm hoping somebody can help me out with:

1.  The -c option does not seem to be respected.  In a virtual hosting
environment, I am running several PHP processes, with different
configurations for each virtual host.

2.  Is there any way to control (perhaps via the php.ini file; see above)
the number of PHP processes actually spawned in FastCGI mode?  The default
seems to be set at compile time, and while 8 is lovely number, it is
sometimes too high and sometimes too low.

3.  Is there any way to start up PHP in FastCGI mode without the Web
server doing so?  Currently, you can't use it with an external process
manager, it complains on the command line:

  The FastCGI version of PHP cannot be run as a CGI application

4.  Finally, if you want to run PHP in a cron job or on the command line,
you have to compile a separate version.  This seems a little bit silly;
perhaps there could be a command line option or something similar to allow
for PHP to run without being called on the Web browser.

Thanks in advance for any advice or assistance.  The FastCGI
implementation is vastly more flexible and manageable than the module,
without sacrificing any speed.

David.

--- End Message ---
--- Begin Message ---
Couldn't get a compile under Red Hat Linux 7.2. I'm installing it as a
dynamic Apache 2.0.39 module. I got the following error:

Making all in sapi
make[1]: Entering directory `/home/martin/php-4.2.1/sapi'
Making all in apache2filter
make[2]: Entering directory `/home/martin/php-4.2.1/sapi/apache2filter'
make[3]: Entering directory `/home/martin/php-4.2.1/sapi/apache2filter'
/bin/sh /home/martin/php-4.2.1/libtool --silent --mode=compile gcc  -I. 
-I/home/martin/php-4.2.1/sapi/apache2filter 
-I/home/martin/php-4.2.1/main -I/home/martin/php-4.2.1 
-I/usr/local/apache2/include -I/home/martin/php-4.2.1/Zend 
-I/usr/local//include -I/home/martin/php-4.2.1/ext/mysql/libmysql 
-I/home/martin/php-4.2.1/ext/xml/expat  -D_REENTRANT 
-I/home/martin/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS 
-prefer-pic  -c php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/home/martin/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/martin/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martin/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

... Any suggestion?

Thanks in Advance

--- End Message ---
--- Begin Message ---
I also have the same error, have gone back to trying 1.3.26

Alberto Martin wrote:

> Couldn't get a compile under Red Hat Linux 7.2. I'm installing it as a
> dynamic Apache 2.0.39 module. I got the following error:
> 
> Making all in sapi
> make[1]: Entering directory `/home/martin/php-4.2.1/sapi'
> Making all in apache2filter
> make[2]: Entering directory `/home/martin/php-4.2.1/sapi/apache2filter'
> make[3]: Entering directory `/home/martin/php-4.2.1/sapi/apache2filter'
> /bin/sh /home/martin/php-4.2.1/libtool --silent --mode=compile gcc  -I. 
> -I/home/martin/php-4.2.1/sapi/apache2filter 
> -I/home/martin/php-4.2.1/main -I/home/martin/php-4.2.1 
> -I/usr/local/apache2/include -I/home/martin/php-4.2.1/Zend 
> -I/usr/local//include -I/home/martin/php-4.2.1/ext/mysql/libmysql 
> -I/home/martin/php-4.2.1/ext/xml/expat  -D_REENTRANT 
> -I/home/martin/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS 
> -prefer-pic  -c php_functions.c
> php_functions.c:93:27: missing binary operator before '!'
> make[3]: *** [php_functions.lo] Error 1
> make[3]: Leaving directory `/home/martin/php-4.2.1/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/martin/php-4.2.1/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/martin/php-4.2.1/sapi'
> make: *** [all-recursive] Error 1
> 
> ... Any suggestion?
> 
> Thanks in Advance
> 

--- End Message ---
--- Begin Message ---
Hello all,

I'm trying to install the latest Apache/PHP on a new machine.

I can compile and install Apache 1.3.26 and PHP 4.2.1, using standard 
configure/make/make install as per all documentation using DSO and using 
only different prefixes accordingly, but an attempt to start apache 
after the  install of PHP fails with the following error.

Cannot load /opt/apache_1.3.26/libexec/libphp4.so into server 
....libphp4.so: undefined symbol: core_globals

httpd could not be started.

Has anybody seen this problem.

Regards

Ronald Bradford

--- End Message ---
--- Begin Message ---
Configuration
Win 2000 whit IIS 4 and I installed php-4.2.1-installer.exe, Mysql

Problem
I put in a form index.htm some variables whit text boxs and in the submit 
botton call menu.php3 file in the action GET
I have a problem in my web apper me this error message.
I dont why I cant pass the value to the form or not reconize my variables.


address in the internet
explorer
----------------------
http://jtuesta/myweb/webs/dbadmin/menu.php3?Usuario=root&Password=&BaseDeDatos=MyWeb&localhost=jtuesta&B1=Enviar

Message in the internet explorer.
---------------------------------
Notice: Undefined variable: Usuario in G:\My 
Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 22

Notice: Undefined variable: Password in G:\My 
Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 22

Notice: Undefined variable: BaseDeDatos in G:\My 
Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 23

This is my code
--------------
<p><font size="4">Está trabajando sobre la Base - Menu</font><font size="5">
<script language="php">
$Conexion = mysql_connect("localhost",$Usuario,$Password);
$DBId = mysql_select_db($BaseDeDatos);
</script>










_________________________________________________________________
MSN. Más Útil cada Día. http://www.msn.es/intmap/

--- End Message ---
--- Begin Message ---
Hiya...

Firstly - check your register_globals, and check the archives - there are
heaps of explanations about this problem.

Secondly, and more importantly - I would strongly recommend against passing
any database details (especially your root password) in a query string where
anyone can see it.

Hope that helps,

Matt

"Jose Antonio Tuesta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Configuration
> Win 2000 whit IIS 4 and I installed php-4.2.1-installer.exe, Mysql
>
> Problem
> I put in a form index.htm some variables whit text boxs and in the submit
> botton call menu.php3 file in the action GET
> I have a problem in my web apper me this error message.
> I dont why I cant pass the value to the form or not reconize my variables.
>
>
> address in the internet
> explorer
> ----------------------
>
http://jtuesta/myweb/webs/dbadmin/menu.php3?Usuario=root&Password=&BaseDeDat
os=MyWeb&localhost=jtuesta&B1=Enviar
>
> Message in the internet explorer.
> ---------------------------------
> Notice: Undefined variable: Usuario in G:\My
> Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 22
>
> Notice: Undefined variable: Password in G:\My
> Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 22
>
> Notice: Undefined variable: BaseDeDatos in G:\My
> Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 23
>
> This is my code
> --------------
> <p><font size="4">Está trabajando sobre la Base - Menu</font><font
size="5">
> <script language="php">
> $Conexion = mysql_connect("localhost",$Usuario,$Password);
> $DBId = mysql_select_db($BaseDeDatos);
> </script>
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________________
> MSN. Más Útil cada Día. http://www.msn.es/intmap/
>


--- End Message ---
--- Begin Message ---
Hi There,

I am running a Sun Cobalt RAQ4 server. The PHP version on it is 4.0.6. 
I received an error message when I restart httpd after upgrading PHP 
scripting engine on my cobalt server through the patch that cobalt 
provided to fixes some security issues that were found on prior 
releases of PHP for Sun Cobalt server appliance.

The error message is "Setting up Web Service: Syntax error on line 58 
of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: libgd.so.1: 
cannot open shared object file: No such file or directory
/usr/sbin/httpd"

Appreciate your help.

Thank you.

Regards,
Robert

*****************E-MAIL DISCLAIMER******************
This document should only be read by those persons to whom it is 
addressed and is not intended to be relied upon by any person without 
subsequent written confirmation of its contents. Accordingly, 
iASPire.Net Pte Ltd disclaim all responsibility and accept no 
<\28>liability including in negligence<\29> for the consequences of any 
person acting, or refraining from acting, on such information prior to 
the receipt by those persons of subsequent written confirmation. If you 
have received this e-mail message in error, please notify us 
immediately by telephone <\28>65-5801900<\29>. Please also destroy and 
delete the message from your computer. Any form of reproduction, 
dissemination, copying, disclosure, modification, distribution and/or 
publication of this e-mail message is strictly prohibited.
****************************************************

--- End Message ---
--- Begin Message ---
Hi Everyone -

I have Apache (1.3.26) running successfully on Windows '98 and have also
installed PHP (4.2.1).  When I set up a .php file and open it in the web
browser, the PHP screen flashes open and then closes immediately.  Nothing
from the .php file is displayed.  I have PHP installed as a module with
Apache - any solutions or suggestions ?

Thanks in advance.....

Jennifer.

--- End Message ---

Reply via email to