php-install Digest 4 Sep 2002 08:14:36 -0000 Issue 1007
Topics (messages 8316 through 8321):
Please help me to get PHP running
8316 by: Lars Boquist
Re: redhat-apache-php
8317 by: Thomas Deschamps
Re: Apache doesn't seem to send scripts to the interpreter
8318 by: Thomas Deschamps
8319 by: Thomas Deschamps
8320 by: Rasmus Lerdorf
Truecolor functions won't work after GD install
8321 by: Kieran Ashley
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 ---
Hi!
I have just installed the Windows installer but it seems that it is not
enough to get PHP working on my Win98 machine. The PHP code is shown when I
select view source and is not executed.
Can somebody help me?
Thanks,
Lars
--- End Message ---
--- Begin Message ---
> You need to configure your apache to use php as a cgi, whenever a php file is
> requested. Here is a link to a toturial. It is for installing in windows, but
> the configuration af apache should bring you there.
>
> http://www.thickbook.com/extra/php_apachephp4_win.phtml
Do you know a tutorial for linux installation?
Is it the same for linux concerning the cgi scripts?
Thomas
--- End Message ---
--- Begin Message ---
Hi John,
I jsut read an email pointing to a tutorial for windows.
I looked at it even if I have linux installed and tryed to figure out what is
missing.
Apparently there is a line to write in http.conf for making the server treating
php documents as script, hich begins with "ScriptAlias..." and I do not have
this line.
The problem is I found no mention of this line in the linux installation
process
Thomas
--- End Message ---
--- Begin Message ---
John wrote:
> A) Make php classic test file called hello.php. Here is the text that goes
> in it:
> <html> <head> <title>PHP Test</title> </head> <body> <?php echo "Hello
> World<p>"; ?><?php phpinfo(); ?> </body> </html>
> B) Find php by doing "which php <enter>". Mine says /usr/bin/php. Now run
> "/usr/bin/php -i >output.html <enter>". If need be, move the output.html to
> your default web directory and try and read that from a browser.
I did both,
In A) the browser shows the entire script
In B) The result is long and confusing, I do not know how to work that file.
--- End Message ---
--- Begin Message ---
> > A) Make php classic test file called hello.php. Here is the text that goes
> > in it:
> > <html> <head> <title>PHP Test</title> </head> <body> <?php echo "Hello
> > World<p>"; ?><?php phpinfo(); ?> </body> </html>
> > B) Find php by doing "which php <enter>". Mine says /usr/bin/php. Now run
> > "/usr/bin/php -i >output.html <enter>". If need be, move the output.html to
> > your default web directory and try and read that from a browser.
>
> I did both,
> In A) the browser shows the entire script
Then you are missing the AddType line for .php files in your httpd.conf
file.
-Rasmus
--- End Message ---
--- Begin Message ---
Hi,
I'm running a Matrix dedicated server (based on Redhat) with PHP 4.2.2
installed as a shared module, phpinfo() reports GD 2 or greater
installed (and rightly so, cos that's what I compiled!) and everything
works fine apart from the following two functions:
imagecreatetruecolor()
and imagecopyresampled()
Use of either of which simply causes the script to simply time out, no
errors are reported to the server logs, the script just stalls whilst
loading.
Any ideas anyone, it's just that these are the two features I really
needed! :(
Thanks
K
--- End Message ---