php-install Digest 1 May 2002 20:32:09 -0000 Issue 814
Topics (messages 6801 through 6807):
convert access to JAVA PHP mysql Xml Soap
6801 by: Jacky Kenna
Apache or IIS with php module
6802 by: Raidell Avello
Re: not reading variables
6803 by: Graham Nichols
6804 by: Jim Thome
Re: PHP error when starting Apache, Undefined symbol "pthread_getspecific", what's
this???
6805 by: Marcus Uddenhed
PHP does not generate any output!
6806 by: Udo Giacomozzi
6807 by: Udo Giacomozzi
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 We are a publishing company based in London. We have developed a
multi-user
MS Access contact management and bookkeeping database system which we want
to adapt / re-write such that it can be used over the web ( ASP) using
Internet
Explorer (or similar) from any location, as our clients would like to use
it.
We are therefore looking for someone to develope or who will head a team of
developers and
co-ordinate this project. If you are interested in working with us on this,
please e-mail [EMAIL PROTECTED] with a brief outline of your knowledge
and experience of programming languages and I will get back to you as soon
as possible.
Jacky Kenna
Managing Director, PDA
0207 384 1985
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
hi
i was trying to configure apache and iis using php module, but don't work.
someone has make this join,
what's wrong????
bye
--- End Message ---
--- Begin Message ---
"Geoff" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Im running php 4.0.2 on winxp pro and the latest apache (1.3.x) and have
> followed all of the installation instructions on php.net, and the only
> problem i have encountered so far is the my variables arnt reading from
the
> url
>
> ie : /?page=contact wont go to the contact page, it will only refresh the
> current page.
>
> any help would be appreciated (and its not my code, other peopel have
tested
> on their machines, and i have uploaded to a temp host and it works fine)
>
> thankyou
>
>
Hi Geoff,
If that 4.0.2 or 4.2.0? I've just installed version 4.2.0 and my previously
working php3 application won't send variables either, now that it's running
under 4.2.0. So, if I ask for www.nextpage.com?name=fred an empty
www.nextpage.com comes up indicating that the ?name=fred portion is not
being sent/read somewhere. I was glad to see your post as I thought that I
was going nuts (er .. make that even more nuts)! However, and here's the
really scary part, our office intranet raq3, the same beast as our online
server, works OK with the same code and php 4.2.0 sending/receiving the
variables without fault. Very strange and very annoying.
kind regards,
Graham Nichols.
--- End Message ---
--- Begin Message ---
With PHP 4.2.0, the register_global directive is off by default. Please read the
section on external variables -> http://www.php.net/release_4_2_0.php
In general, automatically creating form fields into variables is a bad idea, and PHP
4.2 does not do this by default.
--Jim
>>> "Graham Nichols" <[EMAIL PROTECTED]> 05/01/02 07:32AM >>>
"Geoff" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Im running php 4.0.2 on winxp pro and the latest apache (1.3.x) and have
> followed all of the installation instructions on php.net, and the only
> problem i have encountered so far is the my variables arnt reading from
the
> url
>
> ie : /?page=contact wont go to the contact page, it will only refresh the
> current page.
>
> any help would be appreciated (and its not my code, other peopel have
tested
> on their machines, and i have uploaded to a temp host and it works fine)
>
> thankyou
>
>
Hi Geoff,
If that 4.0.2 or 4.2.0? I've just installed version 4.2.0 and my previously
working php3 application won't send variables either, now that it's running
under 4.2.0. So, if I ask for www.nextpage.com?name=fred an empty
www.nextpage.com comes up indicating that the ?name=fred portion is not
being sent/read somewhere. I was glad to see your post as I thought that I
was going nuts (er .. make that even more nuts)! However, and here's the
really scary part, our office intranet raq3, the same beast as our online
server, works OK with the same code and php 4.2.0 sending/receiving the
variables without fault. Very strange and very annoying.
kind regards,
Graham Nichols.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I did it in another way and it seems to work.
I skipped the module config.
Do following:
Configure Apache 2.x and install it.
Configure PHP without the apxs configuration
and then installed it.
Then i edit the httpd.conf file and added this
4 lines at the bottom of that file:
# PHP Config
ScriptAlias /php/ "/websrv/progs/php/bin/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php"
And then it's just restart and test to se if it works.
Make sure to have the index.php in httpd.conf file if
you are to use the php extension.
Test it by adding this line to an empty .html or .php file:
<? phpinfo() ?>
If it's secure to open up the bin directory above i don't know,
but by setting the bin folder in readonly in Apache should be enough.
--
Marcus Uddenhed
"Marcus Uddenhed" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I get an error when i try to start Apache
> when i have made PHP as an module.
>
> The error says:
>
> Cannot load /websrv/progrs/apache2/modules/libphp4.so
> into server: /websrv/progrs/apache2/modules/libphp4.so: Undefined Symbol
> "pthread_getspecific"
>
> And Apache refuses to start.
>
> This is how i configured PHP and installed it:
>
>
./configure --prefix=/websrv/progs/php --with-mysql --with-apxs2=/websrv/pro
> gs/apache2/bin/axps
>
> make
>
> make install --with-config-file-path=/websrv/progs/php
>
> The system that i do this on is FreeBSD 4.5
>
>
> What is wrong, what have i done wrong????
>
>
> Thanks in advance
>
> Marcus Uddenhed
> [EMAIL PROTECTED]
>
>
--- End Message ---
--- Begin Message ---
Hello,
I don't know if this is the best group for my question but I'll try anyway.
I'm trying to use PHP in a self-written web server (made with Delphi). The
web server sets some environment variables and then invokes the CGI version
of the interpreter.
If I simly call php.exe giving the file name of the PHP script as a
parameter, it processes it and writes the result to stdout. No problems
here.
But when I set all CGI environment variables, the PHP interpreter simply
exits immediately with exit code -1 and doesn't write anything to stdout.
It seems to be only if I set any of the following environment variables:
SCRIPT_NAME, SCRIPT_FILENAME or PATH_INFO. All other variables work well.
I'm pretty sure it is not a problem with the way I create my child process
as I noted the same behavior manually setting the environment variables and
calling php.exe at the DOS prompt.
php.exe simply terminates immediately without writing anything (not even
headers) to the screen.
Any ideas?
I've installed PHP 4.1.0 under MS Windows 2000 using a binary package. PHP
works well on the same machine with Apache Webserver as a module. The test
code is simly
<?php
phpinfo();
?>
Udo
PS: Is there any document online that describes how to support PHP in own
web servers? I'd like to use the CGI version, however.
Posted by ELKNews 1.0.4-B
Empower your News Reader! http://www.atozedsoftware.com
--- End Message ---
--- Begin Message ---
I tried now with version 4.2.0. Same behavior here, except the exit code is
now 0...!?
Udo
Posted by ELKNews 1.0.4-B
Empower your News Reader! http://www.atozedsoftware.com
--- End Message ---