php-install Digest 24 Jul 2003 02:33:19 -0000 Issue 1472
Topics (messages 11327 through 11331):
Re: XmlRpc extension problem in windows
11327 by: WebDevMagazine
How can I change my previous version of php in Apache?
11328 by: Christian Villada
Install Configuration Problem
11329 by: Golden Troll
PHP as CGI script !!
11330 by: newbie
[PHP] Need help on makeing php
11331 by: Nick
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 ---
please show me your phpinfo file.
Bogomil
http://webdevmagazine.co.uk/n/
--- End Message ---
--- Begin Message ---
Hello.
I've previously used php-4.2.2 with apache 2.0
Recently I've downloaded the php-4.3.2.
But My Apache server keep seeing my old php version.
Can someone resume me the steps to make the apache see
the new version?
Thanks in advance.
Christian Villada
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--- End Message ---
--- Begin Message ---
My server is working with me to get my site back and running.
We recently upgraded to PHP Version 4.2.3 and Apache Version 1.3.28
(Unix) and now are having the following problems. It seems to be
somewhere in the server settings... I am having the following probs:
<files index>
ForceType application/x-httpd-php
</files>
gets this error:
error: file has no execute permission: (this one is real importent to my
site and yes there is a file index no extension in this directory)
php_values cannot be set from the htaccess or at runtime with ini_set
receive this error
Invalid command 'php_flag', perhaps mis-spelled or defined by a module
not included in the server configuration
and
Invalid command 'php_value', perhaps mis-spelled or defined by a module
not included in the server configuration
Perhaps a mod_ is missing or a wrong path, we have been working on this
for a couple days. It to the hair pulling point, help!
Thanks for any help
Scott
--- End Message ---
--- Begin Message ---
Installation on Win2000Pro + Apache 2.0.46 + PHP 4.3.2.
In "Manual PHP" by Bakken itc is written :
[quote]
The path information part of the url after the PHP binary name,
/secret/doc.html is conventionally
used to specify the name of the file to be opened and interpreted by the CGI
program. Usually some
web server configuration directives (Apache: Action) are used to redirect
requests to documents like
http://my.host/secret/script.php to the PHP interpreter. With this setup,
the web server first checks
the access permissions to the directory /secret, and after that creates the
redirected request
http://my.host/cgi-bin/php/secret/script.php. Unfortunately, if the request
is originally given in this form,
no access checks are made by web server for file /secret/script.php, but
only for the /cgi-bin/php file.
This way any user able to access /cgi-bin/php is able to access any
protected document on the web
server.
[/quote]
I've no php4apache.dll or something like that, this is why I want to
configure PHP as CGI script.
My configuration files:
- php.ini :
cgi.force_redirect = 0
doc_root = ; nothing
all other are standard settings
- httpd.conf :
ServerRoot "D:/Programy/Apache Group/Apache2"
ServerName 127.0.0.1
DocumentRoot "D:/Programy/Apache Group/Apache2/htdocs"
Action php-script "/cgi-bin/php"
AddHandler php-script .php
ScriptAlias /php/ "e:/php/"
AddType application/x-httpd-php .php .php3 .htm .phtml
Action application/x-httpd-php "/php/php.exe"
all other are standard settings
After reading manual this settings should be enough for PHP to work
correctly as CGI script on Apache ?!
The problem is:
on my HD, there is a site:
D:/Programy/Apache Group/Apache2/cgi-bin/php/as/a.php
and in IE I want to open this site in two ways (as it is said in manual):
1. localhost/as/a.php - now I have to have a notice in access.log
2. localhost/cgi-bin/php/as/a.php - no notice about entry on site in
access.log
(this is why i turned off cgi.force_redirect = 0 and didn't set doc_root
!!. )
But it isn't working !!
In error.log depending on the request I've written above I've got different
messages :
first type of request:
[Thu Jul 17 18:03:51 2003] [error] [client 127.0.0.1] File does not exist:
D:/Programy/Apache Group/Apache2/htdocs/as
second type of request:
[Thu Jul 17 18:02:47 2003] [error] [client 127.0.0.1] script not found or
unable to stat: D:/Programy/Apache Group/Apache2/cgi-bin/php/cgi-bin
Why ??!! I've done everything what is written in manual but something must
be wrong !!
Did I make any mistake during configuration ?? Did I forget something ?!
I want my PHP to work as it is said in this part of manual I've written
above !!
HELP :(
--- End Message ---
--- Begin Message ---
To All Helpers:
Solaris 2.8 with Apache 1.3.27 and sybase 12.5 and php 4.3.2
I run configure fine with following parameter:
./configure --with-apache=/usr/local/apache_1.3.27 --with-mysql=/usr/local/mysql
--with-sybase=/sybase/OCS-12_5/ --with-gd --with-zlib-dir --with-jpeg-dir
--with-xpm-dir --enable-track-var
But I got the following error when I tried to run make command:
ld: fatal: library -lsybdb: not found
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I did check the /opt/sybase/OCS_12-5/lib and /opt/sybase/OCS_12-5/include and there
are sybdb.h in include directory.
# cd lib
# ls
examples.so libcs.so libintl.a libsrv_r.a libtli.so
libblk.a libcs_r.a libintl.so libsrv_r.so libtli_r.so
libblk_r.a libcs_r.so libintl_r.a libsybdb.a sybsyesp.so
libcomn.a libct.a libintl_r.so libsybdb.so xpsmsgs.so
libcomn.so libct.so libsdce.so libtcl.a
libcomn_r.a libct_r.a libskrb.so libtcl.so
libcomn_r.so libct_r.so libsrv.a libtcl_r.a
libcs.a libddce.so libsrv.so libtcl_r.so
# cd ..
# cd include
# ls
bkpublic.h cstypes.h oserror.h sqlda.h sybdb.h syblogin.h
csconfig.h ctpublic.h ospublic.h srv.h syberror.h
cspublic.h oscompat.h sqlca.h srverror.h sybfront.h
#
I have searched the archive and found similar problem but with no response.
Your help will be greatly appreciated.
Nick
--- End Message ---