php-install Digest 19 Oct 2001 01:18:19 -0000 Issue 512

Topics (messages 4655 through 4662):

Re: PHP and HP-UNix
        4655 by: Brian Mauter
        4657 by: Jim Thome

Re: How to Run PHP.
        4656 by: Paul Gardiner

[php-list] PHP not working correctly
        4658 by: laura varney

pb with installation PHP4.0.6, iPlanet 6.0, Solaris8
        4659 by: Sebastien Crespel
        4660 by: Sebastien Crespel

Problem in Installation PHP4
        4661 by: Luis Espoladore

Don't Miss Out!!
        4662 by: Wealth_tips.success_co.au ()

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]


----------------------------------------------------------------------


Hi, I think the reason behind all of this is that I cannot find where in the
httpd.conf file you actually reference the module.  You should have these
two lines in conf file somewhere:
LoadModule php_module    lib/modules/lib_php4.so
AddModule mod_php4.c

You'll see sections near the top.  Verify that the files do exist in those
paths and then put each line in the similar section (preferably at the end
of each section), then restart Apache.  You should then be set.

Good luck,
-Brian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 7:19 AM
To: Brian Mauter
Subject: RE: PHP and HP-UNix


Hi Brian,

Please find attached my httpd.conf file.

Thanks for the idea.

Andrew

Quoting Brian Mauter <[EMAIL PROTECTED]>:

> Why don't you include your httpd.conf file?  I'm betting that there is
some
> small error in it that is preventing it from working for you.
>
> -Brian
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 17, 2001 3:40 PM
> To: [EMAIL PROTECTED]
> Subject: PHP and HP-UNix
>
>
> Hello,
>
> If anyone has PHP 4.04 was statically or dynamically installed with Apache
> ver
> 1.3.20 on HP-Unix could you let me know. The reason being is I am still
> trying
> to figure out why PHP is not being interpreted (basically no PHP commands
> work)
> even though Apache and PHP were complied was succesfully.
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Andrew
>





Andrew-

Did you run apxs after compiling PHP as a DSO?  Does your httpd.conf file reflect the 
DSO or static binary compile?  Also be aware the HP-UX does not support thread local 
storage so a PHP/Oracle configuration will not work if compiled as a DSO (must be a 
static binary).

FYI-  HP is due to release HP-Apache 2.0 which will greatly simplify the deployment of 
Apache/PHP/SSL (and Oracle) on HPUX.

-Jim

<<< "Brian Mauter" <[EMAIL PROTECTED]> 10/18  6:34a >>>
Hi, I think the reason behind all of this is that I cannot find where in the
httpd.conf file you actually reference the module.  You should have these
two lines in conf file somewhere:
LoadModule php_module    lib/modules/lib_php4.so
AddModule mod_php4.c

You'll see sections near the top.  Verify that the files do exist in those
paths and then put each line in the similar section (preferably at the end
of each section), then restart Apache.  You should then be set.

Good luck,
-Brian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 7:19 AM
To: Brian Mauter
Subject: RE: PHP and HP-UNix


Hi Brian,

Please find attached my httpd.conf file.

Thanks for the idea.

Andrew

Quoting Brian Mauter <[EMAIL PROTECTED]>:

> Why don't you include your httpd.conf file?  I'm betting that there is
some
> small error in it that is preventing it from working for you.
>
> -Brian
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 17, 2001 3:40 PM
> To: [EMAIL PROTECTED]
> Subject: PHP and HP-UNix
>
>
> Hello,
>
> If anyone has PHP 4.04 was statically or dynamically installed with Apache
> ver
> 1.3.20 on HP-Unix could you let me know. The reason being is I am still
> trying
> to figure out why PHP is not being interpreted (basically no PHP commands
> work)
> even though Apache and PHP were complied was succesfully.
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Andrew
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]






Hi Archer,

Try editing your httpd.conf file with something like below. Change drive
letter/paths to suit your installation and then restart apache. Also I'm
assuming your php files have the .php extension?

