php-install Digest 8 Jan 2003 22:13:40 -0000 Issue 1192
Topics (messages 9623 through 9630):
Re: Redhat 8 > PHP
9623 by: Mitch Pirtle
Re: Windows install that is bugging me...
9624 by: Nuno Lopes
Re: Apache 2.0.43 & php 4.3.0 coredumped
9625 by: Jose
php 4.3 breaks in make cli
9626 by: Diego Brito
gd lib version < 1.6
9627 by: kimBlim
4.3 The specified module could not be found.
9628 by: Ryan Jameson (USA)
9629 by: Ryan Jameson (USA)
Need help putting a small pice of code on an html page
9630 by: Mike Young
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 Wednesday 08 January 2003 02:24, Dan Anderson wrote:
> RedHat 8 comes with PHP. The package name is php.
> If you want a newer version, you have to compile it yourself.
> See
> http://dan.drydog.com/apache2php.html
This unfortunately does not work for RedHat 8 (only for 7.x). PHP 4.3.0 will
not compile on RH8 boxen (I've tried for hours on over 4 different machines -
argh), allegedly due to a gcc or glibc problem. I've been told it has been
fixed in cvs, but have not had the chance to try it myself.
Since there are some obvious issues here with 4.3.0, I'd wager that you would
be better off waiting for RPMs to be built for you. Maybe even by me ;^)
-- mitch
--- End Message ---
--- Begin Message ---
You can have a .php file with:
<html>
<head>
(...)
<?
echo "test";
?>
<p>more html</p>
</body></html>
When you do '?>' the php stops and when you do '<?' php restarts its work!
Simple....
----- Original Message -----
From: "Scott De Leeuw" <[EMAIL PROTECTED]>
To: "kimBlim" <[EMAIL PROTECTED]>; "Nuno Lopes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 3:46 PM
Subject: Re: [PHP-INST] Windows install that is bugging me...
> Maybe I am totally misunderstanding, can I have an HTML file with
> php code embedded in to it named .phtml and still have all of the
> HTML working properly? Am I making this way harder than what it
> is?
--- End Message ---
--- Begin Message ---
Thanks but before of all i did was follow your instructions on that web page
with the same result.
----- Original Message -----
From: "Dan Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 2:29 AM
Subject: [PHP-INST] Re: Apache 2.0.43 & php 4.3.0 coredumped
> My guess is you need to configure Apache to use default (prefork) MPM
module.
> The other ones will probably not work.
> See also my writeup at
> http://dan.drydog.com/apache2php.html
>
> In article <005501c2b67b$07db9960$[EMAIL PROTECTED]> you wrote:
> > When i have compiled apache 2.0.43 on aix 4.3.3 with this options:
> > ./configure --prefix=/usr/local/apache2 --enable-so --with-mpm=worker
> > All compilation has gone fine, but when i run httpd with loadmodule
> > libphp4.so system shows memory segmentation and apache doesn't start.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Im configuring Apache 2.0.43 with php 4.3, to compile
and install apache is ok.
during the install of php 4.3 get the error when make
tries to install cli, the make breaks in this line:
...Zend/zend_sprintf.lo Zend/zend_ini.lo
Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_execute.lo sapi/cli/ph
p_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lodbc -lsablot -lexpat
-lpdf -lz -ltiff -lpng -ljpeg -lmysqlclient -lgd -lfr
eetype -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto
-lresolv -lm -ldl -lnsl -lcrypt -ldl -lm -lclntsh
-locijdbc8 -o sapi/cli/php
[root@xxx php-4.3.0]#
i tried to configure with released versions and get
the same error ate this point of make.
how can i disable this module, in configure the
command --disable-cli doesnt works. i Dont wanna use
php with cgi.
the gd is install correctly and libgd too. do i forget
something during configure?
Can someone help me?
thanks for help
apache configure:
./configure --enable-layout=GNU
--enable-module=src/modules/php4/libphp4.a
php configure:
./configure
--with-oci8=/ora8i/u01/app/oracle/product/8.1.6
--enable-sigchild --with-apache2=/usr/src/httpd-2.0.43
--with-pdflib=/usr/local --with-unixODBC
--with-png-dir=/usr/local --with-gd=/usr/local
--enable-gd-native-ttf --with-jpeg-dir=/usr/local
--with-zlib-dir=/usr/local
--with-freetype-dir=/usr/local/include/freetype2
--with-png-dir=/usr/local --with-openssl=/usr
--with-config-file-path=/etc/php --sysconfdir=/etc/php
--with-pdflib=/usr/local --with-mysql=/usr/local/mysql
--with-tiff-dir=/usr/ --with-xslt-sablot=/usr/local --enable-xslt
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
Hi,
just wondering if anyone has an older version of php_gd.dll, so I can use the gif
generator??
dont know if it has any importance, but I am on a win2k, running php under the IIS..
cheers,
kimblim | www.kimblim.dk
--- End Message ---
--- Begin Message ---
I have been keeping our PHP version up to date for several years now. The only extra
extension we load is php_ldap.dll. I extracted and installed PHP 4.3 exactly the same
way I always have and for some reason it refuses to find any of the extensions.
With 4.3 I always get:
Content-type: text/html X-Powered-By: PHP/4.3.0 PHP Warning: Unknown(): Unable to load
dynamic library 'C:\Program Files\PHP\extensions\php_ldap.dll' - The specified module
could not be found. in Unknown on line 0
----------------------
That file does exist, I've tried changing the extension directory to one with no
spaces and putting the file there, it didn't work either.
Any ideas?
Thanks.
<>< Ryan
--- End Message ---
--- Begin Message ---
Well, I figured it out. New files in the dlls directory and not in the path. The error
message sent me on a wild goose chase.
:-\ Sorry...
-----Original Message-----
From: Ryan Jameson (USA)
Sent: Wednesday, January 08, 2003 10:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] 4.3 The specified module could not be found.
I have been keeping our PHP version up to date for several years now. The only extra
extension we load is php_ldap.dll. I extracted and installed PHP 4.3 exactly the same
way I always have and for some reason it refuses to find any of the extensions.
With 4.3 I always get:
Content-type: text/html X-Powered-By: PHP/4.3.0 PHP Warning: Unknown(): Unable to load
dynamic library 'C:\Program Files\PHP\extensions\php_ldap.dll' - The specified module
could not be found. in Unknown on line 0
----------------------
That file does exist, I've tried changing the extension directory to one with no
spaces and putting the file there, it didn't work either.
Any ideas?
Thanks.
<>< Ryan
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On Fri, Jan 03, 2003 at 11:33:45AM -0800, Mike Young
wrote:
>
> Hi,
>
> I'm new to the list and pretty new to php so please
> forgive my ignorance.
>
> I came across a piece of php code to redirect
foreign
> countries to a page translated into their language
and
> I wish to put it on an html page. The page has a
> ..htm extension and I don't want to change it to a
.php
> extension because it's in search engines, traffic
> trades etc. But when I put it on my htm page the
code
> shows. I've pasted the code below, just as I found
it.
>
> My question: How can I make this work, after
editing,
> on a page with an htm extension without having to
> change it to a php extension?
> Also , i notice it begins [? and ends ?]. Should
that
> be <? and ?> instead. I assume it should go in the
> body of the page?
>
> As I said I'm pretty new to php so forgive the
> ignorance. Any help would be very much appreciated.
> Thanks,
> Mike
>
>
> here it is:
>
> PHP FILTERING CODE
[?
$user_lan = $HTTP_ACCEPT_LANGUAGE;
if($user_lan=='de') {
## German
$redir_url = "http://www.germanlanguagepageurl.com";
} elseif($user_lan=='fr') {
## French
$redir_url = "http://www.frenchlanguagepageurl.com";
} elseif($user_lan=='it') {
## Italian
$redir_url = "http://www.italianlanguagepageurl.com";
} elseif($user_lan=='es') {
## Spain
$redir_url = "http://www.spanishlanguagepageurl.com";
## US traffic or Rest of world not defined above
} else {
$redir_url = "http://www.yourmainpageurl.com";
}
header("Location: $redir_url");
exit;
?]
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---