php-install Digest 22 Sep 2001 20:17:55 -0000 Issue 470 Topics (messages 4368 through 4372): Re: File download? 4368 by: Jeremy Wadsack Problem with mail() function when windows 2000(IIS 5.0) is config ured with php4isapi.dll 4369 by: Gossi, Dean Sablot 4370 by: Justin Makeig Cannot load libphp4.so: No such file or directory 4371 by: Brandon Bell MYSQL support 4372 by: Ashley M. Kirchner 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] ----------------------------------------------------------------------
Steve Blair ([EMAIL PROTECTED]): > I finally got PHP 4.06/Apache 1.3.20 to compile on Solaris 8, I did the > static module. I ran into another problem though. When I try to access my > test.php both Mozilla and IE prompt me for an application/download. I ran > httpd -l and it shows mod_php4.c, I checked the httpd.conf and the 'AddType > application/x-httpd-php .php' is there. I also placed a false LoadModule > statement in the httpd.conf file and tried a reload which failed, so I've > got the right configuration file. Am I missing something else here? Any help > is greatly appreciated Add the AddHandler to an Apache config file and kick the server. The line should look like this: AddHandler php-script .php And goes in srm.conf in old Apaches, httpd.conf in new ones. -- Jeremy Wadsack Wadsack-Allen Digital Group
Can anyone help, here is the problem. The developers (Derrick) seems to think the is probabley not a bug. I hope he is right, I say it is a bug. If someone can help me, I would appriciate it. Here are the details. 1. Windows 2000 server with SP2 running IIS 5.0. 2. There are 2 ways to setup PHP with IIS. First way: a) IIS manager b) Select Website properties c) Select Home Directory Tab d) Select Configuration e) Select Add f) Select Executable: c:\php\php.exe (this is where I installed it) g) Select Extention: .php h) Select "All Verbs" and "Script Engine" check boxes. THIS METHOD WORKS CORRECTLY WITH OUR SMTP SERVER AND THE PHP MAIL FUNCTION WE CAN SEND OUT MAIL NO PROBLEM. Second way: a) IIS manager b) Select Website properties c) Select Home Directory Tab d) Select Configuration e) Select Add f) Select Executable: c:\php\sapi\php4isapi.dll (this is where I installed it) g) Select Extention: .php h) Select "All Verbs" and "Script Engine" check boxes. THIS METHOD DOES NOT WORK WITH OUR SMTP SERVER. WE CANNOT SEND OUT MAIL NO PROBLEM. Thank-You, Dean Gossi PSG Network Systems & Software Engineering The Document Company, XEROX Office: 716.422.1062 Lab: 716.422.0068 Pager: 716.921.0489 Email: [EMAIL PROTECTED]
I'm trying to install php with the Sablot extension on my Mac OS X machine. I've been able to compile php without the --with-sablot flag and it works just fine. However, when I try the --with-sablot flag the configure script complains about not finding iconv. So, I downloaded and compiled libiconv (is this the same thing?) and I still get the same error. Has anyone successfully installed Sablotron on a *NIX/Mac OS X machine and could give me some help? Or does anyone know of anywhere on the web I can find specific install instructions? Thanks, Justin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
I'm trying to update my s/w to the latest versions and have run into a problem loading the libphp4.so module into Apache. Apache runs fine if I don't use PHP. Here is my setup: OS: AIX 4.3.3 Everything compiled with gcc 2.95.2 Steps to build as follows: gzip -d -c openssl-0.9.6b.tar.gz | tar xf - gzip -d -c mod_ssl-2.8.4-1.3.20.tar.gz | tar xf - gzip -d -c apache_1.3.20.tar.gz | tar xf - gzip -d -c php-4.0.6.tar.gz | tar xf - cd openssl-0.9.6b ./config --prefix=/w1/local no-threads make cd ../mod_ssl-2.8.4-1.3.20 ./configure \ --with-apache=../apache_1.3.20 \ --with-ssl=../openssl-0.9.6b cd ../apache_1.3.20 setenv SSL_BASE ../openssl-0.9.6b ./configure \ --prefix=/w1/local/apache_1.3.20 \ --sbindir=/w1/local/apache_1.3.20/sbin \ --enable-module=ssl \ --enable-module=most \ --enable-shared=max \ --enable-suexec --suexec-safepath="/bin:/usr/bin" \ --disable-rule=SSL_COMPAT make make certificate TYPE=test su make install # now test out apache -- seems to run okay -- shutdown apache -- exit root account cd ../php-4.0.6 ./configure \ --with-apxs=/w1/local/apache_1.3.20/sbin/apxs \ --with-config-file-path=/w1/local/php/lib \ --with-exec-dir=/w1/local/php/bin \ --with-mysql=/w1/local/mysql \ --with-oracle=/br1/oracle1 make su make install # switch over to apache conf directory and fix httpd.conf in appropriate places LoadModule php4_module libexec/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # switch over to apache sbin directory and test configuration file ./apachectl configtest Syntax error on line 240 of /w1/local/apache_1.3.20/conf/httpd.conf: Cannot load /w1/local/apache_1.3.20/libexec/libphp4.so into server: No such file or directory Line 240 is the LoadModule line above. The permissions and access to this library file look okay to me: -rwxr-xr-x 1 root system 2019069 Sep 21 15:25 /w1/local/apache_1.3.20/libexec/libphp4.so I've read at least two other postings that seem extremely similar, but there are no replies posted to either: http://marc.theaimsgroup.com/?l=php-install&m=97981160902310&w=2 http://www.phpbuilder.com/forum/read.php3?num=3&id=105272&loc=0&thread=105272 I've also read Jason Ellison's recent posting (2000-09-18) about how to compile under AIX 4.3.3 and gcc: http://marc.theaimsgroup.com/?l=php-install&m=100078832410664&w=2 I followed his instructions and they made absolutely no difference. Perhaps the problem(s) that these instructions fix are further down the road for me. Anyway, I'd be grateful if anyone can tell me why the libphp4.so file isn't being recognized by apache and what I might have to do to get this to work. Thanks! _______________________________ Brandon Bell
How can I tell configure where my mysql.sock is located? It seems to like using /tmp/mysql.sock, however that's not where my mysql socket is. -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.