php-install Digest 14 Mar 2003 08:55:43 -0000 Issue 1288

Topics (messages 10333 through 10340):

help removing 4.3.2 and installing 4.2.3
        10333 by: Ronald Petty
        10334 by: Jim Thome
        10336 by: Ronald Petty

Extensions not working
        10335 by: Chris Haidvogel

php 4.2.2 won't compile as a DSO for apache 2.0.40
        10337 by: Ronald Petty
        10339 by: Jim Thome

PHP+XML=false?
        10338 by: Andreas Ekeroot

Beginners problem - virtual host ?
        10340 by: Karin Ax

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 ---
File uploads are broken in 4.3.2 and I want to go back to 4.2.3.

I deleted all the php/pear files in /usr/local/bin and
/usr/local/lib/php

and removed my libphp4.so in /modules

but when I reinstalled there is no php executable now, and no errors. 
The libphp4 seems to work, but that is it.

Any idea why I dont have php executable?

Here is my ./configure

./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gd
--with-pgsql --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--prefix=/usr/local/php

I moved to /usr/local/php in order to see if it would place the new php
executable in php/bin but it is not there.

Help :)
Ron


--- End Message ---
--- Begin Message ---
Because you compiled it as a DSO.

Recompile and drop the --with-apxs2 switch, and you will have your
executable.

[make distclean first]

--
Jim


>>> Ronald Petty <[EMAIL PROTECTED]> 03/13/03 11:15AM >>>
File uploads are broken in 4.3.2 and I want to go back to 4.2.3.

I deleted all the php/pear files in /usr/local/bin and
/usr/local/lib/php

and removed my libphp4.so in /modules

but when I reinstalled there is no php executable now, and no errors. 
The libphp4 seems to work, but that is it.

Any idea why I dont have php executable?

Here is my ./configure

./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gd
--with-pgsql --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--prefix=/usr/local/php

I moved to /usr/local/php in order to see if it would place the new
php
executable in php/bin but it is not there.

Help :)
Ron


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
Just to let you know, I went back to the previous version of php and
uploads are still twice the size.  I am going to go back a version of
apache and I bet it will work, Ill update soon.
Ron

On Thu, 2003-03-13 at 12:20, Jim Thome wrote:
> Because you compiled it as a DSO.
> 
> Recompile and drop the --with-apxs2 switch, and you will have your
> executable.
> 
> [make distclean first]
> 
> --
> Jim
> 
> 
> >>> Ronald Petty <[EMAIL PROTECTED]> 03/13/03 11:15AM >>>
> File uploads are broken in 4.3.2 and I want to go back to 4.2.3.
> 
> I deleted all the php/pear files in /usr/local/bin and
> /usr/local/lib/php
> 
> and removed my libphp4.so in /modules
> 
> but when I reinstalled there is no php executable now, and no errors. 
> The libphp4 seems to work, but that is it.
> 
> Any idea why I dont have php executable?
> 
> Here is my ./configure
> 
> ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gd
> --with-pgsql --with-jpeg-dir=/usr/local/lib
> --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
> --prefix=/usr/local/php
> 
> I moved to /usr/local/php in order to see if it would place the new
> php
> executable in php/bin but it is not there.
> 
> Help :)
> Ron
> 


--- End Message ---
--- Begin Message ---
Hello,

I have installed php php 4.3.1 on Win XP Pro with Apache 2.0.44.  The
install went fine and it all works, however I now need to take advantage of
php_gettext.dll.  I edited my php.ini file by uncommenting the
php_gettext.dll line.  I then went to restart apache and got the error
message that "Unknown(): Unable to load dynamic library
'c:\php\extensions\php_gettext.dll' - The specified module could not be
found.".  PHP appears to still load even with that error dialog coming up
however gettext doesn't work.  I experimented with other extensions and
there are some that work (php_exif.dll) and some that don't.  I have looked
and the dll's are in the appropriate directory.  Any one have any ideas on
how to fix this?  Did I skip a step somewhere?  Is there something special
that needs to be done for some extensions to work?

