php-install Digest 22 Jul 2002 08:34:17 -0000 Issue 942
Topics (messages 7843 through 7848):
Php on win2000 with apache 1.3.22 assistance.
7843 by: Rajeev Ramdas
Re: remove me
7844 by: leandro asnaghi-nicastro
Configuring PHP 4.2.1/Apache 2.0
7845 by: Dan
7846 by: Rasmus Lerdorf
Variable - Return
7847 by: Reetu Singh
Error: reentrancy.c: In function `php_readdir_r': \n reentrancy.c:130: too few
arguments to function `readdir_r'
7848 by: Matti Simperi
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 All...
I am having trouble installing and running php on windows 2000.
I have downloaded php-4.2.1-win32.zip and unzipped it into d:\program files\Php.
I have copied the php.ini-recommended to c:\winnt\php.ini
I have Apache 1.3.22 installed and running other stuff.
I have added D:\Program Files\PhP\php-4.2.1-Win32 and D:\Program
Files\PhP\php-4.2.1-Win32\dlls to the PATH variable on Win 2000.
.\php.exe -i gives me valid html output.
httpd configuration.
--------------------
I have added the following lines to httpd.conf
ScriptAlias /php/ "D:\Program Files\PhP/php-4.2.1-Win32/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php.exe"
<Directory "D:\Program Files\Php\php-4.2.1-Win32">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
LoadModule php4_module "d:/Program
Files/Php/php-4.2.1-Win32/sapi/php4apache.dll"
I do not see any php related error messages in access_log or error_log
All i get when i type in the url
is a "; ?> , and when i look at view source i see the entire html that i had type in
which is
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo "Hello World<p>"; ?>
</body>
</html>
i then added log_errors=on and error_log = d:\temp\psp_error_log.log in php.ini and no
error log gets written, which pretty much tells me that apache is not detecting
php.exe...
Can anyone help me resolve this issue...?
Than You
-Rajeev.
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--- End Message ---
--- Begin Message ---
Don't write to this person telling them what to do.
It's spam. It sends you back junk.
And probably harvests your address to their lists.
On This Day, in the Year of Our Lord 20 Jul 02, at 13:11, thus spake Kelly Burton :
Date sent: Sat, 20 Jul 2002 13:11:30 -0700 (PDT)
From: Kelly Burton <[EMAIL PROTECTED]>
To: azzkikr <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: [PHP-INST] remove me
> please remove me from this email list
--- End Message ---
--- Begin Message ---
Greetings:
I'm trying to set up a test server on my XP box with PHP functionality. I
have Apache 2.0 running, and downloaded the PHP 4.2.1 Windows installer
from php.net .
The PHP install went fine, but as you know, I must configure my http config
file manually.
Here's my question:
Where does "AdModule mod_php4.c" need to go in the http file? No matter
where I have put it thus far, Apache will not start.
TIA,
:: Dan
--- End Message ---
--- Begin Message ---
You don't need it. It is only needed if you have a ClearModuleList line
somewhere in your .cond file. And if that is the case, then the addmodule
has to come after the ClearModuleList line. But you are better off just
removing ClearModuleList and all the AddModule lines. It was always a
dumbass idea as far as I am concerned.
-Rasmus
On Sat, 20 Jul 2002, Dan wrote:
> Greetings:
>
> I'm trying to set up a test server on my XP box with PHP functionality. I
> have Apache 2.0 running, and downloaded the PHP 4.2.1 Windows installer
> from php.net .
>
> The PHP install went fine, but as you know, I must configure my http config
> file manually.
>
> Here's my question:
>
> Where does "AdModule mod_php4.c" need to go in the http file? No matter
> where I have put it thus far, Apache will not start.
>
> TIA,
>
> :: Dan
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi all,
I have installed apache ver 2.0.39 and Php4.2.1 and both are running fine. The problm
I have is that when i tested the script with getting the variable from the user and
passing it to the next script , I am not able to take the value of the variable to the
next script. The script is able to connect to the database (MYSQL) but is not able to
return the value. Kindly help me.
reetu
---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better
--- End Message ---
--- Begin Message ---
Hi,
I was trying to install PHP 4.2.1, but I get this error message:
reentrancy.c: In function `php_readdir_r':
reentrancy.c:130: too few arguments to function `readdir_r'
make[2]: *** [reentrancy.lo] Error 1
Can anyone know where is the problem? I noticed from http://bugs.php.net
that this problem was found in
My configureline:
'./configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-dbg=shared'
'--with-dbg-profiler' '--enable-pic' '--disable-rpath'
'--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl'
'--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf'
'--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv'
'--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png'
'--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr'
'--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger'
'--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal' '--enable-mbstring' '--enable-mbstr-enc-trans'
'--with-apxs=/usr/sbin/apxs' '--with-mcrypt' '--disable-posix-threads'
'--enable-debug'
--- End Message ---