Regards,
- Paul -

# PHP4 Start
ScriptAlias /php4/ "e:/program files/php4/"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php4/php.exe"
# PHP4 End

----- Original Message -----
From: "Archer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 10:09 AM
Subject: [PHP-INST] How to Run PHP.


> Hello,
>
>
>         Hi, Im stuying PHP but I dont know how to make it run.
> my operating system is Windows NT and I have a Apache running version 1.3
> then i have some samples code for PHP like.
>
> <HTML>
> <HEAD>
> <TITLE>Figure 1-1</TITLE>
> </HEAD>
> <BODY>
> Today's Date: <? print(Date("l F d, Y")); ?>
> </BODY>
> </HTML>
>
>
> but no Date will display and only "Today's Date" is possible.
> please help me to solve my problem.
>
> Please make it specific because Im new to this PHP.
>
>
> Thakns,
> Archer
>




Hi

I have PWS working and i have PHP installed but when i try to view a page (php.php) it 
will not complete the php commands, my files is this:
<HTML>
<body>
<?php phpinfo();?>
<?php print "Hello"; ?>world
</body>
</HTML>
IE only displays world

I have checked PHP is working correctly.
Please Help
Laura




Hi,

I have problem runnin PHP 4.07 with iPlanet Enterprise server 6.0 on
Sparc Solaris 8 :

PHP was compile with gcc using the following options for configure:

./configure --with-nsapi=/opt/netscape/ns-http60/ --enable-track-vars
--e
nable-libgcc

No error during compilation or installation.

php.ini-dist copied in /usr/local/lib/php.ini

For iPlanet Enterprise server 6.0 here are the changes made :

Added in magnus.conf (it seems to be the new location for it) :
Init fn="load-modules" shlib="/opt/netscape/ns-http60/bin/libphp4.so"
funcs="php
4_init,php4_close,php4_execute,php4_auth_trans"
Init fn="php4_init" LateInit="yes"

Added in obj.conf :
<Object name=default>
...
Service type="magnus-internal/jsp" fn="NSServletService"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
...
</Object>
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"
</Object>

magnus-internal/x-httpd-php mime type added in mime.types.

Here is the error log, as i try to access a simple php script, the HTTP
server crashes and
is respawn by the watchdog process, with the following logs :

[18/Oct/2001:17:37:18] failure (10296): Child process admin thread is
shutting d
own
[18/Oct/2001:17:37:19] info (10301): Installing a new configuration
[18/Oct/2001:17:37:19] info (10301): [LS ls1] http://fly.net.fdj.fr,
port 80 rea
dy to accept requests
[18/Oct/2001:17:37:19] info (10301): A new configuration was
successfully instal
led
[18/Oct/2001:17:37:19] info (10301): Loading IWSSessionManager by
default.
[18/Oct/2001:17:37:19] info (10301): IWSSessionManager: Maximum number
of sessio
ns is 1000
[18/Oct/2001:17:37:19] info (10301): php4_init reports: Initialized PHP
Module

[18/Oct/2001:17:37:20] info (10301): Successfully initialized web
application en
vironment (web-apps.xml) for virtual server (https-fly.net.fdj.fr)
[18/Oct/2001:17:37:20] warning (10301): The server configuration may
require mor
e file descriptors than the operating system provides.  If you encounter
PR_PROC
_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating
system har
d file descriptor limit from 1024 to 5763 (see your operating system
documentati
on) or decrease one or more of the following settings: MaxFiles in
nsfc.conf and
 ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf.

Do you have a clue for me ?

Thanks,
 Seb.





Hi,

I have problem runnin PHP 4.07 with iPlanet Enterprise server 6.0 on
Sparc Solaris 8 :

PHP was compile with gcc using the following options for configure:

./configure --with-nsapi=/opt/netscape/ns-http60/ --enable-track-vars
--e
nable-libgcc

No error during compilation or installation.

php.ini-dist copied in /usr/local/lib/php.ini

