[PHP-INST] Security alerts

2003-01-04 Thread [EMAIL PROTECTED]
> Thank you for your prompt reply. Now I'm getting other messages.
>
> http://localhost/phptest.php gave the following error:
>
> "Security Alert! The PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means
> that a page will only be served up if the REDIRECT_STATUS CGI variable is
> set, e.g. via an Apache Action directive.
>
> For more information as to why this behaviour exists, see the manual page
> for CGI security.
>
> For more information about changing this behaviour or re-enabling this
> webserver, consult the installation file that came with this distribution,
> or visit the manual page."
>
> When pressed 'refresh'. got the following message:
>
> "CGI Error
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are:"
>
> My "php.ini" file is attached for your quick review. Thanks.
>
> - Original Message -
> From: "Jaap Prins" <[EMAIL PROTECTED]>
> To: "'Javed@TechnoCanada'" <[EMAIL PROTECTED]>
> Sent: Thursday, January 02, 2003 11:53 PM
> Subject: RE: [PHP-INST] Http error 403
>
>
> > Edit the advanced properties in the PWS and set to 'execute'.
> > Jaap
> >
> >
> > -Original Message-
> > From: Javed@TechnoCanada [mailto:[EMAIL PROTECTED]]
> > Sent: 03 January 2003 07:00
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Http error 403
> >
> >
> > Trying to use PHP4.0 with PWS4 on Win98.
> > CGI works fine from dos prompt, e.g., c:\php>php phptest.php , and get
> > expected output.
> > But, when tried with IE Browser 5, a blank screen appears. View souce
> option
> > reveals the original file.
> >
> > Following is the error message I'm getting:
> >
> > HTTP Error 403
> > 403.1 Forbidden: Execute Access Forbidden
> >
> > This error can be caused if you try to execute a CGI, ISAPI, or other
> > executable program from a directory that does not allow programs to be
> > executed.
> >
> > Please contact the Web server's administrator if the problem persists.
> >
> > A php file called "phptest.php" is located under "c:\inetpub\webpub"
> folder.
> >
> > What am I doing wrong? Please advise, thank you.
> >
> > Javed Ahmad
> > TechnoCanada Enterprises
> > 604-780-6617
> > http://www.technocanada.ca
> >
> >
> > --
> > 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


php-install Digest 4 Jan 2003 08:29:51 -0000 Issue 1185

2003-01-04 Thread php-install-digest-help

php-install Digest 4 Jan 2003 08:29:51 - Issue 1185

Topics (messages 9510 through 9538):

first post, be gentle
9510 by: kimBlim
9513 by: Stephen Edmonds
9514 by: kimBlim
9518 by: toby -
9519 by: kimBlim
9520 by: toby -
9524 by: Stephen Edmonds
9527 by: kimBlim
9529 by: Stephen Edmonds
9530 by: Miguel Carvalho
9531 by: kimBlim
9532 by: Stephen Edmonds

Solution: Problem configuring PHP 4.3.0 with IMAP on RH 7.2
9511 by: Joerg Aldinger

PHP as CGI for Apache
9512 by: Perroud Benoit
9515 by: Rasmus Lerdorf

Compile error Apache 1.3.27 + PHP 4.3.0
9516 by: Dieter Müller

Re: Error
9517 by: toby -
9523 by: Johnny Matthews

drive problem?
9521 by: seth
9522 by: seth
9535 by: seth

Compile error PHP 4.3.0 (no problem with 4.2.3 though)
9525 by: Helmut Tessarek

Generating static pages on the server - caching problem
9526 by: Jeff Wallman

PHP CGI on Apache via htaccess?
9528 by: php.myconid.com

Re: installing php on redhat
9533 by: Dan Anderson

Installation problem of php 4.3.0
9534 by: Rika Yamada

Yaz Extension
9536 by: Wayne Graham
9537 by: kimBlim

Security alerts
9538 by: Javed.TechnoCanada

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 ---
Hallo everybody,

I have PHP 4.0.6 installed on my win2k server, and it works just fine except one tiny 
problem:

I have a website which uses the gd-extension, and it has worked for me before, but 
after I re-installed the server, I get the following error, whenever I have the 
extension "turned on" in my php.ini-file:

X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load dynamic 
library 'C:\PHP\extensions\php_gd.dll' - The specified procedure could not be found. 
in Unknown on line 0 

Does anyone have any idea what could be wrong here?

any help is appreciated, thank you!

