php-install Digest 30 Aug 2001 09:36:38 -0000 Issue 436 Topics (messages 4108 through 4116): Re: PHP on WinNT + IIS4 4108 by: Phil Driscoll 4109 by: Phil Driscoll HTTP 500 Error 4110 by: Web user cgi-bin/php has a parse error?! 4111 by: S Beam Request For Information 4112 by: josh.winters.webstream.net Directory settings when running make install 4113 by: Larry Cotton httpd crash using php 4.06 on iplanet w/sp8 4114 by: Bob Menard Re: compile error: structure has no member named `ap_auth_type' 4115 by: Mary Hunter mysql API Version 4116 by: Phil Bryan 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] ----------------------------------------------------------------------
On Sunday 12 August 2001 8:46 pm, Greg wrote: > I had a similar problem. I installed PHP 4.0.6 on Windows 2000 Server and > IIS 5.0. I got the same error. I checked the command line and the output > looks good to me. > > does the PHP.exe need to be in the cgi-bin directory? currently it is not > in a web-shared directory. No it doesn't. Have you tried following the instructions in install.txt to tick the 'check file exists' box in the script mapping dialog? If not, try it - your error may then turn into a 404 implying that your script is not where you think it is, or has a silly hidden file extension on the end or similar. Cheers -- Phil Driscoll
On Tuesday 28 August 2001 7:27 pm, Jos Luis Claver wrote: > Hi everybody > I've got an 'intemediate' problem: > I run W2K Professional SP2 + IIS 5 + PHP 4.0.6 > > If I try to see a page with extension php, the output is coming from php > processor. > But if I add php code in a html page, the code is send direct to the > browser (where I can see php instructions). You simply haven't configured a script mapping for .html extensions (or whatever you are using). The instructions in install.txt tell you how to configure script mappings on IIS. Cheers -- Phil Driscoll
It always gets HTTP 500 server error, when I try to run the php scripts on Windows98 SE + PWS4.0. THE PHP installed is Ver 4.06 -win32, as a server module. However I get a screen full of html codes when I run c:\php\php.exe -i in MS-DOS command line So what's problem with the installation or configuration? Thanks BAKER
Dear People of PHP land: When I try to install php4.0.6 as a CGI program under Apache I get " Parse error: parse error in /usr/local/httpd/cgi-bin/php on line 3238 " on any php page. I compiled with -enable-force-cgi-redirect and copied the resulting binary from /usr/local/bin/php to the cgi-bin, and added the following to httpd.conf: Action php-script /cgi-bin/php AddHandler php-script .php I also made sure anything else dealing with php is commented out. This has happened on two systems, one custom Apache with mod_php3 as a DSO on RedHat, another SuSE 7.2 with the stock Apache and no mod_php. I know I am doing something really dumb, but please help me figure it out. -S
Hello, Could you please direct this request to the proper party or department? We would like to get some additional information about your business in an effort to explore the ways that we might be able to work together. If possible, we would like to receive your media package. If you have an interest, please respond to the address below, or visit our web site. Please send to: If by e-mail: [EMAIL PROTECTED] If by mail: WebStream Internet Solutions Outsourcing Department 2200 W.Commercial Blvd. Suite 204 Ft. Lauderdale, FL 33309 USA Thank you very much. Josh Winters [EMAIL PROTECTED] http://webstream.net Design * Programming * Virtual and Dedicated Server Hosting Since 1997
Hi I'm trying to install php and apache under linux. I've downloaded the sources and configure php using the following command : ./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars --with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib" make seems to run through fine. when I run make install it's attempting to create directories in /usr/local/lib - which fails because I haven't got permissions : make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear' make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear' mkdir cannot make directory '/usr/local/lib/php +----------------------------------------------------------------------+ | The installation process is incomplete. The following resources were | | not installed: | | | | Self-contained Extension Support | | PEAR: PHP Extension and Add-on Repository | | | | To install these components, become the superuser and execute: | | | | # make install-su | +----------------------------------------------------------------------+ make[2]: *** [install-data-local] Error 5 make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear' make: *** [install-recursive] Error 1 Does anyone know what I have to do change the default for this directory ? Cheers larry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Imerge Limited Tel :- +44 (0)1954 783600 Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601 Saxon Way Web :- http://www.imerge.co.uk Bar Hill Cambridge CB3 8SL United Kingdom ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I've installed and configured php4.06 on iPlanet with sp/8 and ran the tests with no problem. But when I try and access a file with a .php extension it causes an httpd crash. I am also running NS server 4.x on the same box, has anyone else attempted/had any problems doing this? Any help would be much appreciated. Thanks, Bob
After banging my head against the wall for several more days, I succeeded in compiling PHP4 with a different Apache version. I was able to compile PHP with Apache version 1.3.20 using the options below. It seems there is some incompatibility with 1.2b8 that isn't mentioned anywhere. There was another post on this list some months back. Someone else had the same error, with a different solution. Theirs was to comment out a line in some of the C code that referred to ap_auth_type in the php code. They didn't say which Apache version they were using. > I can't get PHP4 to compile on my machine. I am at my wits' end on > this. I need to upgrade to PHP4 from 3.0.18 for a particular > application I would like to run. > > If anyone has any ideas on what I might try, I would be most > grateful for any input. > > I've tried compiling with every version of PHP4 I can get my > hands on. php-3.0.18 compiles fine this way. Everything works, > php serves postgresql database stuff wonderfully. I'm doing all > this as root, so there's not a permissions error anywhere. With > every version of PHP4 I've tried, I get the same error. > > OS: > Red Hat Linux release 5.1 (Manhattan) > Kernel 2.0.39 on an i586 > > Output of ldconfig -p can be found at: > http://www.jfku.edu/~mhunter/ldconfig.txt > > Contents of /etc/ld.so.conf can be found at: > http://www.jfku.edu/~mhunter/ldsoconf.txt > > PostgreSQL version: postgresql-7.1.2 > > configure command: > ./configure --without-mysql --with-apache=../apache_1.2b8 > --enable-track-vars --with-pgsql >& configure.out & > > make command: > make >& make.out > > Here is the error output from make for php 4.0.6 . > > make[3]: Entering directory `/home/mhunter/gzips/php-4.0.6/sapi/apache' > gcc -I. -I/home/mhunter/gzips/php-4.0.6/sapi/apache > -I/home/mhunter/gzips/php-4.0.6/main -I/home/mhunter/gzips/php-4.0.6 > -I/home/mhunter/gzips/apache_1.2b8/src-I/home/mhunter/gzips/php-4.0.6/Zend > -I/home/mhunter/gzips/php-4.0.6/ext/xml/expat/xmltok > -I/home/mhunter/gzips/php-4.0.6/ext/xml/expat/xmlparse > -I/home/mhunter/gzips/php-4.0.6/TSRM > -I/home/mhunter/gzips/apache_1.2b8/src -DSUPPORT_UTF8 > -DXML_BYTE_ORDER=12 -g -O2 -c mod_php4.c && touch mod_php4.lo > mod_php4.c: In function `sapi_apache_flush': > mod_php4.c:142: warning: dereferencing `void *' pointer > mod_php4.c:142: request for member `connection' in something not a > structure orunion > mod_php4.c: In function `init_request_info': > mod_php4.c:406: structure has no member named `ap_auth_type' > make[3]: *** [mod_php4.lo] Error 1 > make[3]: Leaving directory `/home/mhunter/gzips/php-4.0.6/sapi/apache' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/mhunter/gzips/php-4.0.6/sapi/apache' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/mhunter/gzips/php-4.0.6/sapi' > make: *** [all-recursive] Error 1
Hi all, I am newbie in Php. Try to port ASP to Php. I have complied a Aapche+SSL with DSO support. 3 Days ago, I tried to complie PHP 4.0.6 + Mysql 3.23.41 into libphp4.so. Everything looks fine. I have noticed when I run phpinfo(), the Mysql client API showed 3.23.32. When I complied the PHP w/Mysql, I have put the --with-mysql=/usr into configure. My question is why the client API version still showed 3.23.32 instead of 3.23.41? Thanks, Phil Bryan