php-install Digest 5 Jul 2001 06:50:28 -0000 Issue 346

Topics (messages 3407 through 3411):

Problem in running the code
        3407 by: Amar Vir Singh

Failed to initialize session module
        3408 by: Chris Gill

PHP as external script and Apache : configuring 404 errors
        3409 by: Laurent INFOS

my debug.log
        3410 by: KFC

Install the php as the apache module and CGI interpreter at the same time...
        3411 by: Zenith

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 all,
I have installed Apache and PHP and while running the Apache I see that it
is also running PHP but when I load a php script it is shown in the script
form only and I am unable to run the same. Kindly help me ASAP. I am using
Win 2000.
thanx
amar





Hello all. I'm trying to install PHP4 and am getting an obtuse error.
Initally, I was getting 'Document contains no data' errors from netscape.
Having cranked up the logging on PHP, I now see that I am getting errors:

PHP Fatal error: Failed to initialize session module in Unknown on line 0

This is PHP 4.0.6 running on a linux 2.4.0 kernel with Apache 1.3.9 and 
MySQL 3.23.38. PHP was compiled as an Apache dynamic module (with the
options --with-mysql and --with-axps), and apache is in fact loading it
correctly according to the logs. I'm not seeing any any core files being
dumped over this. I've searched around on the net and haven't found a
solution for it. 

Any help is appreciated.

-< Christopher P. Gill >-< Senator, Class of 2002>-< [EMAIL PROTECTED] >-
---< Parliamentarian >---< Chair, Judiciary & Student Rights Cmte. >---
---< "And now for my next trick, I shall fly around the room under >---
--------------< my own power." -Londo Mollari, Babylon 5 >-------------
--------< Rensselaer Polytechnic Institute >-< Troy, New York >--------






Hello,

I have :
 - Apache 1.3.x
 - PHP 4.0.5 (not a module, but a separate script)
 - the directive ErrorDocument is configurated :
    ErrorDocument 404 /404.html

My problem :
 - http://server/filenotpresent
    gives a 404 error, and open 404.html. It's OK.
 - http://server/filenotpresent.php4
    calls php before verifying if "filenotpresent.php4"
    exists. So, instead of opening /404.html, 
    we got an internal error because 
    "/usr/.../bin/php filenotpresent.php4" returns 
    no data.

My question :
Is there is a way :
 - to tell php to generate an HTML page containing a redirect
   to /404.html, if the given file doesn't exists
or
 - configure Apache to force it to check if the
   file exists before calling php ?
 
Thanks for your help.

Laurent.
PS : 




Hi

   I think maybe I have problem with GD lib ... Right?

 

Thank you



Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year!
http://personal.mail.yahoo.com/



Is it possible to install the php as the apache module and CGI interpreter
at the same time??

Is there any article about this??





Reply via email to