kimblim | www.kimblim.dk
--- End Message ---
--- Begin Message ---
Simple Answer:

The file 'php_gd.dll', which is used for GD, is not in the C:\PHP\extensions
folder. All you need to do is find the file (Try downloading the windows zip
package, as this has most of the extensions in the folder called
extenstions) and move the file into the C:\PHP\extensions folder. That
should solve your problem.

For the record, you are using quite an old version of php. PHP 4.3.0 (newly
released) comes with a GD2 extension designed for php. This could be a good
time to upgrade, although there are differences between the code for GD and
GD2 (Some of the functions have changed). Also remember that if you do
upgrade, to check the new php.ini file carefully for things like register
globals, a feature that has caused much confusion recently.

Good luck

Stephen

- Original Message -
From: "kimBlim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 12:54 PM
Subject: [PHP-INST] first post, be gentle


Hallo everybody,

I have PHP 4.0.6 installed on my win2k server, and it works just fine except
one tiny problem:

I have a website which uses the gd-extension, and it has worked for me
before, but after I re-installed the server, I get the following error,
whenever I have the extension "turned on" in my php.ini-file:

X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load
dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure
could not be found. in Unknown on line 0

Does anyone have any idea what could be wrong here?

any help is appreciated, thank you!

kimblim | www.kimblim.dk



--- End Message ---
--- Begin Message ---
See, that was my first thought, but it IS in the folder, I even downloaded it again, 
just to see if the .dll could be corrupt or something, but that did not do anything... 
 

thanx anyway.

kimblim | www.kimblim.dk

- Original Message - 
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "kimBlim" <[EMAIL PROTECTED]>
Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 2:04 PM
Subject: Re: [PHP-INST] first post, be gentle


> Simple Answer:
> 
> The file 'php_gd.dll', which is used for GD, is not in the C:\PHP\extensions
> folder. All you need to do is find the file (Try downloading the windows zip
> package, as this has most of the extensions in the folder called
> extenstions) and move the file into the C:\PHP\extensions folder. That
> should solve your problem.
> 
> For the record, you are using quite an old version of php. PHP 4.3.0 (newly
> released) comes with a GD2 extension designed for php. This could be a good
> time to upgrade, although there are differences between the code for GD and

[PHP-INST] PHP 4.2.3 and APACHE 1.3.27 showing PHP sources

2003-01-04 Thread Stefan Hoelzner
Hi folks,

PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on 
SuSE8.0

whenever I compile Apache (with mod_ssl, although I think that does not matter) and 
PHP and start up with "apachectl start", 
all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.

Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
Yes, I have done cp ../php.ini-dist /etc/php.ini
Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"

Any ideas, *sigh*?



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




[PHP-INST] problem with 4.3.0 on AIX

2003-01-04 Thread Sergio G . Reus

Hi,

I've tried to compile the new PHP 4.3.0 on an IBM pSeries AIX 5.1
with oracle, GD library support and apache 1.3.27. but gives 
the following error while compiling:

  [...]
   /bin/sh libtool --silent --mode=compile gcc  -Iext/standard/ 
-I/opt/src/php-4.3.0/ext/standard/ -DPHP_ATOM_INC -I/opt/src/php-4.3.0/include 
-I/opt/src/php-4.3.0/main -I/opt/src/php-4.3.0 -I/opt/src/php-4.3.0/Zend 
-I/opt/lib/gd/include -I/opt/oracle/product/920/rdbms/public 
-I/opt/oracle/product/920/rdbms/demo -I/opt/src/php-4.3.0/ext/xml/expat  -DAIX=51 
-DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DMOD_SSL=208112 -DUSE_HSREGEX 
-DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/src/php-4.3.0/TSRM  -g -O2  -prefer-pic -c 
/opt/src/php-4.3.0/ext/standard/info.c -o ext/standard/info.lo 
/bin/sh libtool --silent --mode=link gcc -g -O2 -prefer-pic  -rpath 
/opt/src/php-4.3.0/libs -Wl,-bI:/opt/apache/libexec/httpd.exp -avoid-version -module 
-L/opt/lib/gd/lib -L/opt/oracle/product/920/lib  -R /opt/lib/gd/lib -R 
/opt/oracle/product/920/lib ext/ctype/ctype.lo ext/gd/gd.lo ext/gd/gdttf.lo 
ext/gd/gdcache.lo ext/oci8/oci8.lo ext/oracle/oracle.lo ext/overload/overload.lo 
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo 
ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/posix/posix.lo 
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo 
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo 
ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo 
ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo 
ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo 
ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo 
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo 
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo 
ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo 
ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo 
ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo 
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo 
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo 
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo 
ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo 
ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo 
ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo 
ext/standard/sha1.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo 
ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo 
regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo 
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo 
main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo 
main/alloca.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo 
main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo 
main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo 
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo 
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo 
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo 
Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo 
Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo 
Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo 
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo 
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo 
sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo sapi/apache/php_apache.lo 
main/internal_functions.lo -lgd -ljpeg -lcrypt -lm -lcrypt -ldl -lm -lodm -lbsd_r -lld 
-lperfstat -lclntsh -ldl -lm -lodm -lbsd_r -lld -lperfstat -lclntsh  -o libphp4.la
/bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2  
-Wl,-bI:/opt/apache/libexec/httpd.exp -avoid-version -module -L/opt/lib/gd/lib 
-L/opt/oracle/product/920/lib  -R /opt/lib/gd/lib -R /opt/oracle/product/920/lib 
ext/ctype/ctype.lo ext/gd/gd.lo ext/gd/gdttf.lo ext/gd/gdcache.lo ext/oci8/oci8.lo 
ext/oracle/oracle.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo 
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo 
ext/pcre/php_pcre.lo ext/posix/posix.lo ext/session/session.lo 
ext/session/mod_files

