php-install Digest 30 May 2002 09:49:45 -0000 Issue 860
Topics (messages 7150 through 7156):
Instalando PHP
7150 by: Abdel Chao Roselló
Problems installing version 4.2 with gd 2
7151 by: Paolo Morandi
7152 by: Rasmus Lerdorf
Re: PHP source getting displayed
7153 by: Erik
mail() doesn't work for me
7154 by: Erik
HOW DO I EFFECTIVELY USE THIS MAILING LIST
7155 by: FAHIM K S
Java extension
7156 by: fincom
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 ---
Hola, estoy tratanto de instalar PHP-4.1.2 como modulo ISAPI en un servidor
Windows 2000 con IIS-5 y la instalación parece estar bien pues cuando cargo
un script en el browser con la función phpinfo() funciona bien, pero cuando
trato de correr otro script cualquiera recibo el siguiente mensaje:
Warning: Failed opening 'C:\Users\Abdel\WEB\learning PHP\postg\home.php' for
inclusion (include_path='c:\php4\pear') in Unknown on line 0
No se de donde sale el "include_path='c:\php4\pear')"
Me ayudan?
Saludos.
Abdel
Abdel
--- End Message ---
--- Begin Message ---
Installing the new module apxs of php4.2 compiled with gd2.1, starting
apache give me this error:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp
4.so: undefined symbol: gdImageColorClosestAlpha
I have compiled PHP with this options:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
--with-gd=../gd-2.0.1 --enable-safe-mode
--with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
--enable-magic-quotes --with-regex=system
--with-ttf=/usr/lib/libttf.so
--enable-track-vars --enable-xml --disable-debug --with-ldap
--with-imap
--enable-ftp --with-mysql --with-mcal=../libmcal --with-pdflib
--with-curl --with-zlib --with-jpeg-dir=../jpeg-6b --with-tiff-dir
--with-freetype-dir --enable-gd-native-ttf --enable-gd-imgstrttf
--with-png-dir
and I have followed the indication of Rasmus on the page
http://www.php.net/~rasmus/gd.html
Thanks.
--- End Message ---
--- Begin Message ---
You didn't really follow those instructions, did you? I don't have any
relative paths in mine. Please use only absolute paths.
-Rasmus
On Thu, 30 May 2002, Paolo Morandi wrote:
> Installing the new module apxs of php4.2 compiled with gd2.1, starting
> apache give me this error:
> Cannot load /etc/httpd/modules/libphp4.so into server:
> /etc/httpd/modules/libphp
> 4.so: undefined symbol: gdImageColorClosestAlpha
>
> I have compiled PHP with this options:
> ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
> --with-gd=../gd-2.0.1 --enable-safe-mode
> --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
> --enable-magic-quotes --with-regex=system
> --with-ttf=/usr/lib/libttf.so
> --enable-track-vars --enable-xml --disable-debug --with-ldap
> --with-imap
> --enable-ftp --with-mysql --with-mcal=../libmcal --with-pdflib
> --with-curl --with-zlib --with-jpeg-dir=../jpeg-6b --with-tiff-dir
> --with-freetype-dir --enable-gd-native-ttf --enable-gd-imgstrttf
> --with-png-dir
> and I have followed the indication of Rasmus on the page
> http://www.php.net/~rasmus/gd.html
>
> Thanks.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Richard Pyne wrote:
> I finally got Apache 2.0.36 + PHP 4.2.1 to run without crashing on startup
> (the secret was that the LoadModule line required the full path), but I am
> now getting the contents of test.php displayed instead of executed.
>
> Any ideas will be greatly appreciated.
>
> --Richard
>
hi,
if you get the raw php source code displayed in your browser screen instead
of a working php script it usually means that the php parsers isn't working
correctly solution is the apache configuration like what file extensions
did you associated with php ? default are
.php .php3 .php4 .phtml
to give you more information we need to know your system is it windows ?
wich one ? is it *nix wich one ? if you are on a unix like platform the
"LoadModule" line should be already there after compilation and also you
must add the php mime type to your "httpd.conf"
AddType application/x-httpd-php .php .php3 .php4 .phtml
every time you edit that file you have to restart apache for the changes to
take effect.
did it helped you ?
regards
Erik
--- End Message ---
--- Begin Message ---
hi,
how do i compile php so that the mail(); function works i get several errors
"warning this build of php doesn't support mail()" do i need the imap
library ?? i use sendmail (Linux) the path is /usr/sbin/sendmail and i
added that to php.ini but no luck help please ...........
regards Erik
--- End Message ---
--- Begin Message ---
--- End Message ---
--- Begin Message ---
Hi,
I have some problems with installing the java extension for php.
My Config :
Os : Linux (Mandrake 8.1)
PHP 4.1.2
Apache 1.3.23
J2SDK.1.4.0
I had downloaded the source for php 4.1.2 from rpmfind.
I compiled the extensions, i had the two necessary files : libphp_java.do
and php_java.jar.
When i try to access excute a simple script done with the java extension, i
have no response, it's take a long time before it's tell me that the page
is not found. When i read the apache log , i see that Apache had crached the
child.
My config in php.ini :
java.class.path=/usr/lib/php/extensions/php_java.jar
java.home=/usr/java/java
java.library=/usr/java/java/jre/lib/i386/libjava.so
java.library.path=/usr/lib/php/extensions:/usr/java/java/jre/lib/i386/native
_threads:/usr/java/java/jre/lib/i386/client:/usr/java/java/jre/lib/i386/serv
er:/usr/java/java/jre/lib/i386
Can anybody help me ??
Thanks
--- End Message ---