php-install Digest 1 Aug 2002 19:54:16 -0000 Issue 958

Topics (messages 7968 through 7981):

Error compiling PHP with OpenSSL
        7968 by: jim

Re: help with a simple php script!
        7969 by: toby -
        7970 by: Jeffrey_N_Dyke.Keane.com
        7972 by: toby -
        7973 by: Jeffrey_N_Dyke.Keane.com
        7974 by: toby -

PHP on Apache alongside IIS?
        7971 by: Alban Schmid

Apache with PHP DSO hangs on start
        7975 by: Keough Dean

PHP 4.0.5 AND 4.2.2 on one Server?
        7976 by: Patrick Meisel
        7977 by: Bob Lockie
        7979 by: Jeffrey_N_Dyke.Keane.com

PHP Warning: Failed opening...
        7978 by: Roger Poore

Re: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users
        7980 by: Jay Blanchard

[php-objects] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users
        7981 by: Martin Clifford

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'm trying to compile PHP on Solaris using:

./configure \

--with-apxs=/usr/local/apache/bin/apxs \

--with-mysql \

--with-sybase=/usr/local/freetds \

--with-gd \

--enable-gd-native-ttf \

--with-curl \

--enable-ftp \

--with-mcrypt \

--with-snmp \

--with-ucd-snmp-hack \

--with-openssl=/usr/local/ssl



I have done this before with earlier versions of OpenSSL successfully, but
having upgraded OpenSSL I cannot get PHP to compile. I get the error:



/usr/local/sparc-sun-solaris2.8/bin/ld: .libs/libphp4.so: undefined
versioned symbol name des_encrypt1@@SUNWprivate_1.1

/usr/local/sparc-sun-solaris2.8/bin/ld: failed to set dynamic section sizes:
Bad value

collect2: ld returned 1 exit status

make[1]: *** [libphp4.la] Error 1

