php-install Digest 15 Jun 2002 16:27:42 -0000 Issue 885

Topics (messages 7333 through 7337):

Re: xxx.php works fine, but not in xxx.html
        7333 by: Daniel Exbrayat
        7334 by: Jeffrey_N_Dyke.Keane.com
        7335 by: Daniel Exbrayat

Programmer Job Posting: Work from Home
        7336 by: Demi Vitalis

PHP installation problem: php4ts.dll
        7337 by: Jacques Steyn

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 ---
windows NT4+SP6+PHP 4.2.1+Apache 2.0.36

httpd.conf is as follow:
===============================
#LoadModule php4_module  c:/PHP/sapi/php4apache.dll
LoadModule php4_module    c:/PHP/sapi/php4apache2.dll
#AddModule mod_php4.c

AddType application/x-httpd-php .php
===============================
I discarded AddModule otherwise Apache service do not start

Apache works fine
<? phpinfo(); ?> is interpreyed by PHP at http://localhost/test.php
but it is not intrepreted by PHP when embedded in test.hml file (I get a
blank page).

Best regards



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

isn't that because you only have .php in the AddType line.  I think you'd
need .html or what ever pages you want the engine to act upon

Just a thought,
Jeff


                                                                                       
                               
                    "Daniel                                                            
                               
                    Exbrayat"              To:     [EMAIL PROTECTED]           
                               
                    <daniel.exbrayat       cc:                                         
                               
                    @fnac.net>             Subject:     [PHP-INST] NT4+PHP4+Apache2: 
xxx.php works fine, but not in   
                                            xxx.html                                   
                               
                    06/14/2002 05:12                                                   
                               
                    PM                                                                 
                               
                                                                                       
                               
                                                                                       
                               




windows NT4+SP6+PHP 4.2.1+Apache 2.0.36

httpd.conf is as follow:
===============================
#LoadModule php4_module  c:/PHP/sapi/php4apache.dll
LoadModule php4_module    c:/PHP/sapi/php4apache2.dll
#AddModule mod_php4.c

AddType application/x-httpd-php .php
===============================
I discarded AddModule otherwise Apache service do not start

Apache works fine
<? phpinfo(); ?> is interpreyed by PHP at http://localhost/test.php
but it is not intrepreted by PHP when embedded in test.hml file (I get a
blank page).

Best regards




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




--- End Message ---
--- Begin Message ---
thanks for your tip, but not successful !

"Jeffrey N Dyke" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
>
> isn't that because you only have .php in the AddType line.  I think you'd
> need .html or what ever pages you want the engine to act upon
>
> Just a thought,
> Jeff

>                     "Daniel
>                     Exbrayat"              To:
[EMAIL PROTECTED]
>                     <daniel.exbrayat       cc:
>                     @fnac.net>             Subject:     [PHP-INST]
NT4+PHP4+Apache2: xxx.php works fine, but not in
>                                             xxx.html
>                     06/14/2002 05:12
>                     PM
>
>
> windows NT4+SP6+PHP 4.2.1+Apache 2.0.36
>
> httpd.conf is as follow:
> ===============================
> #LoadModule php4_module  c:/PHP/sapi/php4apache.dll
> LoadModule php4_module    c:/PHP/sapi/php4apache2.dll
> #AddModule mod_php4.c
>
> AddType application/x-httpd-php .php
> ===============================
> I discarded AddModule otherwise Apache service do not start
>
> Apache works fine
> <? phpinfo(); ?> is interpreyed by PHP at http://localhost/test.php
> but it is not intrepreted by PHP when embedded in test.hml file (I get a
> blank page).
>
> Best regards
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>


--- End Message ---
--- Begin Message ---
Intravative Software Corporation, located in Santa Monica 
California, is seeking qualified individuals to assist in the 
technical documentation for a new software product that 
will enter the marketplace in the coming months. We are 
looking for dedicated individuals with the same passion 
and energy necessary to launch proprietary new software 
in exchange for stock options in this venture.

You can view the online job posting at the following URL:
http://www.intravative.com/pdf/Programmers.pdf

--- End Message ---
--- Begin Message ---
Thanks to all who have tried to help me.
After battling for a couple of days now to get this going, I have
reinstalled the latest versions of Apache and PHP. I no longer get the
same problems, but a new one:
PHP does not seem to execute. When running php.exe from DOS prompt I get
this message:

    PHP.exe linked to missing export php4ts.dll:php_ini_path

Anyone encountered this before?

Oh, I have double-tripple checked the setup, but this is what I have:
= = = = = =
PHP setup:
1. ini file
in c:\windows\php.ini

2. extension_dir
I have tried both
extension_dir = "c:\php\extension\"
and
extension_dir = "c:/php/extension/"

3. doc_root
I have had it pointing to several directories (such as "c:\websites", as
well as embedded in the htdocs subdirectory in the Apache dierecotry),
but FAQT says it should be empty, which I have also tried.

4. extensions
At the moment I have not set any of these as I would first just like to
see of the system can run.
= = = = = =
APACHE setup:
1. LoadModule
I have tried with this on as well as commented out:
LoadModule php4_module c:/php/sapi/php4apache.dll

2.  ScriptAlias
     ScriptAlias /php/ "C:/Program Files/php/"
     ScriptAlias /php/ "C:/php/"

3. AddType
     AddType application/x-httpd-php .php
     AddType application/x-httpd-php-source .phps
     AddType application/x-httpd-php .html

4. Action
 Action application/x-httpd-php "/php/php.exe"
= = = = = =
WINDOWS setup: the Script Map:

.php    C:\PHP\sapi\php4isapi.dll
.php3    C:\PHP\sapi\php4isapi.dll

So where do I go wrong?
Thanks a lot
Jacques
--
___________________
Jacques Steyn

+27 (0)11 478-1259
http://www.knowsystems.com


--- End Message ---

Reply via email to