Re: [PHP-INST] PHP 4.2.3 and APACHE 1.3.27 showing PHP sources

2003-01-04 Thread John Coder
On Sat, 2003-01-04 at 06:48, Stefan Hoelzner wrote:
> Hi folks,
> 
> PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on 
>SuSE8.0
> 
> whenever I compile Apache (with mod_ssl, although I think that does not matter) and 
>PHP and start up with "apachectl start", 
> all PHP-files don't get parsed, instead the PHP-sources are shown in my browser 
>window.
> 
> Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
> Yes, I have done cp ../php.ini-dist /etc/php.ini
> Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"
> 
> Any ideas, *sigh*?
> 
your php.ini is prolly in the wrong place I'm running the same setup you
are but my php.ini is in /usr/local/lib if your php is in /usr/local
then try moving the php.ini to /usr/local/lib

John Coder


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




[PHP-INST] make test

2003-01-04 Thread Dmitry Demczuk
Hi there,

I'm running make test after the configure and it fails for one of the tests 
(pspell). Is there something wrong with my configuration or is it a bug 
that needs to be reported (PHP version 4.3.0 compiled on a SuSE 8.0 box 
with Apache 2). If this is with my configuration, are there any hints on 
how to configure it so that it also pass the pspell test?

Thanks and cheers

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




Re: [PHP-INST] PHP 4.2.3 and APACHE 1.3.27 showing PHP sources

2003-01-04 Thread Chris Hewitt
Stefan Hoelzner wrote:


PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on SuSE8.0

whenever I compile Apache (with mod_ssl, although I think that does not matter) and PHP and start up with "apachectl start", 
all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.

Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
Yes, I have done cp ../php.ini-dist /etc/php.ini
Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"

Some suggestions. Have you restarted Apache? Does the name of the test 
php file you are looking at end in ".php"?

HTH
Chris



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



Re: [PHP-INST] Yaz Extension

2003-01-04 Thread Adam Dickmeiss
On Fri, Jan 03, 2003 at 04:39:33PM -0500, Wayne Graham wrote:
> Hi,
> 
> I'm running PHP on an XP system (with IIS) and am having a bit of a
> problem with some of the extensions...the php_yaz.dll to be exact. I've
> set extension_dir = c:\php\extensions where all of the extensions are
> located. When I uncomment the extension=php_yaz.dll line, I get a
> warning box that pops up and states "Unknown(): Unable to load dynamic
> library 'c:\php\extensions\php_yaz.dll' - The specified procedure could
> not be found." However, the file is in fact there.
yaz.dll must also be in the system path (\winnt\system or similar).
php_yaz.dll depends on it.

-- Adam

