php-install Digest 29 May 2002 06:58:58 -0000 Issue 858
Topics (messages 7136 through 7145): Re: PHP with apache 1.3 7136 by: Ed Gorski 7139 by: Phil Dibowitz 7140 by: Ed Gorski 4.6-PRE and 4.6-RC2 issues with mod_php4? (fwd) 7137 by: Linh Pham 7138 by: Linh Pham Problemas con instalación de PHP 7141 by: Abdel Chao Roselló config problems --with-ldap 7142 by: Ian Miller 7143 by: Ian Miller apache .... php .... XP ..... 7144 by: toby - Problem Installing php with oracle on Unixware 7 7145 by: FAHIM K S 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 ---Your parser might be setup to run on .htm pages but you really should make sure that parser is setup correctly....what server and version of php are you running? ed At 11:01 PM 5/28/2002 +1000, Peter wrote: >This file works: ><?php >$browser = getenv("HTTP_USER_AGENT"); >?> ><P>You are using the <?php echo($browser);?> web browser. ></P> > >It is called php_test.htm and is called as the action on a button from a >plain html page. > >Regards > >Peter Goggin >----- Original Message ----- >From: "Phil Dibowitz" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, May 28, 2002 4:49 PM >Subject: Re: [PHP-INST] PHP with apache 1.3 > > > > >>I am having a similar problem... specifically... > > >> > > >>Files with .php3 and .php work perfectly > > >> > > >>however .. EMBEDDED php .. that is php embedded into standard .html > > >>(i.e. <?php print("this is a test\n"); ?> ) > > >> > > >> does NOT work > > >> > > >>anyone have any clues or suggestions? > > >> > > > > I'm not quite sure what you mean by embedded PHP. AFAIK If you have an >HTML > > file with PHP in it somewhere you must name that file with .php3 or .php >so > > that it gets processed accordingly... > > > > Phil > > -- > > "They that can give up essential liberty to obtain a little temporary >safety > > deserve neither liberty nor safety." > > -Benjamin Franklin, 1759 > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/02 > > >-- >PHP Install Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php #################################### Edmund Gorski Programmer / Analyst WWW Coordinator Dept. @ District Office 727-341-3181 ####################################--- End Message ---
--- Begin Message ---Peter wrote: > This file works: > <?php > $browser = getenv("HTTP_USER_AGENT"); > ?> > <P>You are using the <?php echo($browser);?> web browser. > </P> > > It is called php_test.htm and is called as the action on a button from a > plain html page. Someone correct my if I'm wrong, but I think that's a bit of a fluke... if you want the interpreter called you have to name it .php... That's why you have that AddType line in your httpd.conf saying ".php is php4" and the other one saying ".php3 is php3"... Phil -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, 1759--- End Message ---
--- Begin Message ---Depending on your configuration though you can very well have all the .htm files run through the PHP parser.. ed At 09:13 AM 5/28/2002 -0700, Phil Dibowitz wrote: >Peter wrote: > >>This file works: >><?php >>$browser = getenv("HTTP_USER_AGENT"); >>?> >><P>You are using the <?php echo($browser);?> web browser. >></P> >>It is called php_test.htm and is called as the action on a button from a >>plain html page. > > >Someone correct my if I'm wrong, but I think that's a bit of a fluke... if >you want the interpreter called you have to name it .php... > >That's why you have that AddType line in your httpd.conf saying ".php is >php4" and the other one saying ".php3 is php3"... > >Phil >-- >"They that can give up essential liberty to obtain a little temporary >safety deserve neither liberty nor safety." >-Benjamin Franklin, 1759 > > >-- >PHP Install Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php--- End Message ---
--- Begin Message ---I was running a server with 4.6-PRE and had a working installation of Apache 1.3.24 and mod_php4-4.1.2. I wanted to upgrade to PHP 4.2.1 to fix some bugs in the older version, so I cvsup'd the Ports collection, and built mod_php4 with the following options: zlib, IMAP, XML, XLST, gettext, iconv and the multibyte options. After the build/install succeeded, I made minor modifications to the httpd.conf file and ran 'apachectl configtest' to see if everything was okay or not... well, it seems that the build/installation did have some problems. Below is the error message that I get when I try to start Apache or when I run "apachectl configtest": Syntax error on line 56 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/libexec/apache/libphp4.so into server: /usr/local/libexec/apache/libphp4.so: Undefined symbol "pthread_mutex_lock" I decided to look at the config.log file that was left in the port's work directory and found some errors regarding pthread. So... I decided to install the pth port, started the script that it installed into /usr/local/etc/rc.d, and re-ran the configtest and got the same error. So... I decided to cvsup the latest stable code, did a make world, rebuilt the kernel, installed world and took care of some stuff with mergemaster. After rebooting, when the server ran the apache.sh startup script, it errors out again. So I deleted the port, cvsup's the Ports collection again, built and installed mod_php4... but got the same results. I then tar'd the mod_php4-4.1.2 port from one of other servers (which was running 4.3-RELEASE), built and installed the older port, ran configtest, same error. I have attached a gzip'd copy of the config.log from the mod_php4-4.2.1 work directory which has the error regarding pthread. Is there a problem with the port or is there a problem with pthread.h in -STABLE? I would really like to get PHP4 back up and running again so that I can get my web apps running again. Let me know if there is anything else that I need to provide (more log files, the port Makefile, etc.) Thanks -- Linh Pham [EMAIL PROTECTED] Webmaster and FreeBSD Geek http://closedsrc.org Apprentice Manager Editor and Writer http://www.daemonnews.org _I am Pentium of Borg / Division is Futile / You will be approximated_--- End Message ---
config.log.gz
Description: config.log.gz
--- Begin Message ---I was running a server with 4.6-PRE and had a working installation of Apache 1.3.24 and mod_php4-4.1.2. I wanted to upgrade to PHP 4.2.1 to fix some bugs in the older version, so I cvsup'd the Ports collection, and built mod_php4 with the following options: zlib, IMAP, XML, XLST, gettext, iconv and the multibyte options. After the build/install succeeded, I made minor modifications to the httpd.conf file and ran 'apachectl configtest' to see if everything was okay or not... well, it seems that the build/installation did have some problems. Below is the error message that I get when I try to start Apache or when I run "apachectl configtest": Syntax error on line 56 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/libexec/apache/libphp4.so into server: /usr/local/libexec/apache/libphp4.so: Undefined symbol "pthread_mutex_lock" I decided to look at the config.log file that was left in the port's work directory and found some errors regarding pthread. So... I decided to install the pth port, started the script that it installed into /usr/local/etc/rc.d, and re-ran the configtest and got the same error. So... I decided to cvsup the latest stable code, did a make world, rebuilt the kernel, installed world and took care of some stuff with mergemaster. After rebooting, when the server ran the apache.sh startup script, it errors out again. So I deleted the port, cvsup's the Ports collection again, built and installed mod_php4... but got the same results. I then tar'd the mod_php4-4.1.2 port from one of other servers (which was running 4.3-RELEASE), built and installed the older port, ran configtest, same error. You can access the config.log file (gzip'd) at http://closedsrc.org/~question/config.log.gz Is there a problem with the port or is there a problem with pthread.h in -STABLE? I would really like to get PHP4 back up and running again so that I can get my web apps running again. Let me know if there is anything else that I need to provide (more log files, the port Makefile, etc.) Thanks -- Linh Pham [EMAIL PROTECTED] Webmaster and FreeBSD Geek http://closedsrc.org Apprentice Manager Editor and Writer http://www.daemonnews.org _I am Pentium of Borg / Division is Futile / You will be approximated_--- End Message ---
--- Begin Message ---Hola, estoy tratanto de instalar PHP-4.1.2 como modulo en un servidor Windows 2000 con IIS-5 y todo funciona perfecto excepto que cuando reinicio el IIS para cargar las extensiones de PHP recibo un mensaje diciendo que no puede encontrarse la DLL (php_oci8.dll) porque no existe en la localización especificada. Estoy seguro que está en la dirección que especifiqué en php.ini con: extensions_dir = c:/php/extensions Hay otras extensiones en este lugar que sí las reconoce pero otras como la mencionada anteriormente dan el mensaje anterior. Hay algo que me está faltando por hacer? Saludos. Abdel--- End Message ---
--- Begin Message ---Everything with work fine until I try the --with ldap switch If I try --with-mcrypt with will not work with ldap I am using php 4.2.0 with solaris 8 with latest patches and gcc -3.0.1 and apache 2.0.36 tried php ver 4.2.1 same problem. Ian Miller BSD/IS-BMI Computing Sr. System Engineer University of Chicago [EMAIL PROTECTED]--- End Message ---
--- Begin Message --->Date: Wed, 29 May 2002 01:21:51 -0500 >To: [EMAIL PROTECTED] >From: Ian Miller <[EMAIL PROTECTED]> >Subject: config problems --with-ldap > >Everything works fine ( when running the configure) until I try the >--with ldap switch If I try --with-mcrypt with ldap it will not work >and ldap will not work at all >I am using php 4.2.0 with solaris 8 with latest patches and gcc >-3.0.1, apache 2.0.36 and latest ver of openldap >tried php ver 4.2.1 same problem. > >Ian Miller >BSD/IS-BMI Computing >Sr. System Engineer >University of Chicago >[EMAIL PROTECTED] Ian Miller BSD/IS-BMI Computing Sr. System Engineer University of Chicago [EMAIL PROTECTED]--- End Message ---
--- Begin Message ---i managed to configure apache 1.3 .... but without php now im tryin to configue it with php .... 1. LoadModule php4_module modules/libphp4.so AddModule mod_php4.c i ve added this .... but get an error .... cant load the module .... it couldnt be found ..... 2. ScriptAlias /php/ "D:\WINDOWS\system32\inetsrv\php" AddType application/x-httpd-php .phtml AddType application/x-httpd-php .html Action application/x-httpd-php "/php/php.exe" AddType application/x-httpd-php .php <IfModule mod_php4.c> php_value include_path "D:\WINDOWS\system32\inetsrv\php" php_flag safe_mode on </IfModule> now this doent work either ... i get an error messege for this too ..... and now ... i cant even get to display the successfull installation of apache page :( ..... help plz ...... thnx ..... toby ..... _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com--- End Message ---
--- Begin Message ---I am having a problem on installing php with oracle support on Unixware 7. I am using apache 1.3.14 on UnixWare 7.1, PHP 4.1.2 and oracle 8.1.5 I have installed oracle 8.1.5, apache 1.3.14 and PHP 4.1.2. I have performed the DSO installation of PHP But when I restarted apache it says: Syntax error on line 207 of usr/local/apache_1.3.14/conf/httpd.conf : cannot load /usr/local/apache_1.3.14/libexec/libphp4.so into server : dynamic linker: /usr/local/apache_1.3.14/bin/httpd : relocation error : sysmbol not found: finite: referenced from : /usr/local/apache_1.3.14/libexec/libphp4.so ./bin/apachectl start : httpd could not be started I don't know what to do about it. Anyone knows? ----FAHIM--- End Message ---