php-install Digest 21 Mar 2003 13:32:39 -0000 Issue 1299
Topics (messages 10378 through 10381):
Re: PHP on Apache on WinXP
10378 by: Wade
Re: php and forms
10379 by: Tiago N. Sampaio
probelms with php and apache
10380 by: dobbo.thevillas.eclipse.co.uk
suse8.0 configure and make problem! no makefile?
10381 by: Sven Suhl
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 ---
I can view both HTML and ASP files. I have tried placing the php4ts.dll and
php4apache.dll files in the c:\windows\system32 folders and have received
the same results.
Wade
"Beverly Steiner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Can you view a plain HTML file? Perhaps it's not working because
php4ts.dll
> and php4apache.dll should be in the c:\Windows\system32 folder.
>
> ----------------------
> Beverly Steiner
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Wade [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 11:45 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] PHP on Apache on WinXP
>
>
> Okay, I wrote in the other day and so far have not solved my problem, so
> here is some more info.
>
> I installed Apache 1.3 with PHP 4.3 on my Windows XP system. Apache is
> installed in the default C:\Program Files\Apache Group\Apache directory.
> PHP is installed to C:\PHP. My root folder for my web files is C:\HTTP.
>
> I have been using IE6 as my web browser. When I try to access any PHP
files
> on my machine, it attempts to download them instead of interpreting. I
> downloaded Opera to see if it was a IE6 problem. Opera does the same
thing.
>
> php4ts.dll, php4ts.lib, php.exe, php4apache.dll are all in the directory
> C:\php\
>
> Here are the changes I made to various files.
>
> ***c:\program files\apache group\apache\conf\httpd.conf***
>
> # Code added by Wade to add PHP support to apache.
> LoadModule php4_module c:/php/php4apache.dll
> ###AddModule mod_php4.c ### Removed this line because it was saying that
it
> was already added.
> AddType application/x-httpd-php .php .phtml
> # End Code Added by Wade
>
> #
> # DocumentRoot: The directory out of which you will serve your
> # documents. By default, all requests are taken from this directory, but
> # symbolic links and aliases may be used to point to other locations.
> #
> DocumentRoot "C:\HTTP"
>
> #
> # This should be changed to whatever you set DocumentRoot to.
> #
> <Directory "C:\HTTP">
>
> ***c:\windows\php.ini***
>
> ; The root of the PHP pages, used only if nonempty.
> ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
> ; if you are running php as a CGI under any web server (other than IIS)
> ; see documentation for security issues. The alternate is to use the
> ; cgi.force_redirect configuration below
> doc_root = "c:\http"
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "c:\php\extensions"
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
No no...
It´s in the php config file (php.ini), you can found where this file is
located in the phpinfo()
In phpinfo() look this line...
Configuration File (php.ini) Path /usr/local/lib/php.ini
then you search in the file for register_globals parameter....
Are you using php on windows or linux/unix?
I use php in a unix box, for this example....
Hugs...
Tiago N. Sampaio
----- Original Message -----
From: "b b" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 20, 2003 6:13 PM
Subject: Re: [PHP-INST] php and forms
>
> You are right Tiago. When I did the _POST ... it
> finally saw it. So where do I find and set
> register_globals. In the Apache config files?
>
>
>
>
> --- "Tiago N. Sampaio" <[EMAIL PROTECTED]> wrote:
> > Whats´s your php version?
> >
> > In newer versions of php, register_globals is off
> > by default, or you
> > enable it on php.ini
> > or you use $_GET["Variable_name"] in your case
> > $_GET["TestVar"] (This
> > can be $_POST["VAR"])
> >
> > Ok...
> > test this and say the result...
> >
> >
> > Thanks...
> >
> > PS: Sorry my poor english...
> >
> > Hugs
> > Tiago N. Sampaio
> > Departamento Internet
> > www.planae.com.br
> > (14) 224-3066
> > Bauru/São Paulo/Brazil
> >
> > ----- Original Message -----
> > From: "b b" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, March 20, 2003 5:19 PM
> > Subject: [PHP-INST] php and forms
> >
> >
> > >
> > > Hi,
> > > This could be a silly mistake or it could be a
> > sign
> > > of configuratin problems. Simply put, my submitted
> > > form variables are not reaching the recieving end:
> > >
> > > A form:
> > >
> > > <form method=post action="testForm.php">
> > > <input type="text" name="testVar">
> > > <input type="submit" name="submit"
> > value="submit">
> > >
> > > </form>
> > >
> > > A recieving file testForm.php:
> > > <html>
> > > <body>
> > > <?php
> > > printf("<br>testVar is : %s", $testVar);
> > > ?>
> > > </body>
> > > </html>
> > >
> > >
> > > When entering value like testtest in the form
> > element
> > > I still get the following in the recieving file:
> > >
> > > testVar is :
> > >
> > >
> > > i.e. the form variable is not submitted or not
> > > recieved. I also tried doing it through the url
> > > .../testForm.php?testVar=whatever and still the
> > > testVar is empty.
> > >
> > > Is there a configuration problem I should be
> > aware of
> > > as clearly it is not a code issue?
> > >
> > > Thanks,
> > > b.
> > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > live on your desktop!
> > > http://platinum.yahoo.com
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit:
> > http://www.php.net/unsub.php
> > >
> > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi, I have set up apache with mod_ssl. I have tried to
add php but whenever I try to view a php page i only get
the code returned to the browser. The installation path
I followed is detailed below. All works fine apart from
the PHP.
Any help greatly appreciated!
$ cd openssl-0.9.6g
$ sh config \
no-idea \
no-threads \
-fPIC
$ make
$ cd mod_ssl-2.8.12-1.3.27
$./configure \
--with-apache=../apache_1.3.27
--with-crt=/usr/apache_ssl/conf/ssl.crt/server.crt
--with-key=/usr/apache_ssl/conf/ssl.key/server.key
$ cd apache_1.3.27
$ SSL_BASE=../openssl-0.9.6g \
./configure \
--enable-module=ssl
--prefix=/usr/apache_ssl
--enable-shared=max
--enable-rule=SSL_EXPERIMENTAL
--enable-rule=SSL_VENDOR
$ make
$ make install
cd php-4.3.1
rm -f config.status config.cache
make clean
./configure --with-apxs=/usr/apache_ssl/bin/apxs
--with-mysql
$ make
$ make install
then copy over the php.ini file to /usr/local/lib/php.ini
and add these lines to my httpd.conf file:
LoadModule php4_module
/usr/apache_ssl/libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .php3 .phtml
Thanks!
Rich
--- End Message ---
--- Begin Message ---
Hi all
got a little problem while recompiling php4.1.0 under SuSE8.0. I needed to
include Imagick support for various reasons.
This is what I did:
- unzip imagick-0.9.5 to ./ext/imagick
- cd to imagick and phpize
- ./buildconf
- added --with-imagick to configure
- run and fix configure in following lines:
3548 // empty if-case - added echo
6468 // empty if-case - added echo
27523 // also empty if-case
46360 // litle echo problem?! added many # and new echo for info
- yeah... after all this configure runs smoothly... but!
it seams that configure is creating some files (especially Makefile) but not
in root-dir of php4.1.0 source. But I think it's needed to get recursivly
through various dirs. Btw... Makefile.in is available in root-dir
So.... what to do, where to go, to make this configure-script generate
Makefile in root-dir? Or is there a workaround?
Sven Suhl
Developer
Assenmacher Network
[EMAIL PROTECTED]
--- End Message ---