> I tried placing this file in the Windows and Windows\system32 folders
> after looking at some posts, but to no avail. I noticed that php_gd.dll
> worked, so I went through and tested every extension to see which ones
> worked to a grand total of 25 of the 46. I uninstalled and reinstalled
> using both the manual method and the installer, but with the same
> result. Does anyone have any suggestions?
> 
> 
> These were the extensions that didn't work:
> 
> php_curl.dll
> php_domxml.dll
> php_flosql.dll
> php_gd2.dll
> php_gettext.dll
> php_iconv.dll
> php_ifx.dll
> php_iisfunc.dll
> php_interbase.dll
> php_ldap.dll
> php_mcrypt.dll
> php_mhash.dll
> php_msql.dll
> php_oli8.dll
> php_openssl.dll
> php_oracle.dll
> php_snmp.dll
> php_sybase_ct.dll
> php_xmlrpc.dll
> php_xslt.dll
> php_yaz.dll
> 
> **
> Wayne Graham
> Systems Office
> Earl Gregg Swem Library
> College of William and Mary
> PO Box 8794
> Williamsburg, VA  23187-8794
> 757.221.3112
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Adam Dickmeiss  mailto:[EMAIL PROTECTED]  http://www.indexdata.dk
Index Data  T: +45 33410100   Mob.: 212 212 66

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




[PHP-INST] Where to find install instruction?

2003-01-04 Thread Irvin Amoraal
Where can I find good install instructions to upgrade from PHP 4.0.6 to PHP
4.2.3? I have downloaded the php-4.2.3.tar.gz file to install on an APACHE
server running RedHat 7.1, but didn't see any instructions.

Thanks.
Irvin.



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




Re: [PHP-INST] Where to find install instruction?

2003-01-04 Thread Jeffrey_N_Dyke
   
 
"Irvin 
 
Amoraal" To: [EMAIL PROTECTED] 
 
 Subject: [PHP-INST] Where to find install 
instruction? 
   
 
01/04/2003 
 
12:36 PM   
 
   
 
   
 








Where can I find good install instructions to upgrade from PHP 4.0.6 to PHP
4.2.3? I have downloaded the php-4.2.3.tar.gz file to install on an APACHE
server running RedHat 7.1, but didn't see any instructions.

Thanks.
Irvin.



--
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




Re: [PHP-INST] Where to find install instruction?

2003-01-04 Thread Rasmus Lerdorf
There is an INSTALL file in the distribution

On Sat, 4 Jan 2003 [EMAIL PROTECTED] wrote:

>
> "Irvin
> Amoraal" To: [EMAIL PROTECTED]
>  dio.com> Subject: [PHP-INST] Where to find 
>install instruction?
>
> 01/04/2003
> 12:36 PM
>
>
>
>
>
>
>
>
>
>
> Where can I find good install instructions to upgrade from PHP 4.0.6 to PHP
> 4.2.3? I have downloaded the php-4.2.3.tar.gz file to install on an APACHE
> server running RedHat 7.1, but didn't see any instructions.
>
> Thanks.
> Irvin.
>
>
>
> --
> 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
>

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




[PHP-INST] Problem to get PDFLib working

2003-01-04 Thread Dmitry Demczuk
Hi,

I'm trying to get PDFLib 4.0.3 installed along with PHP 4.3.0, using the 
loadable module.

The module (libpdf_php.so) is in /usr/include/php. It's the folder specified 
in the extension_dir variable of the php.ini file.In the same file, I also 
added extension=libpdf_php.so

Checking if PDF is supported via the phpinfo function, it looks like the PDF 
support is not enabled. I restarted Apache after the modification of the 
php.ini file.

Is there anything else I need to do? If no, why is the support not enabled?

Thanks and cheers,

-- 
Dmitry

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




[PHP-INST] DSO or Static?

2003-01-04 Thread Irvin Amoraal
What is the difference between using the DSO install and the Static install,
other than the instructions? Is there a benefit to using one over the other?

Irvin.



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




Re: [PHP-INST] Problem to get PDFLib working

2003-01-04 Thread Rasmus Lerdorf
> The module (libpdf_php.so) is in /usr/include/php. It's the folder specified
> in the extension_dir variable of the php.ini file.In the same file, I also
> added extension=libpdf_php.so

Where did you get this libpdf_php.so file?  When building it from PHP
using --with-pdf=shared it gets called pdf.so, so I suspect you have a
bogus .so

-Rasmus

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




Re: [PHP-INST] Problem to get PDFLib working

2003-01-04 Thread Dmitry Demczuk
Hi Rasmus,

I did not build php with it. I downloaded PDFLib from pdflib.com and 
followed their instructions ("Loadable Module (DSO)" is the recommended way 
for using PDFlib with PHP instead of rebuilding PHP with --with-pdflib, 
accrodig to their manual).

Then I copied the file libpdf_php.* from the directory 
"bind/php/" of the PDFlib binary distribution to the directory 
which is specified in the "extension_dir" line in php.ini 
(/usr/include/php) and inserted one line in php.ini:
extension = libpdf_php.so.

