php-install Digest 17 Jun 2003 10:28:32 -0000 Issue 1426

Topics (messages 11092 through 11101):

PHP 4.2.3 fails to load...
        11092 by: NIPP, SCOTT V (SBCSI)
        11094 by: Jim Thome
        11096 by: NIPP, SCOTT V (SBCSI)

Re: is my php working
        11093 by: Cris Harrison
        11095 by: Cris Harrison

du whats this from and I am NOT stupid!!!!
        11097 by: Cris Harrison
        11098 by: Frederic Trudeau
        11099 by: Cris Harrison

newsletter
        11100 by: Doyle

apxs:Error: Unknown option: S
        11101 by: Viola, Gaetano Paolo

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 am trying to get PHP 4.2.3 working on a HP-UX 11.00 system that I
have had no luck getting 4.3.2 to work on.  The compile and everything went
great, but now Apache fails to start complaining about PHP.  Here is the
output of the Apache start...

[EMAIL PROTECTED]:/sbin/init.d> ./httpd start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec format
error
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Apache started.

        At this point, Apache is not actually running.  Any help would be
most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



--- End Message ---
--- Begin Message ---
You have to modify the apachectl script to get around the HPUX thread
local storage problem.

Add the following to your apachectl script under the 'START
CONFIGURATION SECTION':

export ORACLE_HOME=/path/to/oracle
export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH
export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
export
LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl


--
Jim

>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/16/03 12:52PM >>>
        I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system
that I
have had no luck getting 4.3.2 to work on.  The compile and everything
went
great, but now Apache fails to start complaining about PHP.  Here is
the
output of the Apache start...

[EMAIL PROTECTED]:/sbin/init.d> ./httpd start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
Storage:
/us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec
format
error
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Apache started.

        At this point, Apache is not actually running.  Any help would
be
most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED] 
Web:  http:\\ldsa.sbcld.sbc.com



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



--- End Message ---
--- Begin Message ---
        GREAT!!!  You 'da man.  This worked perfectly for me.  Thanks a
bunch.

-----Original Message-----
From: Jim Thome [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 2:45 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject: Re: [PHP-INST] PHP 4.2.3 fails to load...


You have to modify the apachectl script to get around the HPUX thread
local storage problem.

Add the following to your apachectl script under the 'START
CONFIGURATION SECTION':

export ORACLE_HOME=/path/to/oracle
export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH
export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
export
LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.s
l


--
Jim

>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/16/03 12:52PM >>>
        I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system
that I
have had no luck getting 4.3.2 to work on.  The compile and everything
went
great, but now Apache fails to start complaining about PHP.  Here is
the
output of the Apache start...

[EMAIL PROTECTED]:/sbin/init.d> ./httpd start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
Storage:
/us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec
format
error
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Apache started.

        At this point, Apache is not actually running.  Any help would
be
most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED] 
Web:  http:\\ldsa.sbcld.sbc.com



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



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

--- End Message ---
--- Begin Message --- At 12:03 AM 6/16/2003 +0300, BAO RuiXian wrote:
Hello, Merry,

Your php script works fine from my testing, and the result is as follows:

Today's date: Sunday June 15, 2003 Merry

I think there must be some settings unright in your php install.

Best

Bao

MerryE wrote:
I'm a beginner, I use windows me with apache 1.3 for my php.I had configure my apache with php.
I wrote this code and tried it out on my local host but the php code is not working.
<? $YourName = "Merry";
$Today = date("l F d, Y");
?>
<html>
<body>
Today's date:
<?
print("$Today\n");
print("$YourName");
?>
</body>
</html>
Istead of come out Today's date: Sunday June 14, 2003
Merry
The out put is only Today's date: only. Why? Can anyone help answer my problem?
Thank you
Merry

Merry please see www.phoenixcomm.net/~harrison/test3.php the code follows:

<?php $YourName = "Merry";
     $Today = date("l F d, Y");
?>


<html> <body> Today's date: <?php print("$Today\n"); print("$YourName"); ?> </body> </html>


Good Luck
Cris Harrison
"Sex, Drugs and UNIX"
[EMAIL PROTECTED]



--- End Message ---
--- Begin Message --- At 12:03 AM 6/16/2003 +0300, BAO RuiXian wrote:
Hello, Merry,

Your php script works fine from my testing, and the result is as follows:

Today's date: Sunday June 15, 2003 Merry

I think there must be some settings unright in your php install.

Best

Bao

MerryE wrote:
I'm a beginner, I use windows me with apache 1.3 for my php.I had configure my apache with php.
I wrote this code and tried it out on my local host but the php code is not working.
<? $YourName = "Merry";
$Today = date("l F d, Y");
?>
<html>
<body>
Today's date:
<?
print("$Today\n");
print("$YourName");
?>
</body>
</html>
Istead of come out Today's date: Sunday June 14, 2003
Merry
The out put is only Today's date: only. Why? Can anyone help answer my problem?
Thank you
Merry

Merry please see www.phoenixcomm.net/~harrison/test3.php the code follows:

<?php $YourName = "Merry";
     $Today = date("l F d, Y");
?>


<html> <body> Today's date: <?php print("$Today\n"); print("$YourName"); ?> </body> </html>


Good Luck
Cris Harrison
"Sex, Drugs and UNIX"
[EMAIL PROTECTED]



