php-install Digest 11 Dec 2002 18:22:08 -0000 Issue 1157

Topics (messages 9352 through 9359):

I have huge trouble to install PHP to Apache (1.3.X.X)
        9352 by: Tommi Prami

Re: best free web host
        9353 by: Nuno Lopes

Re: I could use some help
        9354 by: Peter Dotinga

php4 errors
        9355 by: ATLpIaya.aol.com
        9356 by: Jeffrey_N_Dyke.Keane.com
        9357 by: Chris Hewitt

Re: PHP/Red Hat
        9358 by: matty rozen

Re: problems with apache 2.0.43 and newest snapshot
        9359 by: Josh Marcus

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 ---
Hello,

I Downloaded new PHP and Apache (New 1.3, don't know where I could find out
build number) (and I have Win2K btw...)

Apache server serves nicely html and Image files, but PHP file causes an
Error (like Apache has geberated errors...)

I have checked all hints I could find from Install.txt, but I am stuck...

Can someone give some pointers (some help...),

Regards,
-Tommi Prami-

--- End Message ---
--- Begin Message ---
www.portland.co.uk
www.host.sk (they don't have mail() function, but you can use a special
library that allows you to send e-mails)


--- End Message ---
--- Begin Message ---
Dereck Marchinski wrote:
The installer says even newcomers can sue it. Well I can't figure it out. I am trying to install php 4.2.3 with my apache server 1.3.27 and well I can configure the system to work together on my windows xp operating system, I am switching to Linux hopefully soon, but in the mean time I would like this to work. This what I have done. I moved the php4ts.dll to my windows/system32 folder. I moved and rename the php.ini file to my windows folder. oh I installed apache on my e drive and same with php. SO then I changed the extension dir to e:/php. I also changed my httd file for apache. I added the three lines of code each by similar looking code. I also changed the loadmodule code to e:/php/sapi/php4apache.dll. So I am guessing I configured it correctly after reading all of the tutorials. So I restarted apache and created my php file with the simple code <?php phpinfo();?> so I save it in the root directory for apache and go to load the page in internet explorer.
Explorer simply returns the code to me and doesn't interpret the code.  What do I do, what can I do?
Any help would be greatly appreciated!!!!

Dereck Marchinski
[EMAIL PROTECTED]

You'll have to tell apache to interpret '.php' files via php:
AddType application/x-httpd-php .php

You didn't forget to put 'AddModule mod_php4.c' in httpd.conf?

I would use 'e:\php\extensions' for your extension dir instead of 'e:\php' I you want to use extensions

Regards,

Peter

--- End Message ---
--- Begin Message ---
Hi, this is Jimmy and I'm new to php and I just read all the informations you 
provided including installing php4 but when I tried to run the sript but when 
I tried to run the "phpinfo.php", it doesn't run but the "<? phpinfo() ?>" 
message popped up in the text editor...I did try to fund out the 
problems...would you please tell me what have I done..thankz

Jimmy
--- End Message ---
--- Begin Message ---
you probably need to add the config options to what ever webserver you are
running and then restart the webserver.


                                                                                       
                             
                    [EMAIL PROTECTED]                                                     
                             
                    om                   To:     [EMAIL PROTECTED]             
                             
                                         cc:                                           
                             
                    12/11/2002           Subject:     [PHP-INST] php4 errors           
                             
                    10:11 AM                                                           
                             
                                                                                       
                             
                                                                                       
                             




Hi, this is Jimmy and I'm new to php and I just read all the informations
you
provided including installing php4 but when I tried to run the sript but
when
I tried to run the "phpinfo.php", it doesn't run but the "<? phpinfo() ?>"
message popped up in the text editor...I did try to fund out the
problems...would you please tell me what have I done..thankz

Jimmy




--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] wrote:

Hi, this is Jimmy and I'm new to php and I just read all the informations you provided including installing php4 but when I tried to run the sript but when I tried to run the "phpinfo.php", it doesn't run but the "<? phpinfo() ?>" message popped up in the text editor...I did try to fund out the problems...would you please tell me what have I done..thankz

Assuming that you are getting at your script by a url e.g. http://mybox.com/phpinfo.php in your browser and its giving you back the source then you need to configure your webserver to get php to parse the file. In Apache its the AddType line (it will be in the installation notes). If its IIS then I personnally cannot help but there will be others on this list who can.

What webserver are you using?

HTH
Chris


--- End Message ---
--- Begin Message ---
you can try the following url:
http://www.opendeveloper.org/PHP/HowTo/How_To_Install_PHP_on_Linux/


"Jonathan" <[EMAIL PROTECTED]> wrote in message
000301c29ef4$ffd7d960$0402a8c0@inhocvince">news:000301c29ef4$ffd7d960$0402a8c0@inhocvince...
> It seems as if this list doesn't receive much traffic, so I'm posting in
> hope that I find an answer...
>
> I can install PHP on a Windows Platform with my eyes closed, however I
just
> switched over to Linux and have no clue what I'm doing.  Most everything I
> do comes from reading the Red Hat Linux Bible, anyway, can anyone point me
> to a page/tutorial from where I can read instructions on how to install
PHP
> on Linux, step by step.
>
> If anyone want so to walk me through, that would be even better.
>
> Thanks in advance
>
>
> ===================
> Jonathan Villa
> Application Developer
> IS Design & Development
> www.isdesigndev.com <http://www.isdesigndev.com/>
> 414.429.0327
> ===================
>
>
>


--- End Message ---
--- Begin Message ---
I thought I'd try and add some additional information to try and
draw out some help.

I'm running linux.  Redhat 6.2.

I have now tried a number of different relatively new apaches,
with a number of recent phps.  And I always can compile fine.

And apache doesn't complain.  but it doesn't list the loaded
module.  Will apache complain if the module doesn't load correctly?
Is there something it will do to clue me into why php won't load,
even though the directive is going through fine ...?

plleeease help!
--j 


On Tue, Dec 10, 2002 at 07:28:07PM -0500, Josh Marcus wrote:
> Hey,
> 
> I'm trying to compile php for use with apache 2.0.43.
> 
> php compiles fine.  But apache doesn't seem to actually be loading
> the module.  php isn't listed in the startup errorlog line, nor in
> server-status.  .php pages get presented as their source.
> 
> Is there something about the configuration I'm missing?  the installation
> didn't touch my httpd.conf apache configuration file.  I added two lines --
> 
> LoadModule php4_module        modules/libphp4.so
> AddType application/x-httpd-php php
> 
> but no joy.  I also tried adding input/output filters as was necessary
> with an earlier version of apache2, but that also (not surprisingly)
> didn't help.
> 
> Any advice?
> 
> --j
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---

Reply via email to