|
|
Subject: Re: is my php working - msg#00106
List: php.install
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"
webmaster@xxxxxxxxxxxxxxx
--
PHP Install Mailing List ( http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: 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.sl
--
Jim
>>> "NIPP, SCOTT V (SBCSI)" <sn4265@xxxxxxx> 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...
root@stanley:/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: sn4265@xxxxxxx
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
Next Message by Date:
click to view message preview
RE: PHP 4.2.3 fails to load...
GREAT!!! You 'da man. This worked perfectly for me. Thanks a
bunch.
-----Original Message-----
From: Jim Thome [mailto:jthome@xxxxxxxxx]
Sent: Monday, June 16, 2003 2:45 PM
To: php-install@xxxxxxxxxxxxx; 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)" <sn4265@xxxxxxx> 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...
root@stanley:/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: sn4265@xxxxxxx
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
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Previous Message by Thread:
click to view message preview
Re: is my php working
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"
webmaster@xxxxxxxxxxxxxxx
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Thread:
click to view message preview
Compiling PHP 4.3.2 on IRIX 5.3
Hi everybody,
I'm trying to compile PHP 4.3.2 on a IRIX 5.3 System. I use the native
compiler of IRIX together with bison 1.25 (maybe it should be a 1.30) and
flex 2.5.4.
Compiling stops with the message:
ld:
Can't open: main/php_scandir (No such file or directory)
I've checked it. Its true, There are only php_scandir.h and php_scandir.c in
the main directory. I've tried to compile php_scandir.c alone but it won't
work because php_scandir.c doesn't include a main().
To compile the build I made
./configure --with-apache=my/path/to/apache (because I'm willing to use a
static build)
make
Does someone have an idea what I need to change? Or do I need some
additional programs ( I haven't installed all GNU stuff yet, because it's a
lot of work compiling each program for IRIX 5.3)
Thanks,
Aaron Wittmann
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
|