php-install Digest 9 Jul 2002 03:54:37 -0000 Issue 923

Topics (messages 7651 through 7667):

Re: undefined symbol: pcre_malloc
        7651 by: duo fu

Re: error making php
        7652 by: Jonathan Thomas
        7659 by: leandro asnaghi-nicastro

Réf. : RE: [PHP-INST] error making php
        7653 by: abdel.ramli.mpsa.com

Réf. : [PHP-INST] Réf. : RE: [PHP-INST] error making php
        7654 by: abdel.ramli.mpsa.com
        7655 by: Chris Hewitt

4.2.1 - compile problem
        7656 by: Roman Chumakov2147483647

php page is not working with "submit" action
        7657 by: Terry Cheung
        7658 by: Jonathan Thomas

post_max_size
        7660 by: Matthew Donadio

Problem
        7661 by: Alberto Martin

Problem loading a php script
        7662 by: Alberto Martin

Can't figure it out
        7663 by: Jonathan Hilgeman

Can't set Register_Globals On in Php.ini
        7664 by: CM
        7667 by: CM

Make errors PHP4 / MySQL for Apache 2 on  Redhat  7.3
        7665 by: Erik Bais

Perl - Sorry Couldent Find Rite News Room
        7666 by: Matt

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 ---
Thank you very much for all your help!
I have checked the ld.so.conf and add the path. However, I don't know how to 
run the comand "ldconfig". I know simply type"shell> ldconfig" would not 
work. I am familiar with this command. ALL THE STEPS i USED for  
installation is following the manual of PHP4.0. Could you tell me how to run 
"ldconfig"?
Thanks again!
Duo

>From: "Michiel Lange" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP-INST] undefined symbol: pcre_malloc
>Date: Mon, 8 Jul 2002 12:07:09 +0200
>
>The problem you experience is probably that your library is not 'loaded'
>yet.
>check if libphp4.0.so is in the path described in /etc/ld.so.conf
>if so, run ldconfig
>
>If the problem persists, give the output of the next command:
>ldd /<wherever you installed php>/php
>
>Greetings,
>Michiel L.
>"Duo Fu" <[EMAIL PROTECTED]> schreef in bericht
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> > Hi friends:
> > I have tried to install php4.0 with apache1.3.26 tarball versions on my
> > RedHat6.2. I got the same error message:
> > ------------------------------------------
> > [root@broekhoven libexec]# /usr/local/apache/bin/apachectl start
> > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server:
> > /usr/local/apache/libexec/libphp4.so: undefined symbol: pcre_malloc
> > /usr/local/apache/bin/apachectl start: httpd could not be started
> > 
>--------------------------------------------------------------------------
>--------------------------------------
> > I wonder whether I must use the RPM versions instaed of tarball 
>versions?
> > ANd Must I use PHP3.0 instead of PHP4.0 because of Redhat6.2 not 7.0?
> >
> > COULD YOU PLEASE HELP ME OU OF THIS PROBLEM?
> >
> > Thank you very much!
> > Duo
> >
> > _________________________________________________________________
> > Join the world's largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
>
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--- End Message ---
--- Begin Message ---
Since you're compiling with apache2 are you using
--with-apxs2=/path/to/apxs/binary
?


Thanks,
JT


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 08, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] error making php 



Hi all,
Trying to make php after configure with-apxs

This occus almost at the end of the make process.

Running RedHat 7.2, Apache 2.0.36 & php 4.0.6

Any guess .?

Thanx

Here is the exact error message

sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter'
from in compatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/soft/sources/php-4.0.6/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/soft/sources/php-4.0.6/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/soft/sources/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
{op}@bexh35 #
                                       \\\___///
                         \\  _ _  //
                       (  @ @  )
