php-install Digest 8 Jul 2002 13:40:06 -0000 Issue 922

Topics (messages 7643 through 7650):

Re: help installing PHP
        7643 by: toby -

Part 2: php_functions.c:93: parse error
        7644 by: leandro asnaghi-nicastro

php4 on win2000 and apache1.3
        7645 by: CM

Re: php 4.2.1 /apache 2.0.36 sessions problems
        7646 by: Benjamin Michotte

PHP configure not reconizing options
        7647 by: abdel.ramli.mpsa.com

Re: libphp4.so: undefined symbol: pam_start
        7648 by: Michiel Lange

Re: undefined symbol: pcre_malloc
        7649 by: Michiel Lange

error making php
        7650 by: abdel.ramli.mpsa.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 ---



hi david
try 3 things ....

first try to include ur server name in the path
like http:\\localhost\shaggy\info.php
shaggy is ur servername exmpl

second ....try to save ur "info.php" like this ... inside quotes

3rd ....
check if ur apache is running while u try to load ur page ....
control pannel -> adminidtrativeTools -> services
the only program/service thst SHOULD be running is ur apache server


good luck ....

toby ......






_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

--- End Message ---
--- Begin Message ---
Howdy.

Reading on the list the many problems that people seem to have, I 
tried thinkering with the options some more.  I added the following to 
my configure:

./configure  --without-mysql  --with-apxs2=/home/httpd/bin/apxs

The:

--without-mysql

Is the addition.  I wanted to see if that made a difference.

Unfortunately, it doesn't.  I still run into the same problem:

/bin/sh /root/php-4.2.1/libtool --silent --mode=compile gcc  -I. -
I/root/php-4.2.1/sapi/apache2filter -I/root/php-4.2.1/main -I/root/php-
4.2.1 -I/home/httpd/include -I/root/php-4.2.1/Zend -I/root/php-
4.2.1/ext/xml/expat  -D_REENTRANT -I/root/php-4.2.1/TSRM -g -O2 -
pthread -DZTS -prefer-pic  -c php_functions.c
php_functions.c:93: parse error
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

Any suggestions?  I'm running the latest Apache2 and the latest PHP4 
on Slackware 2.2.16.

So far, sadly, I've seen more problems posted on the list than 
answers, so I hope--in a way--that this is just a problem with this 
current release of PHP.

Thanks.

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 ---
I'm having trouble installing php on win2000 and apache1.3
It seems to work but only some of the basic functions.  If I pass a submit a
form and try to grab the variables i get errors "Undefined variable  XXXX"
(I know these scripts work because they work on a different server)

Here's what I've done so far
Extracted the PHP zip file to c:\php

Added the following dlls to c:\winnt\system32\
php4ts.dll

Editied my php.ini file under c:\winnt\
------------
doc_root= "C:/Program Files/Apache Group/Apache/htdocs"
extension_dir = "c:/php/extensions/"
I was going to uncomment some of the extension=*.dll entries in php.ini but
I got tons of errors when I tried that

Added the following to my apache httpd.conf file
-----------
ScriptAlias /php/ "C:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"

LoadModule php4_module c:/php/sapi/php4apache.dll


Am I missing anything?  I've tried looking everywhere for a easy to follow
setup for php and apache1.3 for windows but everyone I read is different



--- End Message ---
--- Begin Message ---
On Sun, 2002-07-07 at 21:34, Benjamin Michotte wrote:
> hello,
> 
> I've just installed php 4.2.1 and apache 2.0.36 both on my workstation
> and my server's one.

I forgot to add my phpinfo, so it's
http://binny.dyndns.org/index.php?info=1

> 
cu,
binny

-- 

default: assert(1==0); /* autant dire que j'ai pas envie que ca arrive
*/
  -- pouaite, code de wmcoincoin

Benjamin Michotte        <[EMAIL PROTECTED]>
web      : http://www.baby-linux.net
homepage : http://www.baby-linux.net/binny
icq uin  : 99745024
--- End Message ---
--- Begin Message ---

 Hi all,

I'ld be very grateful if u could consider the following blocking error
message I keep getting when configuring apache :

Running RedHat with Apache 2 I keep getting unkown option when I launch
./configure with any of its option (--prefix, --with-apxs and so on)
The compile afterward goes ok but my options are simply ignored

Can anyone help  ?

Thanx a lot




                         \\\___///
                         \\  _ _  //
                       (  @ @  )
+-------------------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        (  )
                       (  )         )/
                        \(         (_)
                        (_)


                                                                                       
                            
                    Benjamin                                                           
                            
                    Michotte             Pour :  [EMAIL PROTECTED]             
                            
                    <binny@baby-li       cc :                                          
                            
                    nux.net>             Objet : Re: [PHP-INST] php 4.2.1 /apache 
2.0.36 sessions problems         
                                                                                       
                            
                    08/07/2002                                                         
                            
                    10:03                                                              
                            
                                                                                       
                            
                                                                                       
                            




On Sun, 2002-07-07 at 21:34, Benjamin Michotte wrote:
> hello,
>
> I've just installed php 4.2.1 and apache 2.0.36 both on my workstation
> and my server's one.

I forgot to add my phpinfo, so it's
http://binny.dyndns.org/index.php?info=1

>
cu,
binny

--

default: assert(1==0); /* autant dire que j'ai pas envie que ca arrive
*/
  -- pouaite, code de wmcoincoin

Benjamin Michotte        <[EMAIL PROTECTED]>
web      : http://www.baby-linux.net
homepage : http://www.baby-linux.net/binny
icq uin  : 99745024

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




--- End Message ---
--- Begin Message ---
check wether or not libphp4.so is in one of the paths defined in
/etc/ld.so.conf

if so, run ldconfig
Greetings,
Michiel Lange

"Alejandro Moreno" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Linux
> Apache 1.3.19
> PHP 4.1.2 INSTALLED as a server module (by me, with no problems)
>
> Trying to install version 4.2.1, I finally got the configuration right:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs
> --with-mysql=/usr/local/mysql --enable-sysvsem --enable-track-vars
> --with-jpeg-dir=/usr/local/bin --with-imap
> --with-imap-ssl=/usr/local/ssl --enable-trans-sid --with-xml
>
> 'make' worked ok, and 'make install' too. I stopped apache, and then:
>
> # /usr/local/apache/bin/apachectl start
> Syntax error on line 236 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: pam_start
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
>
> I thought tihs was something that version 4.2.1 used, so I decided to
> cancel my php update until I found out more about this.
>
> Thus, I decided to re-install version 4.1.2...
> And got the same result:
>
> # /usr/local/apache/bin/apachectl start
> Syntax error on line 236 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: pam_start
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
>
> I checked out PAM a bit, and found it too daunting, but what I really
> want to know is, how come I could install php 4.1.2 with no problems
> whatsoever and then have this problem while re-installing it?
>
> This is a server I'm talking about, and now its web server is down. I
> know, I could comment the lines that load the php module, but I /need/
> php.
>
> Please help. I have no idea what has happened to my box, and I don't
> want to kill it by installing PAM incorrectly (if indeed that would fix
> anything).
>
>
> AlexM.
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com


--- End Message ---
--- Begin Message ---
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
>


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

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        (  )
                       (  )         )/
                        \(         (_)
                        (_)

--- End Message ---

Reply via email to