--- End Message ---
--- Begin Message --- Please check out this file www.phoenixcomm.net/~harrison/test3.php

I used the following code:


<?php $YourName = "Merry"; $Today = date("l F d, Y"); ?>


Today's date: <?php print("$Today\n"); print("$YourName"); ?>

Straight forward stuff? yea...
but after you out put the page:
its this:




<html>
<body>
Today's date:
Monday June 16, 2003
Merry<img src="http://insight_/http://www.phoenixcomm.net/~harrison/test3.php/in.gif"; border=0 width=0 height=0 ></body>
</html>



QUESTION:


where and what the H*** is the "<img src="http://insight_/http://www.phoenixcomm.net/~harrison/test3.php/in.gif"; border=0 width=0 height=0 >" line coming from?????????

I have looked at othe tests ie www.phoenixcomm.net/~harrison/test2/
and get the same stuff!!!!

HEEEEELLLLLP

Cris Harrison




--- End Message ---
--- Begin Message ---
Sorry, but the output of your thing works fine for me ... here is the source
I get

<html>
<body>
 Today's date:
Monday June 16, 2003
Merry</body>
</html>


---------------------------------------------------
Frederic Trudeau


----- Original Message ----- 
From: "Cris Harrison" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 4:13 PM
Subject: [PHP-INST] du whats this from and I am NOT stupid!!!!


> Please check out this file www.phoenixcomm.net/~harrison/test3.php
>
> I used the following code:
>
>
> <?php $YourName = "Merry";
>       $Today = date("l F d, Y");
> ?>
>
>
> Today's date:
> <?php
> print("$Today\n");
> print("$YourName");
> ?>
>
> Straight forward stuff? yea...
> but after you out put the page:
> its this:
>
>
>
>
> <html>
> <body>
>   Today's date:
> Monday June 16, 2003
> Merry<img
>
src="http://insight_/http://www.phoenixcomm.net/~harrison/test3.php/in.gif";
> border=0 width=0 height=0 ></body>
> </html>
>
>
> QUESTION:
>
> where and what the H*** is the "<img
>
src="http://insight_/http://www.phoenixcomm.net/~harrison/test3.php/in.gif";
> border=0 width=0 height=0 >" line coming from?????????
>
> I have looked at othe tests ie www.phoenixcomm.net/~harrison/test2/
> and get the same stuff!!!!
>
> HEEEEELLLLLP
>
> Cris Harrison
>
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--- End Message ---
--- Begin Message --- OK I guess I am stupid.... this is a friends computer and they are a "Neilson family" what i gather is that every page i read this is appended to it... for "TRACKING"

Sorry


At 04:42 PM 6/16/2003 -0400, Frederic Trudeau wrote:


Sorry, but the output of your thing works fine for me ... here is the source
I get

Today's date: Monday June 16, 2003 Merry

---------------------------------------------------
Frederic Trudeau


----- Original Message ----- From: "Cris Harrison" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 4:13 PM Subject: [PHP-INST] du whats this from and I am NOT stupid!!!!


> Please check out this file www.phoenixcomm.net/~harrison/test3.php > > I used the following code: > > > <?php $YourName = "Merry"; > $Today = date("l F d, Y"); > ?> > > > Today's date: > <?php > print("$Today\n"); > print("$YourName"); > ?> > > Straight forward stuff? yea... > but after you out put the page: > its this: > > > > > <html> > <body> > Today's date: > Monday June 16, 2003 > Merry<img > src="http://insight_/http://www.phoenixcomm.net/~harrison/test3.php/in.gif"; > border=0 width=0 height=0 ></body> > </html> > > > QUESTION: > > where and what the H*** is the "<img > src="http://insight_/http://www.phoenixcomm.net/~harrison/test3.php/in.gif"; > border=0 width=0 height=0 >" line coming from????????? > > I have looked at othe tests ie www.phoenixcomm.net/~harrison/test2/ > and get the same stuff!!!! > > HEEEEELLLLLP > > Cris Harrison > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >


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


Trust in The Lord with all your heart and lean not on your own understanding,
acknowledge the Lord in all your ways and He will guide your path! 
http://www.skynote.com








--- End Message ---
--- Begin Message ---
Hy,
I've a problem during installation of php 4.0.6 whit apache 1.3.6 on a Sun Blade 100 
whit SunOs 5.8, I've followed the step of the php manual downloaded from php.net, I've 
re-compilated Apache whit success, my problen is during compilation of Php, in detail 
after the "configure" and "make" command whitout problem, when I launch the "make 
install" command and I receive that:

...
Making install in TSRM
Making install in regex
Making install in .
/tmp/php-4.0.6/build/shtool mkdir -p "/www/libexec" && /www/bin/apxs -S 
LIBEXECDIR="/www/libexec" -i -a -n php4 libs/libphp4.so
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
       apxs -q <query> ...
       apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
               [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
               <files> ...
       apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
*** Error code 1
make: Fatal error: Command failed for target `install-sapi'
Current working directory /tmp/php-4.0.6
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'

Thanks 
        Gaetano

This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the sender 
immediately and delete the original. Any other use of the email by you is prohibited.


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
su www.tim.it puoi iscriverti gratis alle TIMNews, un modo rapido e tempestivo per 
conoscere le ultime novità di TIM.
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


--- End Message ---

Reply via email to