php-install Digest 20 Feb 2002 19:24:50 -0000 Issue 710
Topics (messages 6071 through 6092):
Antwort: [PHP-INST] maybe trivial (?): apxs doesn't create libphp4.so under AIX 4.3.3
6071 by: Karsten.Friedrich.merck.de
(Error) Premature end of script headers
6072 by: H.M.
6074 by: Hunter, Ray
gmp
6073 by: Murray Chamberlain
SNMP support not working
6075 by: Timothy R. Robnett
6076 by: Hunter, Ray
Re: Help me configure php please.
6077 by: Ryan Snow
how do i uninstall php?
6078 by: Ryan Snow
6079 by: Rasmus Lerdorf
6081 by: Ryan Snow
6082 by: Rasmus Lerdorf
Problems with SNMP
6080 by: nemholt_jf.tsm.es
6083 by: Hunter, Ray
config.cache file--what is it?
6084 by: Ryan Snow
6086 by: Stefan Siefert
6091 by: Hunter, Ray
cant find where ./configure --help works
6085 by: Ryan Snow
6088 by: Stefan Siefert
6089 by: Ryan Snow
6090 by: Stefan Siefert
one more 'can't do this':
6087 by: Ryan Snow
6092 by: Steve Cayford
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 think, i can not help you, but i have got the same problem:
PHP4.1.1
AIX 4.3.3
Apache 1.3.23 (tried with different APACHE Versions)
OpenSSL 0.9.6c
OpenLDAP, bison 1.32, flex 2.5.4a
gcc 3.0.1
... and so on.
The "make install" always ends with:
....
Making install in .
/WWW/apache/bin/apxs -i -a -n php4 libs/libphp4.so
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not
exist.
apxs:Break: Command failed with rc=1
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
#
I found out, that when i try to install "zlib" (which is installed on my
system already) into some other directory (just for testing) i get the
following message:
root: /WWW/install/zlib-1.1.3
> configure --shared
Checking for gcc...
Checking for shared library support...
No shared library suppport.
Building static library libz.a version 1.1.3 with gcc.
Checking for unistd.h... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
--> most important i think: *No shared library suppport.*
When i try this way:
root: /WWW/install/zlib-1.1.3
> CC=/usr/local/bin/gcc configure --shared
Checking for shared library support...
No shared library suppport; try without defining CC and CFLAGS
Building static library libz.a version 1.1.3 with /usr/local/bin/gcc.
Checking for unistd.h... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
--> again: *No shared library suppport.*
Does anybody know, if this could be a problem of AIX or the a problem of
the compiler?
I know, this might not be a problem related just to PHP, but i run into it
trying to install PHP (with LDAP-module).
Thank you for help in advance,
Karsten Friedrich
Merck KGaA Darmstadt
ISD/CW
Frankfurter Str. 250
64293 Darmstadt
Tel. +49 (0) 6151 72 2987
Fax +49 (0) 6151 72 91 2987
E-Mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
ien.ac.at An: [EMAIL PROTECTED]
Kopie:
19.02.2002 Thema: [PHP-INST] maybe trivial (?): apxs
doesn't create libphp4.so
12:06 under AIX 4.3.3
Hi php4-Installers,
what reason might cause the subject above ?
We have installed (and working well):
o gcc version 2.95.3 20010315 (release)
o perl, version 5.003 with EMBED built under aix
o OpenSSL 0.9.6
o mm-1.1.3
o Apache-1.3.23 configured with:
time CC=gcc CFLAGS=-O ./configure \
--prefix=/pd/apache_1.3.23 \
--enable-module=rewrite \
--enable-shared=rewrite
(with compiled-in modules mod_so.c - and mod_ssl.c ...)
o mod_ssl-2.8.6-1.3.23 configured with:
CC=gcc CFLAGS=-O ./configure \
--prefix=/pd/apache_1.3.23 \
--with-apache=/pd/apache_1.3.23 \
--with-ssl=/pd/openssl \
--with-mm=/pd/mm-1.1.3 \
--with-crt=/pd/openssl/certs/mail_cert.pem \
--enable-module=most \
--enable-module=ssl \
--enable-shared=rewrite
o gmake - GNU Make version 3.79.1 built for powerpc-ibm-aix4.3.3.0
o php-4.1.1 configured as:
time CC=gcc CFLAGS=-O ./configure \
--prefix=/pd/php-4.1.1 \
--with-apxs=/pd/apache_1.3.23/bin/apxs
... done well:
+--------------------------------------------------------------------+
| *** WARNING ***
|
| You chose to compile PHP with the built-in MySQL support. If you
| are compiling a server module, and intend to use other server
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and
| instead build it with your local MySQL support files, by adding
| --with-mysql=/path/to/mysql to your configure line.
+--------------------------------------------------------------------+
| License:
| This software is subject to the PHP License, available in this
| distribution in the file LICENSE. By continuing this installation
| process, you are bound by the terms of this license agreement.
| If you do not agree with the terms of this license, you must abort
| the installation process at this point.
+--------------------------------------------------------------------+
Thank you for using PHP.
real 29m48.27s (!)
user 1m6.67s
sys 4m10.69s
o gmake ... ok
o gmake install ... ending with:
.
.
.
Making install in .
gmake[1]: Entering directory `/appl/pd/php-4.1.1'
/pd/apache_1.3.23/bin/apxs -i -a -n php4 libs/libphp4.so
[activating module `php4' in /pd/apache_1.3.23/conf/httpd.conf]
cp libs/libphp4.so /pd/apache_1.3.23/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
gmake[1]: *** [install-sapi] Error 1
gmake[1]: Leaving directory `/appl/pd/php-4.1.1'
gmake: *** [install-recursive] Error 1
root@mail:/pd/php-4.1.1#
So, no libphp4.so on the system.
Considering we have the products (in most cases the up-to-date
versions)
it must be some obvious problem - but I have no idea.
Thanks for help in advance,
Erwin
--
Dipl.-Ing. Erwin SRUBAR
Zentraler Informatikdienst, Bereich ,,Zentrale Services``
Technische Universitaet Wien, Wiedner Hauptstrasse 8-10
Turm C (Roter Trakt), 2.Stk., Zi.DC02O08
A-1040 Wien, OeSTERREICH
Mail:[EMAIL PROTECTED]
Tel: (++43 1) 588-01/42084, Fax: (++43 1) 588-01/42099
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello,
I've installed PHP 4 (Windows) on an Apache Server.
I can run simple commands like :
<?php
print("hello");
?>
but commands sch as
<?php
phpinfo()
?>
generate an INTERNAL SERVER ERROR: In the Error log file I get the
following explanation:
Premature end of script headers : c:php/php.exe
Can anybody help?
--- End Message ---
--- Begin Message ---
Check to make sure that the apache server is looking in the correct location
for your php.exe file.
C:\php\php.exe
Not
C:php/php.exe
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: H.M. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 2:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] (Error) Premature end of script headers
Hello,
I've installed PHP 4 (Windows) on an Apache Server.
I can run simple commands like :
<?php
print("hello");
?>
but commands sch as
<?php
phpinfo()
?>
generate an INTERNAL SERVER ERROR: In the Error log file I get the
following explanation:
Premature end of script headers : c:php/php.exe
Can anybody help?
--- End Message ---
--- Begin Message ---
Hi,
I noticed that you have already installed gmp, I am trying to do the same. However I
am having several problems myself. I have already installed the apache binary so I am
bascially trying to install gmp with php. I have downloaded cygwin and the appropriate
tools, and the gmp library installs fine.
However I get a warning when I configure php, and when I go on to make it I get the
following error.
make[2]: Leaving directory '/php-4.1.1/main'
make[1]: Leaving directory '/php-4.1.1/main'
Making all in ext
make[1]: Entering directory '/php-4.1.1/ext'
making all in gmp
make[2]: Entering directory '/php-4.1.1/ext'
Makefile:19: *** missing seperator. Stop.
make[2]: Leaving directory '/php-4.1.1/ext/gmp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/php-4.1.1/ext'
make: *** [all-recursive] Error 1
I think the missing seperator is the problem can you help.
Thanks Murray
--- End Message ---
--- Begin Message ---
Greetings,
I have downloaded and compiled the latest source for both UCD-SNMP and PHP.
After a "successful" compile of both packages I can use the basic functions
of both UCD-SNMP via the provided command line tools and I can get PHP to
work with MySQL.
When I attempt to run code that worked on PHP 4.0.6 and UCD-SNMP 4.2 I get a
"Call to undefined function: snmpget()." Also when looking at phpinfo() I
see at the top where it lists out what my configure statement was but down
below I find no reference to SNMP anywhere. This also differs from my old
PHP 4.0.6 install.
I did find a reference on www.php.net to adding a #include <default_store.h>
to the top of the snmp.c file in the source tree. I did that as well and
recompiled but to no avail. Any other ideas. Thanks.
Sincerely,
Timothy R. Robnett
mailto:[EMAIL PROTECTED]
http://www.robnett.net/~tim/
***************************************************
"Americans are so enamored of equality, that they would
rather be equal in slavery than unequal in freedom."
Alexis de Tocqueville - Democracy in America Vol. I, 1835
***************************************************
--- End Message ---
--- Begin Message ---
Timothy,
Here is the break down:
1. Download ucd-snmp tar.gz file.
2. Download openssl tar.gz file.
You will need openssl for snmp v3 for the security stuff.
Uninstall ucd-snmp if it is installed on your system. Uninstall openssl on
your system.
3. Untar the files...
4. In the ucd-snmp directory find the file config.h and locate the
NO_ZEROLENGTH_COMMUNITY and uncomment the line if commented and set to 1. 5.
Configure, make, make install the ucd-snmp 6. Configure, make, make install
the openssl
***NOTE: Do a "make clean" in the php directory. Then remove the
config.cache file from the php directory.***
7. Configure php with snmp
Example:
./configure --prefix=/usr/local/php --with-snmp=/usr/local/snmp
--with-openssl=/usr/local/openssl --with-apxs=/usr/bin/apxs
make
make install
This should work for you.
***NOTE: THINGS I HAVE TRIED***
1. I have tried to compile php with the openssl and snmp rpms. However, php
chokes on the openssl rpm.
2. If you want to try it with your already installed rpms, here is the
configuration that I have tried.
./configure --prefix=/usr/local/php --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --oldincludedir=/usr/include
--with-config-file-path=/etc --with-apxs=/usr/sbin/apxs --with-pear
--enable-sigchild --enable-magic-qoutes --enable-libgcc --enable-bcmath
--enable-calendar --enable-ctype --enable-dbx --enable-ftp
--enable-gd-native-ttf --enable-trans-sid --enable-shmop
--enable-ucd-snmp-hack --enable-sockets --enable-wddx --enable-yp
--enable-inline-optimization --with-xml --disable-debug --enable-pic
--enable-shared --with-regex=system --with-gettext --with-gd
--with-jpeg-dir=/usr --with-zlib --enable-safe-mode --enable-sysvsem
--enable-sysvshm --enable-debugger --with-gdbm --with-db2 --with-db3
--with-png --with-openssl=/usr/include/openssl
The problem that I faced here is that php chokes on finding the evp.h header
file in the openssl directory. I look in the directory and it is there.
Let me know if I can help you further.
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Timothy R. Robnett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 8:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] SNMP support not working
Greetings,
I have downloaded and compiled the latest source for both UCD-SNMP and PHP.
After a "successful" compile of both packages I can use the basic functions
of both UCD-SNMP via the provided command line tools and I can get PHP to
work with MySQL.
When I attempt to run code that worked on PHP 4.0.6 and UCD-SNMP 4.2 I get a
"Call to undefined function: snmpget()." Also when looking at phpinfo() I
see at the top where it lists out what my configure statement was but down
below I find no reference to SNMP anywhere. This also differs from my old
PHP 4.0.6 install.
I did find a reference on www.php.net to adding a #include <default_store.h>
to the top of the snmp.c file in the source tree. I did that as well and
recompiled but to no avail. Any other ideas. Thanks.
Sincerely,
Timothy R. Robnett
mailto:[EMAIL PROTECTED]
http://www.robnett.net/~tim/
***************************************************
"Americans are so enamored of equality, that they would
rather be equal in slavery than unequal in freedom."
Alexis de Tocqueville - Democracy in America Vol. I, 1835
***************************************************
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Thanks Jim, I think that tells me my problem. I've got --without-mysql.
I guess I'm going to have to recompile php?
Thanks again. Ryan
PHP Version 4.0.4pl1
System
Linux
porky.devel.redhat.com 2.2.17-8smp #1 SMP Fri Nov 17
16:12:17 EST 2000 i686 unknown
Build Date
Mar 3 2001
Configure Command
'./configure'
'--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug'
'--enable-pic' '--enable-shared'
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
'--with-exec-dir=/usr/bin'
'--with-regex=system'
'--with-gettext'
'--with-gd' '--with-jpeg-dir=/usr'
'--with-png' '--with-zlib'
'--with-db2' '--with-db3'
'--with-gdbm'
'--enable-debugger' '--enable-magic-quotes'
'--enable-safe-mode'
'--enable-sockets'
'--enable-sysvsem'
'--enable-sysvshm'
'--enable-track-vars'
'--enable-yp' '--enable-ftp'
'--enable-wddx'
'--without-mysql' '--without-oracle'
'--without-oci8' '--with-xml'
Server API
Apache
Virtual Directory Support
disabled
Configuration File
(php.ini) Path
/etc
ZEND_DEBUG
disabled
Thread Safety
disabled
On Tue, 19 Feb 2002, Jim Thome wrote:
> Ryan-
>
> Need more info. What OS are you on? Linux? Win2K? Unix?
>
> Also, set up a script in your htdocs directory with the following:
> <?phpinfo();?>
>
> Reply back with the configure line of php.
>
> --
> Jim
>
> >>> Ryan Snow <[EMAIL PROTECTED]> 02/19/02 04:34PM >>>
>
> Hi, Im brand new to the list--just joined today. Working on a program
> for my cosmic ray/physics department, and can't seem to get out of the
> starting blocks. For some reason that seems quite strange to me, when I
> attempt to mysql_connect(...) it says functin undefined. Isn't mysql
> functionality included with the core PHP installation?
>
> Thanks for any help you can give me, information or howto stuff.
>
> ryan
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
Here's 'nuther dumb question:
Alright, I've realized that I don't have php4 installed --with-mysql. I
guess I have to reinstall it.
Problems:
1. I don't know where the current installation is.
2. I don't know how to uninstall it.
3. I don't have any configure file that I know of.
4. I don't know exactly how(but can probably find out--the biggest
problem is I don't have any config file to look at) to install it.
Thanks for any help you can give me.
Ryan
--- End Message ---
--- Begin Message ---
> 1. I don't know where the current installation is.
phpinfo() would tell you the configure line which tells you what sort of
PHP build you are dealiong with. Chances are it was built using
--with-apxs in which case your httpd.conf file has a LoadModule line that
loads the libphp4.so module from somewhere. Simply find that file.
> 2. I don't know how to uninstall it.
Remove the LoadModule line from httpd.conf and remove the libphp4.so file.
> 3. I don't have any configure file that I know of.
phpinfo() shows you the complete set of configure flags
-Rasmus
--- End Message ---
--- Begin Message ---
> > 2. I don't know how to uninstall it.
>
> Remove the LoadModule line from httpd.conf and remove the libphp4.so file.
Is this something I want to do if I am re-compiling/installing php?
--- End Message ---
--- Begin Message ---
> > > 2. I don't know how to uninstall it.
> >
> > Remove the LoadModule line from httpd.conf and remove the libphp4.so file.
>
> Is this something I want to do if I am re-compiling/installing php?
Nope. But you asked how to uninstall. If you are simply re-installing
don't worry about that.
-Rasmus
--- End Message ---
--- Begin Message ---
Hi, I have a rather strange problem with UCD-SNMP.
I use PHP 4.1.1 and UCD-SNMP 4.2.3
If I make a line like this :
echo snmpget("localhost", "public", "system.sysDescr.0");
...then I get a "Document contains no data" in the browser or at best a
message saying that the OID doesn't exist (which it does)
If I change to :
echo snmpget("localhost", "public", ".1.3.6.1.2.1.1.1");
...or :
echo snmpget("localhost", "public", "1.3.6");
...then I get the same.
...but if I look in phpinfo() ( http://statdb.dassic.com/phpinfo.php ) then
it's enabled, and I have the ucd-snmp-hack option in my configure...
On another machine running RedHat 6.2 buth with the same PHP & UCD-SNMP, it
only worked with 1.3.6 and gave a wrong result.
What's wrong ?
/Jesper
--- End Message ---
--- Begin Message ---
Try using it with the oid and add a .0 at the end of the mib.
Example:
echo snmpget( "localhost", "public", "1.3.6.1.2.1.1.1.0" );
Need to have a zero at the end of MIB...
Check to make sure that you have snmpd running on your system or try it on
another system that has snmp set up.
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 10:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Problems with SNMP
Hi, I have a rather strange problem with UCD-SNMP.
I use PHP 4.1.1 and UCD-SNMP 4.2.3
If I make a line like this :
echo snmpget("localhost", "public", "system.sysDescr.0");
...then I get a "Document contains no data" in the browser or at best a
message saying that the OID doesn't exist (which it does)
If I change to :
echo snmpget("localhost", "public", ".1.3.6.1.2.1.1.1");
...or :
echo snmpget("localhost", "public", "1.3.6");
...then I get the same.
...but if I look in phpinfo() ( http://statdb.dassic.com/phpinfo.php ) then
it's enabled, and I have the ucd-snmp-hack option in my configure...
On another machine running RedHat 6.2 buth with the same PHP & UCD-SNMP, it
only worked with 1.3.6 and gave a wrong result.
What's wrong ?
/Jesper
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
In the INSTALL file for php, it says if you are re-compiling to add
extensions, etc., to make sure to "remove the config.cache file before you
re-run configure."
Question: is 'config.cache' the name of the cache file or just the
description. If it is just the description, what would the cache file's
name be? A wild guess of mine is /etc/ld.so.cache, but Im not sure, and
don't want to screw anything up.
Ryan
--- End Message ---
--- Begin Message ---
Hi,
after you run a ./configure it creates a config.cache file (and a lot more
files). In this file all the configure options etc. are stored. So .. before
you run a new ./configure be sure to remove the file.
Ahm yes the name of the file is indeed 'config.cache'
Greetings,
Stefan Siefert
-----Ursprungliche Nachricht-----
Von: Ryan Snow [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Februar 2002 19:19
An: [EMAIL PROTECTED]
Betreff: [PHP-INST] config.cache file--what is it?
In the INSTALL file for php, it says if you are re-compiling to add
extensions, etc., to make sure to "remove the config.cache file before you
re-run configure."
Question: is 'config.cache' the name of the cache file or just the
description. If it is just the description, what would the cache file's
name be? A wild guess of mine is /etc/ld.so.cache, but Im not sure, and
don't want to screw anything up.
Ryan
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
It is the name of the file located in your php directory.
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Ryan Snow [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] config.cache file--what is it?
In the INSTALL file for php, it says if you are re-compiling to add
extensions, etc., to make sure to "remove the config.cache file before you
re-run configure."
Question: is 'config.cache' the name of the cache file or just the
description. If it is just the description, what would the cache file's
name be? A wild guess of mine is /etc/ld.so.cache, but Im not sure, and
don't want to screw anything up.
Ryan
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I don't know where php was installed from, so I can't find where
./configure --help works at. I've tried 'locate configure' but there
doesn't seem to be a file for php/in any php-related directories.
Thanks for any help.
Ryan
--- End Message ---
--- Begin Message ---
Hi,
first of all you should tell us some infos:
What system are you running (Redhat Suse Debian etc.)
Is the server/computer yours or do you use any hostingservice?
It could be that php wasn't installed from the source but installed as a
binary (if you have the preinstalled php of a distribution or so) .. then
you need to get the sources from www.php.net unzip and untar them and then
.. ./configure :)
Greetings,
Stefan Siefert
-----Ursprungliche Nachricht-----
Von: Ryan Snow [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Februar 2002 19:23
An: [EMAIL PROTECTED]
Betreff: [PHP-INST] cant find where ./configure --help works
I don't know where php was installed from, so I can't find where
./configure --help works at. I've tried 'locate configure' but there
doesn't seem to be a file for php/in any php-related directories.
Thanks for any help.
Ryan
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Im using Redhat, it's my own computer(root), but all the installation was
done before I got the computer.
Is there any way to know if I have the source?
On Wed, 20 Feb 2002, Stefan Siefert wrote:
> Hi,
>
> first of all you should tell us some infos:
>
> What system are you running (Redhat Suse Debian etc.)
> Is the server/computer yours or do you use any hostingservice?
>
> It could be that php wasn't installed from the source but installed as a
> binary (if you have the preinstalled php of a distribution or so) .. then
> you need to get the sources from www.php.net unzip and untar them and then
> .. ./configure :)
>
> Greetings,
>
> Stefan Siefert
>
> -----Ursprungliche Nachricht-----
> Von: Ryan Snow [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 20. Februar 2002 19:23
> An: [EMAIL PROTECTED]
> Betreff: [PHP-INST] cant find where ./configure --help works
>
>
> I don't know where php was installed from, so I can't find where
> ./configure --help works at. I've tried 'locate configure' but there
> doesn't seem to be a file for php/in any php-related directories.
>
> Thanks for any help.
>
> Ryan
>
> --
> 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
>
>
--- End Message ---
--- Begin Message ---
Hm, normaly the sources aren't installed with the basic system. If sources
are installed they should be in /usr/src/Redhat/ and there in some
subdirectories (as said before .. normaly they aren't installed).
SO .. go get them from www.php.net
make: gunzip loadedfile
make: tar -xf loadedfile
make: cd php-4.1.1 (or any version you got)
there you can run ./configure --help
Greetings,
Stefan Siefert
-----Ursprungliche Nachricht-----
Von: Ryan Snow [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Februar 2002 19:39
An: Stefan Siefert
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: [PHP-INST] cant find where ./configure --help works
Im using Redhat, it's my own computer(root), but all the installation was
done before I got the computer.
Is there any way to know if I have the source?
On Wed, 20 Feb 2002, Stefan Siefert wrote:
> Hi,
>
> first of all you should tell us some infos:
>
> What system are you running (Redhat Suse Debian etc.)
> Is the server/computer yours or do you use any hostingservice?
>
> It could be that php wasn't installed from the source but installed as a
> binary (if you have the preinstalled php of a distribution or so) .. then
> you need to get the sources from www.php.net unzip and untar them and then
> .. ./configure :)
>
> Greetings,
>
> Stefan Siefert
>
> -----Ursprungliche Nachricht-----
> Von: Ryan Snow [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 20. Februar 2002 19:23
> An: [EMAIL PROTECTED]
> Betreff: [PHP-INST] cant find where ./configure --help works
>
>
> I don't know where php was installed from, so I can't find where
> ./configure --help works at. I've tried 'locate configure' but there
> doesn't seem to be a file for php/in any php-related directories.
>
> Thanks for any help.
>
> Ryan
>
> --
> 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
>
>
--- End Message ---
--- Begin Message ---
the command 'httpd -l' yields bash: httpd: command not found.
any insight?
--- End Message ---
--- Begin Message ---
On my machine httpd is in /usr/sbin. That's not commonly listed on a
bash path, so try /usr/sbin/httpd instead (if that's where it is).
-steve
On Wednesday, February 20, 2002, at 12:26 PM, Ryan Snow wrote:
>
> the command 'httpd -l' yields bash: httpd: command not found.
>
> any insight?
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---