+-------------------oOOo-(_)-oOOo--------------------+
Abdel RAMLI
[EMAIL PROTECTED]
PSA Peugeot Citroën | site de Bessoncourt
Unité: DINQ/DSIN/INSI/ETSO/PRD
Tel : 03 84 46 92 79 (229279)
+--------------------------- ---Oooo-------------------+
                       oooO        (  )
                       (  )         )/
                        \(         (_)
                        (_)


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On This Day, in the Year of Our Lord 8 Jul 02, at 9:57, thus spake Jonathan Thomas :

>     Since you're compiling with apache2 are you using --with-apxs2 ? 

I am, but I get a similar error as Abdel is getting.

leandro
___ 
leandro asnaghi-nicastro - editor in chief 
capital of nasty - http://con.ca/ 
[EMAIL PROTECTED] - icq uin: 889318  
 
"Oooooh.  One of those 'I'd rather trim my pubic hairs with a chainsaw'
sorta days. -Ange
--- End Message ---
--- Begin Message ---

Newbie question :    D'U know if it is possible to get apache work with php
as DSO without using apxs ?


Thanx




                         \\\___///
                         \\  _ _  //
                       (  @ @  )
+-------------------oOOo-(_)-oOOo--------------------+

Abdel RAMLI
[EMAIL PROTECTED]
Consultant Altaïr Technologies
PSA Peugeot Citroën | site de Bessoncourt
Unité: DINQ/DSIN/INSI/ETSO/PRD
Tel : 03 84 46 92 79 (229279)
+--------------------------- ---Oooo-------------------+
                       oooO        (  )
                       (  )         )/
                        \(         (_)
                        (_)

--- End Message ---
--- Begin Message ---

So if apxs has to be used, then I'm in serious trouble as I'm not able to
make it work.
   Please help if u can.
   What may be the possible reason which fail my php make when I specify
   --with-apxs2=/path/to/apxs

   Thanx







                          \\\___///
                          \\  _ _  //
                        (  @ @  )
   +-------------------oOOo-(_)-oOOo--------------------+

   Abdel RAMLI
   [EMAIL PROTECTED]
   Consultant Altaïr Technologies
   PSA Peugeot Citroën | site de Bessoncourt
   Unité: DINQ/DSIN/INSI/ETSO/PRD
   Tel : 03 84 46 92 79 (229279)
   +--------------------------- ---Oooo-------------------+
                          oooO      (  )
                          (  )            )/
                           \(            (_)
                           (_)

--- End Message ---
--- Begin Message ---
Abdel,

If you want PHP as an Apache module then apxs (or apxs2 if using 
Apache2) is needed. If you want PHP as a CGI then it is not.

We do not know anything about your operating system, php version or what 
errors you are getting. I have not used Apache2 so I may not be able to 
help, but I'm sure others who have will want to know the information if 
they are going to be able to help.

Regards

Chris

[EMAIL PROTECTED] wrote:

>So if apxs has to be used, then I'm in serious trouble as I'm not able to
>make it work.
>   Please help if u can.
>   What may be the possible reason which fail my php make when I specify
>   --with-apxs2=/path/to/apxs
>
>   Thanx
>
>
>
>
>
>
>
>                          \\\___///
>                          \\  _ _  //
>                        (  @ @  )
>   +-------------------oOOo-(_)-oOOo--------------------+
>
>   Abdel RAMLI
>   [EMAIL PROTECTED]
>   Consultant Altaïr Technologies
>   PSA Peugeot Citroën | site de Bessoncourt
>   Unité: DINQ/DSIN/INSI/ETSO/PRD
>   Tel : 03 84 46 92 79 (229279)
>   +--------------------------- ---Oooo-------------------+
>                          oooO      (  )
>                          (  )            )/
>                           \(            (_)
>                           (_)
>
>


--- End Message ---
--- Begin Message ---
Solaris 8
1.
/configure --with-mysql --with-apxs=/apachephp/bin/apxs

2.
make
------------
Step 1 works fine
But step 2 says:
# make
Making all in Zend
make[1]: Entering directory
`/fuckinghome/ruslan/stuff/2002/forums/php/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -D_POSI
X_PTHREAD_SEMANTICS -DSOLARIS2=280 -DRUSSIAN_APACHE -DMOD_DEFLATE -DUSE_EXPA
T -D_LARGEFILE
_SOURCE -D_FILE_OFFSET_BITS=64 -I../TSRM  -g -O2 -prefer-pic -c -o
zend_language_parser.lo
 `test -f zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
                 from zend_language_parser.c:147:
zend.h:55: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory
`/fuckinghome/ruslan/stuff/2002/forums/php/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
#

How can I have php compiled?
Thanks! Roman


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

        I have just downloaded the latest source of apache, php, mod_ssl and
mysql to build them all together. It can show the php page and can connect
to the mysql database, the only problem is all the php pages seem likes do
not response to the submit button, it just direct back to the same page and
cannot get the data pass to the php script. I have tried the "get " and
"post" method. It works with my older version of apache with php and also I
can submit data in the cgi-bin using the new apache. May anyone please help
me? Thanks in advance.

Terry


--- End Message ---
--- Begin Message ---
Make sure you have Register_Globals=On  in your php.ini file.  This is not
turned on by default when you compile php.


Thanks,
JT


-----Original Message-----
From: Terry Cheung [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 08, 2002 11:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php page is not working with "submit" action


Hi,

        I have just downloaded the latest source of apache, php, mod_ssl and
mysql to build them all together. It can show the php page and can connect
to the mysql database, the only problem is all the php pages seem likes do
not response to the submit button, it just direct back to the same page and
cannot get the data pass to the php script. I have tried the "get " and
"post" method. It works with my older version of apache with php and also I
can submit data in the cgi-bin using the new apache. May anyone please help
me? Thanks in advance.

Terry



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello,

I am trying to work with my hosting service to resolve a PHP issue.  I
need to be able to upload large files via PHP.  The provider change
upload_max_filesize to suit my needs, but they are telling me that
post_max_size does not exist in there php.ini file.  Is there anywhere
else this can be set?  Can they just add post_max_size=whatever to
php.ini?  phpinfo() reports that they are using php version 4.1.2.

Thanks.

-- 
Matthew Donadio ([EMAIL PROTECTED])
--- End Message ---
--- Begin Message ---
Hi:

I installed apache 1.3.26 and php 4.1.2 without problem. Then I restart
apache with no errors. Now I'm trying to test php by using a test script
(php_test.php) that I saved in /etc/local/apache/htdocs/.
The test script called the phpinfo function, like this:

<?php

phpinfo();

?>

When I try to access the php file from the browser 
http://127.0.0.1/php_test.php, I only see the script code,
but nothing happen. Looks like php is not working, even though
the start page index.html of apache (http://127.0.0.1) is
working fine.

Any suggestion...

Thanks in advanced

Alberto

--- End Message ---
--- Begin Message ---
Hi:

I installed apache 1.3.26 and php 4.1.2 without problem. Then I restart
apache with no errors. Now I'm trying to test php by using a test script
(php_test.php) that I saved in /etc/local/apache/htdocs/.
The test script called the phpinfo function, like this:

<?php

phpinfo();

?>

When I try to access the php file from the browser 
http://127.0.0.1/php_test.php, I only see the script code,
but nothing happen. Looks like php is not working, even though
the start page index.html of apache (http://127.0.0.1) is
working fine.

Any suggestion...

Thanks in advanced

Alberto

--- End Message ---
--- Begin Message ---
This has probably been answered before, and I've even helped other people figure out 
this problem, but I can't figure it out for the life of me.

I have Apache 1.3.26 + mod_ssl running PHP 4.2.1. Now, if I start Apache normally with 
apachectl start, everything seems to be fine. PHP works, but SSL does not.

If I start Apache with apachectl startssl, then SSL works but PHP does not. Instead, 
PHP wants to download the file - there's no parsing... However, all the right pieces 
are in place in the config file. I can't figure out why starting apache with 
"apachectl startssl" disables PHP... Help.

- Jonathan


--- End Message ---
--- Begin Message ---
I need to switch register_globals to On for some older scripts

I run php 4.2.1 on win 2000 and apache 1.3

My php.ini under c:\winnt\php.ini says
register_globals = On

When I run the phpinfo script.

Configuration File (php.ini) Path C:\WINNT\php.ini

                          local   master
register_globals   Off    Off

My php install seems to completely ignore the directive to turn
register_globals on in my php.ini file.




--- End Message ---
--- Begin Message ---
Figured out the problem.
Used notepad instead of a real text-editor and it was leaving some crap in
the file.

Gotta use ultraedit next time.

"Cm" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I need to switch register_globals to On for some older scripts
>
> I run php 4.2.1 on win 2000 and apache 1.3
>
> My php.ini under c:\winnt\php.ini says
> register_globals = On
>
> When I run the phpinfo script.
>
> Configuration File (php.ini) Path C:\WINNT\php.ini
>
>                           local   master
> register_globals   Off    Off
>
> My php install seems to completely ignore the directive to turn
> register_globals on in my php.ini file.
>
>
>
>


--- End Message ---
--- Begin Message ---
Hi,
I'm trying to compile a PHP4 with MySQL together..
I've compiled Apache together with no problems, but getting PHP compiled As 
DSO Modules with MySQL support is driving me nuts..
Somehow it is now working and I dont see the problem..

Thanks for the help.
Erik Bais



PHP Src directory.. : /usr/local/src/php-4.1.2
./configure --with-mysql=/usr --with-apxs2=/usr/local/apache2/bin/apxs 
--with-gd --with-bz2
Make <enter>
lots of text here
more text here
again text here
Here is the interesting stuf .. :
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.1.2/sapi'
Making all in apache2filter
make[2]: Entering directory `/usr/local/src/php-4.1.2/sapi/apache2filter'
make[3]: Entering directory `/usr/local/src/php-4.1.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.1.2/libtool --silent --mode=compile 
/usr/local/src/php-4.1.2/meta_ccld -I. 
-I/usr/local/src/php-4.1.2/sapi/apache2filter 
-I/usr/local/src/php-4.1.2/main -I/usr/local/src/php-4.1.2 
-I/usr/local/apache2/include -I/usr/local/src/php-4.1.2/Zend 
-I/usr/include/mysql -I/usr/local/src/php-4.1.2/ext/xml/expat -D_REENTRANT 
-I/usr/local/src/php-4.1.2/TSRM -g -O2 -pthread -DZTS -prefer-pic -c 
sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:58: too few arguments to function `apr_brigade_create'
sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create'
sapi_apache2.c: In function `php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards qualifiers from 
pointer target type
sapi_apache2.c: In function `php_apache_sapi_flush':
sapi_apache2.c:171: too few arguments to function `apr_brigade_create'
sapi_apache2.c:172: too few arguments to function `apr_bucket_flush_create'
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:245: too few arguments to function `apr_brigade_create'
sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade'
sapi_apache2.c:247: too few arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:311: too few arguments to function `apr_brigade_create'
sapi_apache2.c:366: too few arguments to function 
`apr_bucket_transient_create'
sapi_apache2.c:375: too few arguments to function `apr_bucket_eos_create'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:407: `AP_FTYPE_CONTENT' undeclared (first use in this function)
sapi_apache2.c:407: (Each undeclared identifier is reported only once
sapi_apache2.c:407: for each function it appears in.)
sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter' 
from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/sapi'
make: *** [all-recursive] Error 1


--- End Message ---
--- Begin Message ---
Ive installed all of my server and that running fine. Ive unziped a
distrabution from activestate.com perl package. I can get my scripts to work
fine by adding thsi to the first line.

#!c:/path/to/perl.exe

and they work no probs

but i thought i might have ad to add somthing to my apache config ? do i ?
or is this the norm

Thanks
Matt


--- End Message ---

Reply via email to