Thank you,
Chris Haidvogel
Videk



--- End Message ---
--- Begin Message ---
My make keeps dieing, here is my apache config and php config

apache (i started successfully)
./configure --prefix=/usr/local/apache --enable-so

php
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gd
--with-pgsql --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--prefix=/usr/local/php

Here is the error
make
...
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.2.2/sapi'
Making all in apache2filter
make[2]: Entering directory
`/usr/local/src/php-4.2.2/sapi/apache2filter'
make[3]: Entering directory
`/usr/local/src/php-4.2.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.2.2/libtool --silent --mode=compile gcc 
-I. -I/usr/local/src/php-4.2.2/sapi/apache2filter
-I/usr/local/src/php-4.2.2/main -I/usr/local/src/php-4.2.2
-I/usr/local/apache/include -I/usr/local/src/php-4.2.2/Zend
-I/usr/local/src/php-4.2.2/ext/mysql/libmysql -I/usr/local/pgsql/include
-I/usr/local/src/php-4.2.2/ext/xml/expat  -D_REENTRANT
-I/usr/local/src/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of
`ap_register_output_filter' makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1


I have tried removing ALL ./configure options except the apxs stuff and
it also gives the same error.

Any ideas?

The latest apache/php do not work write on the file uploads, so anyone
know what versions I can try that work?

Ron


--- End Message ---
--- Begin Message ---
Apache 2.x and PHP is still experimental.  Instead, use PHP 4.2.3 and
Apache 1.3.27.

~Jim

Jim Thome
Web Technology Administrator
[EMAIL PROTECTED]
>>> Ronald Petty <[EMAIL PROTECTED]> 03/13/03 14:14 PM >>>
My make keeps dieing, here is my apache config and php config

apache (i started successfully)
./configure --prefix=/usr/local/apache --enable-so

php
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gd
--with-pgsql --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--prefix=/usr/local/php

Here is the error
make
...
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.2.2/sapi'
Making all in apache2filter
make[2]: Entering directory
`/usr/local/src/php-4.2.2/sapi/apache2filter'
make[3]: Entering directory
`/usr/local/src/php-4.2.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.2.2/libtool --silent --mode=compile gcc 
-I. -I/usr/local/src/php-4.2.2/sapi/apache2filter
-I/usr/local/src/php-4.2.2/main -I/usr/local/src/php-4.2.2
-I/usr/local/apache/include -I/usr/local/src/php-4.2.2/Zend
-I/usr/local/src/php-4.2.2/ext/mysql/libmysql -I/usr/local/pgsql/include
-I/usr/local/src/php-4.2.2/ext/xml/expat  -D_REENTRANT
-I/usr/local/src/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of
`ap_register_output_filter' makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1


I have tried removing ALL ./configure options except the apxs stuff and
it also gives the same error.

Any ideas?

The latest apache/php do not work write on the file uploads, so anyone
know what versions I can try that work?

Ron


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
The XML parser on my PHP-server won't start. When I run:

$parser = xml_parser_create();

I get:

Fatal error: Call to undefined function: xml_parser_create() in
/home/Andreas/public_html/xmltest.php on line 7

Why?

I am running on a computer with Slackware 8.1 installed. I have the PHP
that comes bundled (I hope this is the right word) with Slackware 8.1. PHP
v. 4.0.5.

The configuration options I got with phpinfo() that I think are important
is this:

'--with-xml=shared'

What do I do about this problem?

//Andreas

--- End Message ---
--- Begin Message ---
Hi there,

I just recently installed the Nusphere package on my computer.

I want to create a "development environment", I guess this is called a
"virtual host", that is located in a directory chosen by me, that contains
the source PHP-files. How do I do this?

I have been browsing the helpfiles and since I am not familiar to the
terminology I find it somewhat hopeless to find what I am looking for. (I
have massive experiece from computers and programming, but not from
web-programming) Hope someone can help me out.

/Karin



--- End Message ---

Reply via email to