php-install Digest 2 Jun 2002 20:57:27 -0000 Issue 865
Topics (messages 7207 through 7210):
PHP
7207 by: Peter Goggin
7208 by: Peter Goggin
Re: PHP and Apache 2.0.36
7209 by: PHPGeek
Can't make PHP 4.2.1 with Apache2
7210 by: Jon Armitage
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 have run a script giving php info.
Some of the data in it appears to be incorrect. I set up php on win 98 and
the ini file is supposed to be in c:\windows, where it is. However the
display from phpinfo says it is in c:\winnt.
Similarly the extension directory is lsited as c:\php4 rather than the value
in ithe ini file c:\php\extensions
How do I check this info to make sure it is correct?
Regards
Peter Goggin
--- End Message ---
--- Begin Message ---
I have run a script giving php info.
Some of the data in it appears to be incorrect. I set up php on win 98 and
the ini file is supposed to be in c:\windows, where it is. However the
display from phpinfo says it is in c:\winnt.
Similarly the extension directory is lsited as c:\php4 rather than the value
in ithe ini file c:\php\extensions
How do I check this info to make sure it is correct?
Regards
Peter Goggin
--- End Message ---
--- Begin Message ---
http://phpgeek.com/articles.php?content_id=3
Velling wrote:
> I've got apache to work and everything like that, it's fine.
>
> But I haven't got PHP to work, and this is my problem:
>
> In the installation file (install.txt) to PHP and other places that i've
> looked, it's the installation to Apache version1.x.xx, but I've got Apache
> vs 2.x.xx, so therefore the installation is wrong.
> "Ahh... that's not a problem! Just use those installation quides anyway,
> apache haven't changed much on that point!"-you might say.
> But, well, there I'll have to disagree. It has changed. Before (with vs
> 1.x.xx), you should add both "LoadModule php4_module..." AND "AddModule
> php..." (and that's what it says in the installation guide), but the new
> apache is changed, so now you only have to add "LoadModule...", and then the
> info from the "AddModule..." is probably in the "LoadModule"-files, or maybe
> somewhere else. But the fact is, if you only add "LoadModule
> php_module..."-(without the AddModule file) apache won't work right (at
> least not with PHP), because it haven't got the information from the
> AddModule php_mod.... So yes, it have changed.
>
> SO my question is, does anyone know how to install PHP on Apache 2.0.36 (on
> Windoze 98), not version 1.x.xx?
>
> I'd be very happy if you answer!
>
> Regards
> Mathias
>
> PS: Sorry for my bad english!
>
>
--- End Message ---
--- Begin Message ---
I am trying to compile PHP 4.2.1 with mysql and Apache 2 using gcc on
Solaris 2.7.
After $ ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
and $ make
I get:
Making all in Zend
make[1]: Entering directory `/home/jon/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_
PTHREAD_SEMANTICS -D_REENTRANT -I../TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS
-prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c ||
echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
from zend_language_parser.c:147:
zend.h:55: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/home/jon/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
It is certainly true that the file "unix.h" is nowhere on the system. Should
it be? I would be grateful if anyone who knows what's going on could help
me.
Jon
--- End Message ---