When I restart Apache2, I get this in the error log:
PHP Warning: Unknown(): Unable to load dynamic library 
/usr/include/php/libpdf_php.so - /usr/include/php/libpdf_php.so: 
zif_warn_not_available in Unknown on line 0.

I made a check in Google for zif_warn_not_available but could not find 
anything relevant.

Cheers,

Dmitry

Rasmus Lerdorf wrote:

>> The module (libpdf_php.so) is in /usr/include/php. It's the folder
>> specified in the extension_dir variable of the php.ini file.In the same
>> file, I also added extension=libpdf_php.so
> 
> Where did you get this libpdf_php.so file?  When building it from PHP
> using --with-pdf=shared it gets called pdf.so, so I suspect you have a
> bogus .so
> 
> -Rasmus

-- 
Dmitry

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




Re: [PHP-INST] Problem to get PDFLib working

2003-01-04 Thread Rasmus Lerdorf
> I did not build php with it. I downloaded PDFLib from pdflib.com and
> followed their instructions ("Loadable Module (DSO)" is the recommended way
> for using PDFlib with PHP instead of rebuilding PHP with --with-pdflib,
> accrodig to their manual).

Well, according to ours you should build it from PHP.

> When I restart Apache2, I get this in the error log:

Note that Apache2+PHP is very experimental.

-Rasmus

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




[PHP-INST] Path failure when testing an weblog installation

2003-01-04 Thread Tony Dietrich
Background Information:
I've just been asked to evaluate Drupal (a weblog content management
system written in PHP) for something.
I've installed Drupal in a subdirectory of my serverroot

/drp
I'm running Apache 2.0.40 and PHP 4.2.2 on a standard RH8 system.
phpinfo() and standard PHp test routines run from scripts in the /drp
directory work perfectly.


However, trying to run the Drupal index.php script to initialize the
system results in a page that looks like this ...

***
>Warning: Failed opening '/drp/includes/common.inc' for inclusion
 (include_path='.:/php/includes:./includes:/usr/share/pear') in
 /var/www/html/drp/index.php on line 4

>Fatal error: Call to undefined function: page_header() in
 /var/www/html/drp/index.php on line 6



The relevant part of the script that generates this error is ...


***
?>


Please note, I've fiddled with the include_path directive in php.ini a
bit to try to solve this, so the reported path isn't standard any more,
but the problem persists with any include_path values I can think of.

I've checked both the drupal support lists and php documentation, but
can't get a handle on what exactly is wrong here, or rather, obviously
its something to do with the include path, but what exactly is wrong?

Any ideas?  I know this isn't a drupal support list, but this seems to
be a problem involving my PHP setup, rather than drupal.

A possibly related problem is that a local .htaccess file doesn't seem
to be working,but I'm still trying to research this myself ... I reserve
the right to scream for help if I can't solve that problem later 

Thanks

TD





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




Re: [PHP-INST] Path failure when testing an weblog installation

2003-01-04 Thread Tony Dietrich
Additional information: 

I just thought to switch into the script directory and run 

#php index.php 

from the command line .. the output is exactly what it should be.. it
therefore seems to be something wrong with my  Apache/PHP setup, not the
script.

TD



On Sat, 2003-01-04 at 19:35, Tony Dietrich wrote:
> Background Information:
> I've just been asked to evaluate Drupal (a weblog content management
> system written in PHP) for something.
> I've installed Drupal in a subdirectory of my serverroot
> 
> /drp
> I'm running Apache 2.0.40 and PHP 4.2.2 on a standard RH8 system.
> phpinfo() and standard PHp test routines run from scripts in the /drp
> directory work perfectly.
> 
> 
> However, trying to run the Drupal index.php script to initialize the
> system results in a page that looks like this ...
> 
> ***
> >Warning: Failed opening '/drp/includes/common.inc' for inclusion
>  (include_path='.:/php/includes:./includes:/usr/share/pear') in
>  /var/www/html/drp/index.php on line 4
> 
> >Fatal error: Call to undefined function: page_header() in
>  /var/www/html/drp/index.php on line 6
> 
> 
> 
> The relevant part of the script that generates this error is ...
> 
> 
>  include_once "includes/common.inc";
> page_header();
>**
> ?>
> 
> 
> Please note, I've fiddled with the include_path directive in php.ini a
> bit to try to solve this, so the reported path isn't standard any more,
> but the problem persists with any include_path values I can think of.
> 
> I've checked both the drupal support lists and php documentation, but
> can't get a handle on what exactly is wrong here, or rather, obviously
> its something to do with the include path, but what exactly is wrong?
> 
> Any ideas?  I know this isn't a drupal support list, but this seems to
> be a problem involving my PHP setup, rather than drupal.
> 
> A possibly related problem is that a local .htaccess file doesn't seem
> to be working,but I'm still trying to research this myself ... I reserve
> the right to scream for help if I can't solve that problem later 
> 
> Thanks
> 
> TD
> 
> 
> 
> 
> 
> -- 
> 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