make[1]: Leaving directory `/opt/php-4.2.2'

make: *** [all-recursive] Error 1



Versions of software:

openssl: 0.9.6.d

Solaris: 8

PHP: 4.2.2



Googling shows some possible issues I've tried to work around but I still
get same error.

Any suggestions?



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

daniel

locate ur php.ini file (should b in ur windows folder)
then look for register globals
turn it ON  ! ! !  !

good luck ....

toby .....

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

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

don't turn register globals on....read this...and other article's like it.
don't expose yourself to a documented vulnerability just to make easy code.

http://www.php.net/manual/en/security.registerglobals.php#security.registerglobals




                                                                                       
                                  
                    "toby -"                                                           
                                  
                    <figaromagnifico@ho       To:     [EMAIL PROTECTED]            
                                  
                    tmail.com>                cc:     [EMAIL PROTECTED]        
                                  
                                              Subject:     Re: [PHP-INST] help with a 
simple php script!                 
                    08/01/2002 07:42 AM                                                
                                  
                                                                                       
                                  
                                                                                       
                                  





daniel

locate ur php.ini file (should b in ur windows folder)
then look for register globals
turn it ON  ! ! !  !

good luck ....

toby .....

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


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




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



jeff pal ....
theres jst this pessssky lil rpoblem

i ve it turned ON ....

n my site .... on which ive been workin since feb is supposed to b UP lata 
THIS week :'( ......

aab kya karoon ?????

what shall i do now :'( ??????


lost ......

toby ......


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

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

if you need to leave them on then you need to, and change them over
time....but remember that you can always use the following... depending on
your version of PHP.

$_GET['varName'] or $HTTP_GET_VARS['varName']
$_POST['varName'], or $HTTP_POST_VARS['varName']
$_SESSION['varName'], or $HTTP_SESSION_VARS['varName']
$_COOKIE['varName'], or $HTTP_COOKIE_VARS['varName']
$_SERVER['varName']. or $HTTP_SERVER_VARS['varName']

the HTTP_ version has been deprecated, so if your build supports it, use
the $_POST etc....

It is a great effort, i had to make it as well.

Good Luck and I hope this helps.
Jeff




                                                                                       
                                  
                    "toby -"                                                           
                                  
                    <figaromagnifico@ho       To:     [EMAIL PROTECTED]         
                                  
                    tmail.com>                cc:     [EMAIL PROTECTED], 
[EMAIL PROTECTED]                   
                                              Subject:     Re: [PHP-INST] help with a 
simple php script!                 
                    08/01/2002 09:20 AM                                                
                                  
                                                                                       
                                  
                                                                                       
                                  







jeff pal ....
theres jst this pessssky lil rpoblem

i ve it turned ON ....

n my site .... on which ive been workin since feb is supposed to b UP lata
THIS week :'( ......

aab kya karoon ?????

what shall i do now :'( ??????


lost ......

toby ......


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


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




--- End Message ---
--- Begin Message ---
thnx jeff ....

but im still stuck .....

i ve a billion variables ......

how do i change em ALL ..... :'( .....

aint there an easyer way ????

n no dream weaver pleez .....
it fills up my code with soooo much of junk that da poor script refuses to 
run :S ....



sighing .....
toby .........

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--- End Message ---
--- Begin Message ---
I already have installed PHP properly on my win2K server running IIS
For details, you can check:

http://195.202.209.41/PHP/phpinfo.php

I also installed Apache on port 8080, and it is running OK:

http://195.202.209.41:8080/


The problem is when I try to load the PHP .dll in httpd.conf;
When I uncomment following lines:

#LoadModule php4_module c:/php/sapi/php4apache2.dll
#AddModule mod_php4.c

I cannot restart the Apache service anymore.

**************

Conclusion: is it possible to run PHP on Apache alongside IIS and if
yes, how shall I proceed?

Thanks for your insights.




--
Alban Schmid
[EMAIL PROTECTED]


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

On a Tru64 system, I built a custom PHP extension and compiled it into PHP
4.2.2 without any problems. I built Apache 1.3.24 and enabled dso support,
also without any problems. I verified that Apache is configured to load the
PHP module, but when I try to start Apache, it just hangs and never starts
up completely. The command prompt never returns and only a single httpd
process is running (there should be 6). Also the logs/httdp.pid file is
never created. There are absolutely no errors written anywhere -- not to the
screen, not in logs/error_log, and not by syslog.

I've tried everything I can think of (see below). If anyone has any ideas
for me, that would be great.


Here are some more details about my settings and the things I've already
tried:

I know that my PHP extension works properly because I built and tested it
with a command-line version of PHP.

Apache starts up properly when I remove my PHP extension from the PHP build.

I've tried running the httpd binary directly, as opposed to using the
apachectl script, same problem. httpd -X also has the same problem.
apachectl configtest gives "Syntax OK". httpd -l lists mod_so.c, as
expected. (I'm not running as root, but that shouldn't matter since I'm not
using a port below 1024).

I built a debug version of Apache, started it in dbx and was able to get the
following stack trace:
(dbx) where
>  0 __accept(0x2, 0x5, 0x120038228, 0x140034018,
0x12002f3c8)[0x3ff800de2a8]
   1 child_main(child_num_arg = 0) ["http_main.c":4342, 0x12002f5e8]
   2 make_child(s = 0x140028860, slot = 0, now = 1028135337)
["http_main.c":4685, 0x12002fb88]
   3 startup_children(number_to_start = 5) ["http_main.c":4767, 0x12002fd60]
   4 standalone_main(argc = 2, argv = 0x11fffa018) ["http_main.c":5072,
0x1200305d0]
   5 main(argc = 2, argv = 0x11fffa018) ["http_main.c":5417, 0x120030f2c]

It looks like Apache is hanging at the point where it spawns the child
processes. Maybe someone familiar with the Apache start-up routines could
tell me more.

Some of my httdp.conf file settings:
LoadModule php4_module        libexec/libphp4.so
AddType application/x-httpd-php .php
Port 8080
User nobody
Group nobody
StartServers 5
LogLevel debug

My PHP configure options:
configure --prefix=/home/php/php-4.2.2 \
    --with-apxs=/home/apache/apache_1.3.24/bin/apxs \
    --with-oracle=/usr/oracle/sys/ora816 \
    --with-oci8=/usr/oracle/sys/ora816 \
    --with-myExtension=/home/myExtension \
    --enable-sigchild \
    --enable-trans-sid

My Apache configure options:
./configure --prefix=/home/apache/apache_1.3.24 \
   --with-layout=Apache \
   --enable-module=so

I'm running Tru64 Unix version 5.1

Again, any help would be greatly appreciated.

Thanks,
Dean Keough









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

for compatibility reasons I need to install two versions of php (both 
have to be the apache_module version) on one server.
I canīt really think of a way to do this and couldnīt find anything in 
the archive or docs, although this must be a common problem. Can anyone 
give me a hint on how to do it?

Thanks in advance,

Patrick


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

>Hi,
>
>for compatibility reasons I need to install two versions of php (both
>have to be the apache_module version) on one server.
>I canīt really think of a way to do this and couldnīt find anything in
>the archive or docs, although this must be a common problem. Can anyone
>give me a hint on how to do it?

Install 2 web servers.
You may be able to do it with virtual host directives in 1 server.
Name the shard object files different names.



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

I'd say you'll have to go with two servers with an identical setup.  As far
as i am aware, Virtual hosting can't help you here especially since you
have to run apache_modules as opposed to cgi's.  You could do it with
cgi's. ...split the box and install apache on both sides.  I have a box
running currently with three apaches on it, for different reasons.  There
didn't seem to be a way around it.  but if you find one, that is not held
together by glue...i'd love to hear about it.


                                                                                       
                             
                    Patrick Meisel                                                     
                             
                    <p.meisel@com.       To:     [EMAIL PROTECTED]             
                             
                    plete.net>           cc:                                           
                             
                                         Subject:     [PHP-INST] PHP 4.0.5 AND 4.2.2 
on one Server?                 
                    08/01/2002                                                         
                             
                    02:16 PM                                                           
                             
                                                                                       
                             
                                                                                       
                             




Hi,

for compatibility reasons I need to install two versions of php (both
have to be the apache_module version) on one server.
I canīt really think of a way to do this and couldnīt find anything in
the archive or docs, although this must be a common problem. Can anyone
give me a hint on how to do it?

Thanks in advance,

Patrick



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




--- End Message ---
--- Begin Message ---
I'm trying to install PHPBB (http://www.phpbb.com) on top of a new PHP
4.2.2 install on a Windows 2000 server (up to date).  Truthfully, I
don't know if this is a PHP problem or PHPBB problem but, nonetheless,
it's annoying the heck out of me.

Anyway, PHP seems to be working (running phpinfo() returns results that
look normal).  However, when I fire up my phpbb web site, I get the
following:

PHP Warning: Failed opening './extension.inc' for inclusion
(include_path='.;c:\php4\pear') in
E:\InetPub\WWW_webpath\forums\index.php on line 25 PHP Notice: Undefined
variable: phpEx in E:\InetPub\WWW_webpath\forums\index.php on line 26
PHP Warning: Failed opening './common.' for inclusion
(include_path='.;c:\php4\pear') in
E:\InetPub\WWW_webpath\forums\index.php on line 26 PHP Fatal error: Call
to undefined function: session_pagestart() in
E:\InetPub\WWW_webpath\forums\index.php on line 31

Poking around on deja, I tried changing the include_path directive in
php.ini to point to the php\pear directory to no avail---same error,
different path.

Now, I know that PHPBB will work on a Windows server running PHP 4.2
because I've set it up on my web providers web server (PHP was already
set up by them).  It worked fine.  Unfortunately, I don't have access to
go poking around to see the differences.  Phpinfo() returns similar
results on that server and the one I'm trying to set up.

Any help is greatly appreciated.

Thanks
 -Roger



--- End Message ---
--- Begin Message ---
Well, the predictions have come true. In San Antonio only four folks signed
up for the meetup, and the event was cancelled with no way to get in touch
with the other local developers to make a go of it. Out of the 147 cities
listed only 15 had enough people for meetup.com to do their thing. A noble
idea, but ...

I want to encourage developers to farm PHP developer groups in their own
communities. Some may find that their community already has a users group (a
list is available at http://www.phpusergroups.org) although some of these
groups are not really groups at all, just people looking to form groups.

If you live in the San Antonio area I would be glad to be the
chief-wrangler-whats-in-charge for just such a group. Please contact me
directly. I am also working on a Texas PHP Developer Conference at the
beautiful T Bar M Resort & Conference Center in New Braunfels, Texas
sometime between January and April of 2003. I have begun contacting
potential speakers and hope to have people who wish to present papers at the
conference as well as do some other fun activities such as a high or low
ropes course, golf, tennis, etc. All suggestions and admonitions are
welcome. Everyone in Texas is invited to contact me so that I can dispurse
further information. Also, my contact at T Bar M says, "The more, the
cheaper ... " as discounts for larger groups are available. Heck, even if
you don't live in Texas but would be interested in attending drop me a line
and I'll keep you up to date.

Thanks!

Jay

It’s as bad as you think, and they are out to get you.

***************************************
*                                     *
* Texas PHP Developers Meeting        *
* Spring 2003                         *
* T Bar M Resort & Conference Center  *
* New Braunfels, Texas                *
* Interested? Contact;                *
* [EMAIL PROTECTED] *
*                                     *
***************************************


--- End Message ---
--- Begin Message ---
I'm definately interested, even though I'll most likely be in MN at the time.  I've 
never even MET another PHP developer, so I don't know what to expect, but I'd sure 
love to be updated :o)

Martin

>>> [EMAIL PROTECTED] 08/01/02 03:21PM >>>
Well, the predictions have come true. In San Antonio only four folks signed
up for the meetup, and the event was cancelled with no way to get in touch
with the other local developers to make a go of it. Out of the 147 cities
listed only 15 had enough people for meetup.com to do their thing. A noble
idea, but ...

I want to encourage developers to farm PHP developer groups in their own
communities. Some may find that their community already has a users group (a
list is available at http://www.phpusergroups.org) although some of these
groups are not really groups at all, just people looking to form groups.

If you live in the San Antonio area I would be glad to be the
chief-wrangler-whats-in-charge for just such a group. Please contact me
directly. I am also working on a Texas PHP Developer Conference at the
beautiful T Bar M Resort & Conference Center in New Braunfels, Texas
sometime between January and April of 2003. I have begun contacting
potential speakers and hope to have people who wish to present papers at the
conference as well as do some other fun activities such as a high or low
ropes course, golf, tennis, etc. All suggestions and admonitions are
welcome. Everyone in Texas is invited to contact me so that I can dispurse
further information. Also, my contact at T Bar M says, "The more, the
cheaper ... " as discounts for larger groups are available. Heck, even if
you don't live in Texas but would be interested in attending drop me a line
and I'll keep you up to date.

Thanks!

Jay

It's as bad as you think, and they are out to get you.

***************************************
*                                     *
* Texas PHP Developers Meeting        *
* Spring 2003                         *
* T Bar M Resort & Conference Center  *
* New Braunfels, Texas                *
* Interested? Contact;                *
* [EMAIL PROTECTED] *
*                                     *
***************************************



Look here for Free PHP Classes of objects:
http://phpclasses.UpperDesign.com/ 
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



--- End Message ---

Reply via email to