For iPlanet Enterprise server 6.0 here are the changes made :

Added in magnus.conf (it seems to be the new location for it) :
Init fn="load-modules" shlib="/opt/netscape/ns-http60/bin/libphp4.so"
funcs="php
4_init,php4_close,php4_execute,php4_auth_trans"
Init fn="php4_init" LateInit="yes"

Added in obj.conf :
<Object name=default>
...
Service type="magnus-internal/jsp" fn="NSServletService"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
...
</Object>
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"
</Object>

magnus-internal/x-httpd-php mime type added in mime.types.

Here is the error log, as i try to access a simple php script, the HTTP
server crashes and
is respawn by the watchdog process, with the following logs :

[18/Oct/2001:17:37:18] failure (10296): Child process admin thread is
shutting d
own
[18/Oct/2001:17:37:19] info (10301): Installing a new configuration
[18/Oct/2001:17:37:19] info (10301): [LS ls1] http://fly.net.fdj.fr,
port 80 rea
dy to accept requests
[18/Oct/2001:17:37:19] info (10301): A new configuration was
successfully instal
led
[18/Oct/2001:17:37:19] info (10301): Loading IWSSessionManager by
default.
[18/Oct/2001:17:37:19] info (10301): IWSSessionManager: Maximum number
of sessio
ns is 1000
[18/Oct/2001:17:37:19] info (10301): php4_init reports: Initialized PHP
Module

[18/Oct/2001:17:37:20] info (10301): Successfully initialized web
application en
vironment (web-apps.xml) for virtual server (https-fly.net.fdj.fr)
[18/Oct/2001:17:37:20] warning (10301): The server configuration may
require mor
e file descriptors than the operating system provides.  If you encounter
PR_PROC
_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating
system har
d file descriptor limit from 1024 to 5763 (see your operating system
documentati
on) or decrease one or more of the following settings: MaxFiles in
nsfc.conf and
 ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf.

Do you have a clue for me ?

Thanks,
 Seb.





Hi, 


I am with problems in the installation of the PHP4,
when I execute make, it occurs the following errors. #
make                                                  
                       
Making all in Zend                                    
                         
make[1]: Entering directory
`/usr/local/php-4.0.6/Zend'                         
/bin/sh ../libtool --silent --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../maic
/usr/ccs/bin/as: "/var/tmp/ccBdjjKg.s", line 29487:
error: unknown opcode ".sub"
/usr/ccs/bin/as: "/var/tmp/ccBdjjKg.s", line 29487:
error: statement syntax     
/usr/ccs/bin/as: "/var/tmp/ccBdjjKg.s", line 29645:
error: unknown opcode ".pre"
/usr/ccs/bin/as: "/var/tmp/ccBdjjKg.s", line 29645:
error: statement syntax     
make[1]: *** [zend_language_scanner.lo] Error 1       
                         
make[1]: Leaving directory `/usr/local/php-4.0.6/Zend'
                         
make: *** [all-recursive] Error 1                     
                         

My system - sun - solaris 7


tks.

Luis Antonio




_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. � f�cil 
e gr�tis!
http://br.geocities.yahoo.com/




Below is the result of your feedback form.  It was submitted by
 ([EMAIL PROTECTED]) on Thursday, October 18, 2001 at 21:12:20
---------------------------------------------------------------------------

message: 
In addition to the information you selected, we thought you might be Interested in the 
latested FREE LEADS RESIDUAL INCOME OFFER.    
 
One of our Sponsors has a Unique Home Business Lead Generation System and is offering 
Uniquely Qualified Leads to support a Residual Income Opportunity.
 
If interested in details, just respond here:  [EMAIL PROTECTED]
 
(Please include name, phone, and email, and the best time you can be reached.)
 
***********************************************************************************************
**If somehow your Form Submission is inaccurate; and you wish us to activate a filter 
to determine why you received this, then please email us here:  [EMAIL PROTECTED]



---------------------------------------------------------------------------



Reply via email to