[PHP-INST] problem

2003-01-04 Thread Johan (natkejs)
Hey,

We just installed the latest version of PHP on a Windows 2000 servers.

http://www.glamourmodelsgonebad.com/scriptrevshare/gallery.php?goto=am01

Does anyone know how I fix that error?

/ Johan Sparrman


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




php-install Digest 4 Jan 2003 20:37:09 -0000 Issue 1186

2003-01-04 Thread php-install-digest-help

php-install Digest 4 Jan 2003 20:37:09 - Issue 1186

Topics (messages 9539 through 9555):

PHP 4.2.3 and APACHE 1.3.27 showing PHP sources
9539 by: Stefan Hoelzner
9541 by: John Coder
9543 by: Chris Hewitt

problem with 4.3.0 on AIX
9540 by: Sergio G. Reus

make test
9542 by: Dmitry Demczuk

Re: Yaz Extension
9544 by: Adam Dickmeiss

Where to find install instruction?
9545 by: Irvin Amoraal
9546 by: Jeffrey_N_Dyke.Keane.com
9547 by: Rasmus Lerdorf

Problem to get PDFLib working
9548 by: Dmitry Demczuk
9550 by: Rasmus Lerdorf
9551 by: Dmitry Demczuk
9552 by: Rasmus Lerdorf

DSO or Static?
9549 by: Irvin Amoraal

Path failure when testing an weblog installation
9553 by: Tony Dietrich
9554 by: Tony Dietrich

problem
9555 by: Johan (natkejs)

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 folks,

PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on 
SuSE8.0

whenever I compile Apache (with mod_ssl, although I think that does not matter) and 
PHP and start up with "apachectl start", 
all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.

Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
Yes, I have done cp ../php.ini-dist /etc/php.ini
Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"

Any ideas, *sigh*?



--- End Message ---
--- Begin Message ---
On Sat, 2003-01-04 at 06:48, Stefan Hoelzner wrote:
> Hi folks,
> 
> PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on 
>SuSE8.0
> 
> whenever I compile Apache (with mod_ssl, although I think that does not matter) and 
>PHP and start up with "apachectl start", 
> all PHP-files don't get parsed, instead the PHP-sources are shown in my browser 
>window.
> 
> Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
> Yes, I have done cp ../php.ini-dist /etc/php.ini
> Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"
> 
> Any ideas, *sigh*?
> 
your php.ini is prolly in the wrong place I'm running the same setup you
are but my php.ini is in /usr/local/lib if your php is in /usr/local
then try moving the php.ini to /usr/local/lib

John Coder


--- End Message ---
--- Begin Message ---
Stefan Hoelzner wrote:


PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on SuSE8.0

whenever I compile Apache (with mod_ssl, although I think that does not matter) and PHP and start up with "apachectl start", 
all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.

Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
Yes, I have done cp ../php.ini-dist /etc/php.ini
Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"

Some suggestions. Have you restarted Apache? Does the name of the test 
php file you are looking at end in ".php"?

HTH
Chris


--- End Message ---
--- Begin Message ---

Hi,

I've tried to compile the new PHP 4.3.0 on an IBM pSeries AIX 5.1
with oracle, GD library support and apache 1.3.27. but gives 
the following error while compiling:

  [...]
   /bin/sh libtool --silent --mode=compile gcc  -Iext/standard/ 
