php-install Digest 28 Feb 2003 02:13:10 -0000 Issue 1268
Topics (messages 10217 through 10230):
open /dev/port: operation not permitted
10217 by: ati ati
Can't set register_globals to On even if I edit php.ini
10218 by: Cl. Yuri Huitron Alvarado
10219 by: Jim Thome
10220 by: Cl. Yuri Huitron Alvarado
PHP 4.3.1 on AIX 5.1 ... possible?
10221 by: Aaron Gould
10222 by: Stanislav Malyshev
10225 by: Aaron Gould
Re: Segmentation Faults in *.php
10223 by: Hartmut Hembrock
Make error during installation
10224 by: jsauer.dticam.dtic.mil
install problem (newbe)
10226 by: NewsGroupUser
10227 by: Rich Gray
make problem with PHP4.3.1
10228 by: Darrin Taylor
configure problems with sablotron and red hat 8
10229 by: Daniel
Re: php not executed, mime type problem?
10230 by: Ted Pochmara
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 ---
Hello all,
I've installed PHP 4.1.2 to the Apache Web server,
and I wanted to control IO ports. But I always got
"error: Cannot open /dev/port: Operation not permitted "
or
"error: ioperm: Operation not permitted "
I played with the httpd.conf - <Directory /> ... </Directory>
<Directory /var/www..> ...</Directory>
no success. I have root access.
Any help aprecaited.
Thanks
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
Apache 1.3.27
PHP 4.3.1
Solaris 8 SPARC
Can't set register_globals to On , even if I edit php.ini....even tryied
changing the php.ini-dist file on the source directory....
what can be happening ?
****************************************************************
Yuri Huitrón Alvarado
Administrador de Servicios de Internet
Universidad Autónoma de Coahuila
***************************************************************
--- End Message ---
--- Begin Message ---
-Print out your PHP configuration using the phpinfo() function, to make
your php.ini file is where you think it is.
-Make sure permissions on php.ini is at least 644.
-Remember to restart your server.
--
Jim
>>> "Cl. Yuri Huitron Alvarado" <[EMAIL PROTECTED]> 02/27/03 09:00AM
>>>
Apache 1.3.27
PHP 4.3.1
Solaris 8 SPARC
Can't set register_globals to On , even if I edit php.ini....even
tryied
changing the php.ini-dist file on the source directory....
what can be happening ?
****************************************************************
Yuri Huitrón Alvarado
Administrador de Servicios de Internet
Universidad Autónoma de Coahuila
***************************************************************
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
In fact, with phpinfo() it's how I know if register_globals is On ....
and php.ini has already 644....
****************************************************************
Yuri Huitrón Alvarado
Administrador de Servicios de Internet
Universidad Autónoma de Coahuila
***************************************************************
La vida puede ser grandiosa con la gente indicada.
-------------------------------------------------------
El problema de saber lo que quieres es que tienes que tenerlo.
-------------------------------------------------------
Tu cuerpo esta muerto, no tu mente
------
--- End Message ---
--- Begin Message ---
Is it possible to install PHP 4.3.1 on AIX 5.1? I'm trying to install it as
a dynamic module for Apache 1.3.27/Mod_SSL.
Apache/Mod_SSL configured and compiled without a hitch. However, PHP does
to fare so well.
The "configure" works fine, and completes without any errors. This is the
line I use:
configure --prefix=/usr/local/apache --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/opt/freeware --enable-trans-sid
The subsequent "make" gives a load of warnings, and "make install" dies with
an error every time. Is there a known way of getting this to work? I've
even tried without the last two of the above options in the configure line.
That resulted in the same errors.
Does anyone have any instructions or websites documenting the steps
necessary (ie. pre-requisite software to be installed, etc)?
Thanks,
--
Aaron Gould
--- End Message ---
--- Begin Message ---
AG>> Is it possible to install PHP 4.3.1 on AIX 5.1? I'm trying to
AG>> install it as a dynamic module for Apache 1.3.27/Mod_SSL.
Yes it is. I did that myself :)
AG>> configure --prefix=/usr/local/apache
AG>> --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/opt/freeware
AG>> --enable-trans-sid
Looks good so far.
AG>> The subsequent "make" gives a load of warnings, and "make install"
AG>> dies with an error every time. Is there a known way of getting this
AG>> to work? I've even tried without the last two of the above options
AG>> in the configure line. That resulted in the same errors.
I don't know about make install, I just went to .libs, took .so, put it
into /usr/local/apache/libexec, added LoadModule to httpd.conf and it
worked.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109
--- End Message ---
--- Begin Message ---
Thank you sir, it worked like a charm!
--
Aaron Gould
----- Original Message -----
From: "Stanislav Malyshev" <[EMAIL PROTECTED]>
To: "Aaron Gould" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 11:37 AM
Subject: Re: [PHP-INST] PHP 4.3.1 on AIX 5.1 ... possible?
> AG>> Is it possible to install PHP 4.3.1 on AIX 5.1? I'm trying to
> AG>> install it as a dynamic module for Apache 1.3.27/Mod_SSL.
>
> Yes it is. I did that myself :)
>
> AG>> configure --prefix=/usr/local/apache
> AG>> --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/opt/freeware
> AG>> --enable-trans-sid
>
> Looks good so far.
>
> AG>> The subsequent "make" gives a load of warnings, and "make install"
> AG>> dies with an error every time. Is there a known way of getting this
> AG>> to work? I've even tried without the last two of the above options
> AG>> in the configure line. That resulted in the same errors.
>
> I don't know about make install, I just went to .libs, took .so, put it
> into /usr/local/apache/libexec, added LoadModule to httpd.conf and it
> worked.
>
> --
> Stanislav Malyshev, Zend Products Engineer
> [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109
>
--- End Message ---
--- Begin Message ---
Hi!
> The script <?php print "Hello World!"; ?> works fine, too, so I think
> there was no error in the installation progress.
> But <?php phpinfo(); ?> results in Segmentation fault:
>>child pid 18740 exit signal Segmentation fault (11)
I've solved the problem on my own. One of the following packages in the SuSE
distribution was responsible for the problem:
- UW imap
- libpng
- libjpeg
- libtiff
- mcrypt
(and the corresponding "devel"-packages)
I can't say which, because I removed every SuSE-package from the system and compiled
them on my own.
After that (the newly compiled) PHP worked fine.
Thank you.
Kind regards,
Hartmut
--- End Message ---
--- Begin Message ---
Hello,
I am running Solaris 8 on a Sun Ultra 1
It configures okay with the following command line:
./configure --with-mysql=/snortlogs/mysql3
--with-apxs2=/test/apache/bin/apxs
When I run make, it goes okay for a while until this error.
ld: fatal: file ext/ctype/ctype.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'
I've searched the php site, but didn't find anything.
Any ideas on what is up?
Thanks,
Jim
--- End Message ---
--- Begin Message ---
Hi, I am trying to install php on a xp system that run IIS. I downloaded PHP
4.3.1 zip package [5,853Kb]. When I double clik php.exe, a DOS window open
and nothing happens ... Should I type a command to start the setup? Am I
dealing with a bug or a windows configuration problem?
I also like to know if IIS and php is sutable for me. I want to install
mysql. I will be developing simple dynamic sites. If not, woud you recommand
any configuration.
Thanks a lot
Charles
--- End Message ---
--- Begin Message ---
Charles
The .zip distribution is for a manual install - i.e. you have to unzip and
configure everything yourself. You need to download the Windows 4.3.1
Installer version instead
(http://www.php.net/get/php-4.3.1-installer.exe/from/a/mirror)
FWIW the php.exe you double clicked on was the CGI/CLI version of the PHP
interpreter
Cheers
Rich
>
> Hi, I am trying to install php on a xp system that run IIS. I
> downloaded PHP
> 4.3.1 zip package [5,853Kb]. When I double clik php.exe, a DOS window open
> and nothing happens ... Should I type a command to start the setup? Am I
> dealing with a bug or a windows configuration problem?
>
> I also like to know if IIS and php is sutable for me. I want to install
> mysql. I will be developing simple dynamic sites. If not, woud
> you recommand
> any configuration.
>
> Thanks a lot
>
> Charles
--- End Message ---
--- Begin Message ---
OK I have looked through the archives and all over the net. I apologise if
this has been seen before but here goes :
No matter what switches I use I get the same error when I "make" ./configure
goes fine. RedHat 8.1 beta PHP 4.3.1 the error is :
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/root/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to
`errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/root/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to
`errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/root/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to
`errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/root/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to
`errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/root/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to
`errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/root/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Thanx for any help
Darrin
--- End Message ---
--- Begin Message ---
I am having configure problems with red hat 8 and sablotron.
I have expat and sablotron 0.97 intalled from rpm.
I looks like a conflict between gcc 2.8 and 3.2, but I don't know how to get
around it. Has anyone seen this before?
when I go to compile php 4.3.1 --enable-xslt --with-xslt-sablot
I get this error (works no problem without the xslt flags):
checking whether to enable XML support... yes
checking external libexpat install dir... yes
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... no
checking iconv dir for XMLRPC-EPI... no
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... yes
checking for libexpat dir for Sablotron XSL support... yes
checking for iconv dir for Sablotron XSL support... yes
checking for JavaScript for Sablotron XSL support... yes
checking for Sablotron libraries in the default path... found in /usr/local
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version 0.96
or greater required.
this is from config.log
configure:71260: checking whether to enable XML support
configure:71306: checking external libexpat install dir
configure:71951: checking for XMLRPC-EPI support
configure:71997: checking libexpat dir for XMLRPC-EPI
configure:72022: checking iconv dir for XMLRPC-EPI
configure:73484: checking whether to enable xslt support
configure:73530: checking for XSLT Sablotron backend
configure:73555: checking for libexpat dir for Sablotron XSL support
configure:73580: checking for iconv dir for Sablotron XSL support
configure:73605: checking for JavaScript for Sablotron XSL support
configure:73859: checking for Sablotron libraries in the default path
configure:73875: checking for sablot-config
configure:73893: checking for Sablotron version
configure:73918: gcc -o
conftest -g -O2 -I/usr/local/include -lstdc++ -Wl,-rpath,/usr/local/etc/lib
-L/usr/local/etc/lib -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql
conftest.c -lpspell -lpanel -lncurses -lmysqlclient -lsybdb -lttf -lpng -lz
-ljpeg -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lxml2 -lz -lm 1>&5
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
configure: failed program was:
#line 73900 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <sablot.h>
int main ()
{
double version;
version = atof(SAB_VERSION);
if (version >= 0.96) {
exit(0);
}
exit(255);
}
--- End Message ---
--- Begin Message ---
I'm using Apache 2.0.43 and I'm having the same problem with loading the php
module. I tried following these directions but did not find an AddModule
section and Bob Silva's instructions did not mention it either. I've
followed everything in those instructions to no avail. The event viewer is
giving me this error
>>> Apache.exe: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c"
is not compatible with this version of Apache (found 20020628, need
20020903). .
There is no snap folder in build of php4.2.3 and my LoadModule line looks
like this LoadModule php4_module C:/php/sapi/php4apache2.dll
The Apache server starts fine without that LoadModule line in there. Is the
event error correct in that there is no compatablity?
Thanks for the help,
Ted
"Stephen Edmonds" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chances are you've not put the commands in the correct place, instead just
> copy and pasted them into the config
> file.
>
> LoadModule php4_module C:\PHP\sapi\php4apache.dll
> This has to be in the same place as all the other LoadModule commands. If
> you look through your httpd.conf file for Apache, you will see a whole
load
> of LoadModules with #'s in front of them. You need to place the above line
> at the end of that list.
>
> If you then scroll down a bit the next section should be 'AddModule'. In
> this section, you have to put the line
> AddModule mod_php4.c
> at the bottom of the list. Both commands are needed to properly load PHP.
>
> Once that is done, you will need to run a search for
> '# AddType allows you to tweak mime.types without actually editing it, or
> to'
> Below that line should be a series of AddType commands. Again, you need to
> put
> AddType application/x-httpd-php .php
> at the end of the list.
>
> AddType application/x-httpd-php-source .phps
> is an optional feature, I personnally do not use it as I do not want
people
> to be able to view my source code. However it is up to you. If you do
> include it, put it in the same section as the other file.
>
> If that doesn't solve your problem, or you've done all that already, then
> remember you need to restart Apache for it to take effect. Also check that
> php is installed in the path you've set in httpd.conf (In this case
> C:\PHP\). Also check that C:\PHP\sapi\php4apache.dll is present in the
> correct folder, and that the following two files are in the SAME directory
> as php4apache.dll :
>
> php4ts.dll
> php4ts.lib
>
> Good Luck you two, let me know how it goes
>
> Stephen
>
>
> ----- Original Message -----
> From: "Zavier Sheran" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 03, 2003 5:14 PM
> Subject: [PHP-INST] php not executed, mime type problem?
>
>
> > I installed PHP 4.3.0 and Apache 1.3.27 on XP Pro.
> >
> > When I try to access a .php file with the browser, it offers it for
> > download.
> >
> > Yep, I have this in my httpd.conf:
> >
> > LoadModule php4_module C:\PHP\sapi\php4apache.dll
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php-source .phps
> >
> >
> > I browsed the archives and this issue seems common and goes back for
> years
> > on Linux/Windows and a variety of php 4.x and apache 1.3.x and 2.x
> versions.
> > Nobody, in this time period of years, came up with a solution that
solved
> > the problem of the poster.
> >
> > I spent the last hours trying to get it work to no avail. I had it
working
> 2
> > years ago on a Win 2K machine. Now this...
> >
> > Does anybody actually know what wrong (Rasmus??)? It's all setup
according
> > to manual and double and quadruple checked.
> >
> > All's fine when I execute on the command prompt. I can access al .html
and
> > .jpg .gif files via browser.
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
--- End Message ---