php-install Digest 13 Jun 2002 14:29:05 -0000 Issue 882
Topics (messages 7310 through 7316):
Re: PHP Installation : apxs ?????
7310 by: shanky
7311 by: shanky
7312 by: shanky
Has anyone succesfully installed PHP4 on a Win98 running PWS?
7313 by: César Monroy
Server not seeing PHP (Win32)
7314 by: Jacques Steyn
Re: PHP & Apache 2-0-35
7315 by: Garzon Maldonado, Jesus Javier
ext/openssl and ext/xslt will not make shared libs (PHP 4.2.1)
7316 by: Robert Tuttle
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 ---
Thanks, but I don't seem to have it at all.
$ cd /
$ find . -name "*apxs*" -print
./usr/share/man/man8/apxs.8.bz2
Is this ok ? But my apache seems to be working fine !
Can someone suggest me as how I get this or can I proceed with the
installation.
Sebastian Wolfgarten wrote:
> Hi Shanky,
>
> apxs is part of the apache distribution,
> you will find it in the subdirectory bin
> of your apache install directory (mostly).
> Be sure to use --with-apxs2 option when
> configuring for the case you will ever
> use apache2...
>
> bye,
> sebastian
>
>
>
--- End Message ---
--- Begin Message ---
I didn't build apache on this machine/version. I'm using the apache 1.3
that came with 8.1 mandrake.
If that is the case, how would I add this ? thanks.
Jason Reid wrote:
> it is possible that you didnt build apache with apxs support. thats why its
> not there im guessing.
>
> ----- Original Message -----
> From: "shanky" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "Sebastian Wolfgarten" <[EMAIL PROTECTED]>
> Sent: Tuesday, June 11, 2002 12:04 AM
> Subject: Re: [PHP-INST] PHP Installation : apxs ?????
>
>
>
>>Thanks Sebastian. But I don't seem to have it at all.
>>
>>$ cd /
>>$ find . -name "*apxs*" -print
>>./usr/share/man/man8/apxs.8.bz2
>>
>>Is it possible. But my apache seems to be working fine !
>>
>>Sebastian Wolfgarten wrote:
>>
>>
>>>Hi Shanky,
>>>
>>>apxs is part of the apache distribution,
>>>you will find it in the subdirectory bin
>>>of your apache install directory (mostly).
>>>Be sure to use --with-apxs2 option when
>>>configuring for the case you will ever
>>>use apache2...
>>>
>>>bye,
>>>sebastian
>>>
>>>
>>>
>>>
>>
>>
>>--
>>PHP Install Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
--- End Message ---
--- Begin Message ---
I didn't build apache on this machine/version. I'm using the apache 1.3
that came with 8.1 mandrake.
If that is the case, how would I add this ? thanks.
Jason Reid wrote:
> it is possible that you didnt build apache with apxs support. thats why its
> not there im guessing.
>
> ----- Original Message -----
> From: "shanky" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "Sebastian Wolfgarten" <[EMAIL PROTECTED]>
> Sent: Tuesday, June 11, 2002 12:04 AM
> Subject: Re: [PHP-INST] PHP Installation : apxs ?????
>
>
>
>>Thanks Sebastian. But I don't seem to have it at all.
>>
>>$ cd /
>>$ find . -name "*apxs*" -print
>>./usr/share/man/man8/apxs.8.bz2
>>
>>Is it possible. But my apache seems to be working fine !
>>
>>Sebastian Wolfgarten wrote:
>>
>>
>>>Hi Shanky,
>>>
>>>apxs is part of the apache distribution,
>>>you will find it in the subdirectory bin
>>>of your apache install directory (mostly).
>>>Be sure to use --with-apxs2 option when
>>>configuring for the case you will ever
>>>use apache2...
>>>
>>>bye,
>>>sebastian
>>>
>>>
>>>
>>>
>>
>>
>>--
>>PHP Install Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
--- End Message ---
--- Begin Message ---
Hi Group:
I recently downloaded PHP4 to try it in my Win98/Personal Web Server.
Even after several installations following instructions, my server refuses
to
interpret PHP scripts...
1. Downloaded PHP 4.2.1 for Windows
2. Unzipped to C:\PHP
3. Edited and copied PHP.INI to C:\Windows
4. PWS works fine at http://localhost
5. Added virtual folder C:\PHP to PWS and set execute privileges
6. Rebooted computer
7. Wrote a simple PHP file: <?php echo "This is a test"; ?>
8. Opened browser and pointed to http://localhost/test.htm
The page displays correctly but the string THIS IS A TEST never
showed.
Can anyone point me to what I did wrong?
--- End Message ---
--- Begin Message ---
Hi
What could be the problem when a server does not seem to pick up PHP?
This is for Win32 (=Win98), set up on a local box.
I have read the PHP manual, I have looked at discussions, I have tried
both Apache and MS PWS, I have tried different PHP4 versions, I have
made all the required changes to php.ini, I have searched several PHP
web sites, I have installed with a nifty tool I found at
http://php.weblogs.com/easywindows, I bought a couple of books (Welling
and Thomson, Schwendiman, Greenspan and Bulger) and followed their
advice...
but there still is a problem.
The servers (Apache and MS PWS) run fine as they serve HTML documents
properly. They do not parse the embedded PHP code.
And with *.php files this happens:
Before installing with the mentioned tool, the error message complained
about not being able to access PHP due to CGI problem.
After using the tool, I get an HTTP 500 error message when trying to
read *.php files.
I want to sit in a corner an eat a worm....
Please help.
Thanks
Jacques
--
___________________
Jacques Steyn
--- End Message ---
--- Begin Message ---
Hello all:
I'm working with FreeBSD 4.4. I've tried to configure Apache 2.0.35 with PHP 4.2.1.
I've got GNU PTH 1.4.0_1 installed.
First I install Apache doing this:
./configure --prefix=/usr/local/apache2 --enable-module=so
make clean
make
make install
without problems.
Then I try to install PHP doing this:
./configure --with-mysql --with-tsrm-pth --with-apxs2=/usr/local/apache2/bin/apxs
make clean
make
make install
also without problems.
But, when I try to launch the server the following message appears:
Cannot load /usr/local/apache2/modules/libphp4.so into server: Shared object
libpth.so.14 not found.
libpth.so.14 is located into /usr/local/lib/pth.
What happens?, What can I do?
Thank you very much.
Jesús Javier Garzón Maldonado
Radar, Mando y Control
Carretera Loeches, Nº 9
28850 - Torrejón de Ardoz (ESPAÑA)
Tel: +34-91-626.82.68
[EMAIL PROTECTED]
www.indra.es
--- End Message ---
--- Begin Message ---
I have been trying to build as many PHP (4.2.1) modules as shared, as
possible.
The only two left that I was really hoping to make shared are OpenSSL and
XSLT.
I have tried both kinds of "supported" switches on both, with no success.
These two insist on being compiled into PHP statically.
1) --with-openssl=shared,/usr/local
2) --enable-shared=openssl
Yes, I know that in ./configure --help, the following info is found:
(paying attention to the NOTE statement)
<snip>
Extensions:
--with-EXTENSION=[shared[,PATH]]
NOTE: Not all extensions can be build as 'shared'.
Example: --with-foobar=shared,/usr/local/foobar/
o Builds the foobar extension as shared extension.
o foobar package install prefix is /usr/local/foobar/
</snip>
So, a question would be is there any place in any documentation anywhere
that has a list of exactly which modules cannot be build as 'shared'. It
really can't be a process of trial and error and guessing, can it?
Is there some intelligent, easy way to tell which can and which can't.
(Looking for some key info in the config.m4 files, maybe?)
If you have been able to get either one of these modules or both built as
shared libs to PHP, please respond here so I will know that it is then some
issue with my configuration and/or other required dependencies that are
keeping these modules from being built as I would like.
--
Robert Tuttle
Senior Web Developer/Architect
United Devices, Inc.
[EMAIL PROTECTED]
--- End Message ---