-I/opt/src/php-4.3.0/ext/standard/ -DPHP_ATOM_INC -I/opt/src/php-4.3.0/include 
-I/opt/src/php-4.3.0/main -I/opt/src/php-4.3.0 -I/opt/src/php-4.3.0/Zend 
-I/opt/lib/gd/include -I/opt/oracle/product/920/rdbms/public 
-I/opt/oracle/product/920/rdbms/demo -I/opt/src/php-4.3.0/ext/xml/expat  -DAIX=51 
-DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DMOD_SSL=208112 -DUSE_HSREGEX 
-DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/src/php-4.3.0/TSRM  -g -O2  -prefer-pic -c 
/opt/src/php-4.3.0/ext/standard/info.c -o ext/standard/info.lo 
/bin/sh libtool --silent --mode=link gcc -g -O2 -prefer-pic  -rpath 
/opt/src/php-4.3.0/libs -Wl,-bI:/opt/apache/libexec/httpd.exp -avoid-version -module 
-L/opt/lib/gd/lib -L/opt/oracle/product/920/lib  -R /opt/lib/gd/lib -R 
/opt/oracle/product/920/lib ext/ctype/ctype.lo ext/gd/gd.lo ext/gd/gdttf.lo 
ext/gd/gdcache.lo ext/oci8/oci8.lo ext/oracle/oracle.lo ext/overload/overload.lo 
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo 
ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/posix/posix.lo 
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo 
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo 
ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo 
ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo 
ext/standard/dir.lo ext/standard/d

Re: [PHP-INST] Problem to get PDFLib working

2003-01-04 Thread Dmitry Demczuk
> Well, according to ours you should build it from PHP.
OK, I'll try it then
 
> Note that Apache2+PHP is very experimental.
Thanks, I know but I just installed it at home just to see how things are 
working with Apache 2 and MySQL 4.0.7. Just to try and catch as many 
problems as possible before migrating to it in a few months at the office.

Thank you once again for your support and cheers,

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




Re: [PHP-INST] problem

2003-01-04 Thread Jeffrey_N_Dyke

ahhh nice.. the content filter at my work just stopped me from going to
your sitePHP enters the Porn world i see.

so if you have an error that you'd like help with please send details.

jeff


   
 
"Johan 
 
(natkejs)"   To: [EMAIL PROTECTED] 
 
Subject: [PHP-INST] problem   
 
   
 
01/04/2003 
 
03:30 PM   
 
   
 
   
 




Hey,

We just installed the latest version of PHP on a Windows 2000 servers.

http://www.glamourmodelsgonebad.com/scriptrevshare/gallery.php?goto=am01

Does anyone know how I fix that error?

/ Johan Sparrman


--
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




Re: [PHP-INST] Problem to get PDFLib working

2003-01-04 Thread Dmitry Demczuk
Hi again, Rasmus,

I just found out on another forum for PDFLib that the packages they provide 
on their website will not work with PHP 4.3.0, the reason being, I quote:
"the PDFlib 4.0.3 binaries for PHP 4.2.1 and higher will not work with php 
4.3.0. The problem is, that the "warn_not_available" function disappeared 
in php 4.3.0".

Just in case someone else asks...

Regards,

Dmitry

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




Re: [PHP-INST] problem

2003-01-04 Thread Stephen Edmonds
LOL! I can't even get the site to load. It seems to be giving a http 403.1
error. This means that your security setting in ISS are stopping the php
program from being run...

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Johan (natkejs)" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 8:51 PM
Subject: Re: [PHP-INST] problem


>
> ahhh nice.. the content filter at my work just stopped me from going to
> your sitePHP enters the Porn world i see.
>
> so if you have an error that you'd like help with please send details.
>
> jeff
>
>
>
> "Johan
> (natkejs)"   To: [EMAIL PROTECTED]
>  .com>Subject: [PHP-INST] problem
>
> 01/04/2003
> 03:30 PM
>
>
>
>
>
>
> Hey,
>
> We just installed the latest version of PHP on a Windows 2000 servers.
>
> http://www.glamourmodelsgonebad.com/scriptrevshare/gallery.php?goto=am01
>
> Does anyone know how I fix that error?
>
> / Johan Sparrman
>
>
> --
> 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
>
>



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




Re: [PHP-INST] PHP 4.2.3 and APACHE 1.3.27 showing PHP sources

2003-01-04 Thread DaMouse
LoadModule libexec/libphp4.so

that added to httpd.conf?
- Original Message -
From: Chris Hewitt <[EMAIL PROTECTED]>
To: Stefan Hoelzner <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 4:28 PM
Subject: Re: [PHP-INST] PHP 4.2.3 and APACHE 1.3.27 showing PHP sources


