Re: Instalando PHP

From: Date: Thu, 30 May 2002 14:42:52 +0000
Subject: Re: Instalando PHP
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7159@lists.php.net to get a copy of this message
Dear Abdel Chao Roselló !
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
As I understand you have problem with PHP options. This problem may be in script path (C:\Users\Abdel\WEB\learning PHP\postg\home.php). It contains space symbols. Change path to <C:\Users\Abdel\WEB\learningPHP\postg\home.php> and try to test this script. If it won't working I send you my php.ini . Best regards, Sincerely yours, Yuriy Rusinov.
No se de donde sale el "include_path='c:\php4\pear')" Me ayudan? Saludos. Abdel Abdel ------------------------------------------------------------------------ Subject: Problems installing version 4.2 with gd 2 From: Paolo Morandi <paolo@i-dome.com> Date: Thu, 30 May 2002 00:32:24 +0200 To: php-install@lists.php.net 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. ------------------------------------------------------------------------ Subject: Re: [PHP-INST] Problems installing version 4.2 with gd 2 From: Rasmus Lerdorf <rasmus@php.net> Date: Wed, 29 May 2002 16:44:57 -0700 (PDT) To: Paolo Morandi <paolo@i-dome.com> 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
------------------------------------------------------------------------ Subject: Re: PHP source getting displayed From: Erik <sky50637@skynet.be> Date: Thu, 30 May 2002 02:47:45 +0200 To: php-install@lists.php.net 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 ------------------------------------------------------------------------ Subject: mail() doesn't work for me From: Erik <sky50637@skynet.be> Date: Thu, 30 May 2002 02:52:19 +0200 To: php-install@lists.php.net 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 ------------------------------------------------------------------------ Subject: HOW DO I EFFECTIVELY USE THIS MAILING LIST From: "FAHIM K S" <fahim@technohaven.com> Date: Thu, 30 May 2002 10:31:40 +0600 To: <php-install@lists.php.net> ------------------------------------------------------------------------ Subject: Java extension From: "fincom" <fincom@free.fr> Date: Thu, 30 May 2002 11:44:47 +0200 To: php-install@lists.php.net 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


« previous php.install (#7159) next »