php-install Digest 1 Mar 2003 06:34:12 -0000 Issue 1270

Topics (messages 10235 through 10240):

Re: Scrunched
        10235 by: Rasmus Lerdorf

Getting that wonderful 403 error
        10236 by: Lesley Leonessa

custom extensions
        10237 by: THOMAS BRADBURY

Is it an apache or a php problem?
        10238 by: Henning

Compiling PHP with sablotron
        10239 by: Yann Larrivée

installing 4.3.0  error
        10240 by: Junu

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 ---
> On Linux, any release of MySQL requires that the "mod_auth_mysql" be
> installed, so MySQL can do database access authorization validation via
> Apache. Apache will run okay and so will MySQL, but without "mod_auth_mysql"
> installed you cannot log into MySQL.

Uh?  That's obviously not true.  Logging into MySQL has nothing to do with
Apache and thus no such module is required.  Doing HTTP auth against MySQL
can be done in a number of ways without that module.

> To move from PHP 4.22 to PHP 4.3 requires that Apache be upgraded from
> version 2.0.40-11 to 2.0.44-1.8.0.

Only if you are using Apache2.  Apache2+PHP is still nowhere near
production quality.  You are off in beta-experimental land here and have
to expect difficulties like these.

So the rest of your rant is rather pointless.

-Rasmus

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

When I try to run a basic php script, I get the following error:
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.



Here's what I'm using:

Windows ME

PHP4

PWS

Here's what I've done:

I've updated the ...\ScriptMap registry setting to point directly to my php4isapi.dll 
file.

("C:\\php\\php-4.3.1-Win32\\sapi\\php4isapi.dll")

I'm able to run .htm files from my internal server (from the same directory that I'm 
trying to run this .php file from). I only get this error when I try to run .php files.

When I run php.exe -i from the DOS prompt, I get several pages of HTML code (which, 
from what I understand, tells me the PHP part is working).

I've gone into PWS, Advanced, Home, Properties, Access is set to Read, Execute and 
Scripts.

I've modified the php.ini file to have cgi.force_redirect=0. I'm not sure what I 
should do w/ cgi.redirect_status_env=;.



Any other ideas??

Thanks,
Lesley A. Leonessa, Registered Patent Agent
Lioness Consulting: Web Design, Software Development & Patent Law Services
279 East Central Street, Suite #138, Franklin, MA 02038
Phone (508) 380-3182 Fax: (508) 541-6788
Visit http://www.lionessconsulting.com/Tips.htm for Lesley's Internet Tips

--- End Message ---
--- Begin Message ---
Hi,
I'm using PHP4 and Windows IIS5, and was wanting to set up a custom file extension to 
be processed by PHP...

instead of using "blah.com/image.php?...."
i'd like to use "blah.com/image?..."

Is this easily possible, and if so, how do i set it up?
Thanks,
Tom Bradbury


--- End Message ---
--- Begin Message ---
Hello
I use Apache/1.3.27 Server
I use to use a mysql-connection, but now the apache support is gone.
Trying to connect to my MySQL-database gives following result:

Fatal error: Call to undefined function: mysql_pconnect() in...

How do I get the MySQL-support back?

Henning (newbie)


--- End Message ---
--- Begin Message ---
Hi, i tried a couple times to compile 

- php 4.3.1
- apache_1.3.27
- mysql-3.23.55
- Sablot-0.97
- expat-1.95.5
- libiconv-1.8
- libxml2-2.5.0
- zlib-1.1.4


The configuration of expat,libxml,libiconv,salotron whent well.

But i get the fallowing error will compiling php with sablotron
---

/root/sources/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnam' is dangerous, better use `mkstemp'
ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/root/sources/php-4.3.1/ext/xmlrpc/libxmlrpc/encodings.c:63: undefined
reference to `libiconv_open'
/root/sources/php-4.3.1/ext/xmlrpc/libxmlrpc/encodings.c:74: undefined
reference to `libiconv'
/root/sources/php-4.3.1/ext/xmlrpc/libxmlrpc/encodings.c:94: undefined
reference to `libiconv_close'
/usr/local/lib/libsablot.so: undefined reference to `operator
new[](unsigned)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator
delete(void*)'
/usr/local/lib/libsablot.so: undefined reference to
`__gxx_personality_v0'
/usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator
delete[](void*)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator
new(unsigned)'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

---



Here is my configure for PHP
./configure --with-apache=../apache_1.3.27 --enable-track-vars
--with-mysql --with-dom --enable-sockets --enable-wddx --with-xmlrpc
--enable-xslt --with-xslt-sablot --with-zlib-dir=/usr/local/lib/


Anybody has a solution for this issue ?

Thanks 
Yann



--- End Message ---
--- Begin Message ---
My current PHP version is 4.0.6 (Build. Sep 10 2001). I want to uprade to
4.3.0 but.. everytime I execute 'make' an error occurs while compiling the 
mysql library.

here it is:

MY CONFIGURATION:

[EMAIL PROTECTED] php.4.3.0]# './configure' '--disable-static' '--disable-
debug' '--disable-rpath' '
--enable-inline-optimization' '--prefix=/usr' '--with-zlib' '--with-config-
file-path=/etc' '--enab
le-magic-quotes' '--enable-debugger' '--enable-track-vars' '--enable-safe-
mode' '--with-exec-dir=/
usr/bin' '--with-regex=system' '--with-versioning' '--with-mod_charset' '--
enable-force-cgi-redire
ct' '--enable-trans-sid' '--enable-ftp' '--with-xml' '--with-gettext' '--
with-gd'



Here's the error:
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo 
main/internal_functions_cli.lo -lintl -lpng -lz -lz -lcrypt -lresolv -lm -
ldl -lnsl -lcrypt  -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of 
`tempnam' is dangerous, better use `mkstemp'
[EMAIL PROTECTED] php.4.3.0]#



tempname is dangerous.. better use mkstemp...?/???

Solution, anyone....?


thank you.

jun

--- End Message ---

Reply via email to