> Stefan Hoelzner wrote:
>
> >PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL
3.23.53a on SuSE8.0
> >
> >whenever I compile Apache (with mod_ssl, although I think that does not
matter) and PHP and start up with "apachectl start",
> >all PHP-files don't get parsed, instead the PHP-sources are shown in my
browser window.
> >
> >Yes, I have compiled PHP
with --with-apxs=..., --with-config-file-path=/etc
> >Yes, I have done cp ../php.ini-dist /etc/php.ini
> >Yes, I have modified httpd.conf with "AddType application/x-httpd-php
.php"
> >
> Some suggestions. Have you restarted Apache? Does the name of the test
> php file you are looking at end in ".php"?
>
> HTH
> Chris
>
>
>
> --
> 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




[PHP-INST] Compiling mime-magic into php

2003-01-04 Thread Rob Brandt
I'm trying to get the Horde project installed on my YellowDogLinux
2.2
system and am having a terrible time.  The latest CVS versions of
Horde require that php have mime_magic.  I can't get it to
"take" in php.  Anyone have experience with this? I'm doing all
the normal stuff.  In configure, I use --enable-mime-magic and it
has no complaints.  On the other hand, I can't see in the output
any references to it (although I might
have missed something and don't know what to look for).  There is
no section for mime_magic in phpinfo() once installed. I have
mod_mime_magic loaded in apache, FWIW. I have an entry in php.ini
for: mime_magic.magicfile = "/usr/share/misc/magic.mime" although
I'm not sure the syntax is correct or if the line needs to be at a
specific location in the ini file.  I have verified that
magic.mime is where I say it is.

If someone has an easy answer that's great; I would also like to
know just how to diagnose problems like this.

Ideas?

Rob



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




[PHP-INST] Build failure of internal_functions.c

2003-01-04 Thread Joel Stalder

Hello folks,

I've built php many times in the past, but never had the problem I'm
currently experiencing. I'm attempting a simple build of Apache/PHP.

Info:
Redhat Linux 7.0
Apache 1.3.27
PHP 4.3.0 (also tried 4.2.3)

My steps (I've also tried variations using apxs for DSO):

cd apache_1.3.27
./configure --prefix=/usr/local/apache
cd ../php-4.3.0
./configure --with-apache=../apache_1.3.27

The configure script finishes with no extra error messages.

The problem seems to be that both internal_functions.c and
internal_functions_cli.c end up with the following content:
"Configuration File (null) not found, aborting
Run 'make menuconfig' for creating a configuration or create the file
manually."

So, of course, when a "make" is attempted, it fails like this:


/bin/sh libtool --silent --mode=compile gcc  -Imain/
-I/usr/local/src/apache/php-4.3.0/main/ -DPHP_ATOM_INC -I/usr/local
/src/apache/php-4.3.0/include -I/usr/local/src/apache/php-4.3.0/main
-I/usr/local/src/apache/php-4.3.0 -I/usr/local/src/
apache/php-4.3.0/Zend -I/usr/local/src/apache/php-4.3.0/ext/xml/expat
-DLINUX=22 -DMOD_SSL=208110 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX
-DEAPI -DUSE_EXPAT -I/usr/local/src/apache/php-4.3.0/TSRM  -g -O2
-prefer-pic -c main/internal_functions.c -o main/internal_functions.lo
main/internal_functions.c:1: parse error before `File'
main/internal_functions.c:1: parse error before `not'
main/internal_functions.c:2: parse error before `Run'
main/internal_functions.c:2: character constant too long
make: *** [main/internal_functions.lo] Error 1

Since I've only seen "make menuconfig" used for kernel builds, I
recompiled the kernel, thinking perhaps PHP want's some missing header
files. However, I still get the same result. I've searched and searched
archives, but to no avail.

Here is the relevent section of the config.status file:

  echo "creating main/internal_functions.c"
  extensions=" ctype mysql overload pcre posix session standard
tokenizer xml"
  sh ./build/genif.sh ./main/internal_functions.c.in . "" gawk
$extensions > main/internal_functions.c

  echo "creating main/internal_functions_cli.c"
  cli_extensions=" ctype mysql overload pcre posix session standard
tokenizer xml"
  sh ./build/genif.sh ./main/internal_functions.c.in . "" gawk
$cli_extensions > main/internal_functions_cli.c

And sure enough, if I attempt manually:

sh ./build/genif.sh ./main/internal_functions.c.in . gawk 'ctype mysql
pcre posix session standard xml'

I get this:

"Configuration File (null) not found, aborting
Run 'make menuconfig' for creating a configuration or create the file
manually."

Does anyone happen to know what configuration file is being looked for,
or able to point me in the right direction?

Any suggestions are welcome and thanks in advance.

-Joel


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