php-install Digest 3 Apr 2001 09:05:53 -0000 Issue 245 Topics (messages 2652 through 2666): Re: Problem with pdflib 2652 by: Chris Howells 2653 by: Luis Castro Mendoza Problems running oracle, apache and snmp together on debian 2654 by: Gregory Brown Re: need help with configure - NOVICE 2655 by: B. van Ouwerkerk install fails 2656 by: Mike Schwarz MySQL, PHP4 & Apache on RH6.2 2657 by: Chad Oblak 2659 by: Myke Carter 2660 by: Chad Oblak php.ini not being used 2658 by: Joe Laffey 2664 by: Joe Laffey Re: PHP4 as a DSO - no error, but dot working 2661 by: Yasuo Ohgaki 2665 by: Joe Laffey running as root?? 2662 by: Duke 2663 by: Rasmus Lerdorf security alert 2666 by: Mike Schwarz 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] ----------------------------------------------------------------------
Luis Castro Mendoza wrote: > What happen ?? > Thanks in advance Hmm, are you sure you've go those bits installed? > Finally, I added the options --with-png-dir=/usr --with-tiff-dir=/usr > --with-libz-dir=/usr > and the problem continues. You'll need to delete config.cache before re-running ./configure: rm config.cache -- Chris Howells E-Mail: [EMAIL PROTECTED] ICQ: 93699029 Web: http://www.chowells.uklinux.net
Chris Howells wrote: > Luis Castro Mendoza wrote: > > > What happen ?? > > Thanks in advance > > Hmm, are you sure you've go those bits installed? > > > Finally, I added the options --with-png-dir=/usr --with-tiff-dir=/usr > > --with-libz-dir=/usr > > and the problem continues. /usr/lib contains this lrwxrwxrwx 1 root root 13 Nov 28 06:59 libz.so.1 -> libz.so.1.1.3 -rwxr-xr-x 1 root root 63492 Feb 7 2000 libz.so.1.1.3 lrwxrwxrwx 1 root root 15 Nov 28 07:00 libzvt.so.2 -> libzvt.so.2.2.6 -rwxr-xr-x 1 root root 87377 Feb 21 2000 libzvt.so.2.2.6 lrwxrwxrwx 1 root root 14 Mar 29 10:56 libtiff.so -> libtiff.so.3.5 (I create this based in a suggestion that I was read in a previous thread) lrwxrwxrwx 1 root root 14 Nov 28 07:01 libtiff.so.3 -> libtiff.so.3.5 -rwxr-xr-x 1 root root 291673 Feb 5 2000 libtiff.so.3.5 lrwxrwxrwx 1 root root 17 Mar 29 13:30 libpng.so -> libpng.so.2.1.0.5 (I create this based in a suggestion that I was read in a previous thread) lrwxrwxrwx 1 root root 17 Nov 28 07:01 libpng.so.2 -> libpng.so.2.1.0.5 -rwxr-xr-x 1 root root 168080 Feb 11 2000 libpng.so.2.1.0.5 > > > You'll need to delete config.cache before re-running ./configure: > > rm config.cache I do this, but the error persist. Thanks for your time. > > > -- > Chris Howells > E-Mail: [EMAIL PROTECTED] > ICQ: 93699029 > Web: http://www.chowells.uklinux.net > -- Luis Castro Mendoza Universidad de Chile
Hi, I have recently installed debian on a idle computer at the office, the idea was to use PHP with SNMP and Oracle to monitor and alert of possible network situations When I installed PHP + apache + SNMP using debian's interface everything worked just fine, but when trying to install support for Oracle I ran into some problems. Following suggestions, I uninstalled everything and started off from scratch, where I got the whole system running just fine, except for SNMP. It runs, PHP does recognize it, but i can't use the functions using named calls. Any idea as to what I did wrong. BugZBrown Developer Impex Interativa S.A. Tel (5511)3897-1111 Ramal 7010
>with Redhat 6.2 and Apache. I've never installed any software packages >until now and after following the PHP manual's instructions I attempted to >run configure: > >./configure -with-pgsql=/opt/pgsql-7.02 -with-apache=/opt/apache --with not -with Go to www.devshed.com .. you've got some reading to do.. Bye, B.
i have a strange bug here, don't now where to search. when i install php with setup.exe on my win 2000 server, there is a error message: - component mscomctl.ocx or one of its dependencies not correctly registered, a file is missing or invalid after clicking on OK, php setup says OK, successfull installation. i check the isapi extension in IIS 5.0 --> nothing so, i did manual configuration in IIS with extension .php and the correct dll after running a test, every php-script is terminating with a http error 500 - internal server error and in the system-event-protocol i have an error 10004: EventID 10004 Source DCOM DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon \IWAM_TEK1 in order to run the server: {3D14228D-FBE1-11D0-995D-00C04FD919C1} same happens with an installation of IHTML or other script-server dll.... who can help? mike C-TEK Computer Bergstrasse 36 CH-5430 Wettingen phone & fax 056 426 04 01
Hello, I got MySQL up and running ok. I cannot seem to get php and apache to get along. Can anyone recommend a good installation/configuration tutorial for PHP running on apache writing to MySQL. Best regards, Chad Oblak
Chad Oblak wrote: > > Hello, > > I got MySQL up and running ok. I cannot seem to get php and apache to get > along. > > Can anyone recommend a good installation/configuration tutorial for PHP > running on apache writing to MySQL. http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ Myke
Thanks for all the help. I finally (after about a week of trying) got php and apache to play together nicely. If anyone is interested here is what I did: gunzip -cd php-4.0.4pl1.tar.gz | tar xvf - cd php-4.0.4pl1 ./configure --with-mysql=/usr/local/mysql \ --with-xml \ --with-apache=../apache_1.3.19 \ --enable-track-vars make make install cp php.ini-dist /usr/local/lib/php.ini gzip -cd apache_1.3.19 | tar xvf - cd apache_1.3.19 ./configure \ > --activate-module=src/modules/php4/libphp4.a \ > --enable-module=php4 \ > --prefix=/usr/local/apache \ make make install [root@linux bin]# ./httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_setenvif.c mod_php4.c suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec ./apachectl start ./apachectl start: httpd started I was finally able to get a php script to run. Will suexec being disabled cause any problems? Best Regards, Chad Oblak -----Original Message----- From: Myke Carter [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 4:41 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-INST] MySQL, PHP4 & Apache on RH6.2 Chad Oblak wrote: > > Hello, > > I got MySQL up and running ok. I cannot seem to get php and apache to get > along. > > Can anyone recommend a good installation/configuration tutorial for PHP > running on apache writing to MySQL. http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ Myke -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi, I have the following setup: Redhat 6.2 Intel PHP 4.03pl1 Apache 1.3.14 I compiled a DSO version using ./configure' '--with-mysql' '--with-apxs' '--with-config-file-path=/etc/httpd/conf/php.ini' The phpInfo() command indicates that path. When I make changes to the php.ini file in the location above I cannot see the changes in phpInfo(), or in normal PHP use (in other words the changes have no effect). I have multiple times stopped and started the webserver completely. The permissions on the ini file are such that the webserver can read it. Any ideas why this would fail? I found no error messages in the apache error logs. Thanks! Joe Laffey LAFFEY Computer Imaging St. Louis, MO ---------------------- Need to do multi-file string replacement in Un*x, but don't want to mess with sed? Try rpl. It's a free text replacement utility with source. http://www.laffeycomputer.com/rpl.html -- Check it out! ------------------------------------------------------------------------
On Mon, 2 Apr 2001, Joe Laffey wrote: > Hi, > > I have the following setup: > > Redhat 6.2 Intel > PHP 4.03pl1 > Apache 1.3.14 > > I compiled a DSO version using > ./configure' '--with-mysql' '--with-apxs' > '--with-config-file-path=/etc/httpd/conf/php.ini' > > The phpInfo() command indicates that path. When I make changes to the > php.ini file in the location above I cannot see the changes in phpInfo(), > or in normal PHP use (in other words the changes have no effect). I have > multiple times stopped and started the webserver completely. I figured it out... The --with-config-file-path= want just the base path, not the "php.ini". Now it works great (and I installed 4.04pl1 too!) Joe Laffey LAFFEY Computer Imaging St. Louis, MO ---------------------- Need to do multi-file string replacement in Un*x, but don't want to mess with sed? Try rpl. It's a free text replacement utility with source. http://www.laffeycomputer.com/rpl.html -- Check it out! ------------------------------------------------------------------------
Read Install instructions for all packages, PHP FAQ and PHP Manual carefully, then it should work. Regards, -- Yasuo Ohgaki "Xa" <[EMAIL PROTECTED]> wrote in message 9a4vi2$2gh$[EMAIL PROTECTED]">news:9a4vi2$2gh$[EMAIL PROTECTED]... > > Hello everybody, > > > > I'm trying to install Apache+MySQL+PHP on my Linux 2.2.17 (dist. Mandrake > 7.2). > I'm trying to use : > - apache_1.3.19 > - mysql-3.23.33 > - php-4.0.4pl1. > > I followed miscellaneous explanations from numerous web sites (eg Julie > Meloni very clear explanations), I tried a all-in-one script > (Linuxeasyinstall), but to end with the same result : > - everything seems to go fine (configure, make, make install, httpd.conf), > I don't get one warning message during the whole process, > - Mozilla displays <?php phpinfo() ?> instead of the result of the command > - httpd -l gives always : Compiled-in modules: http_core.c mod_so.c > suexec: enabled; valid wrapper /usr/sbin/suexec > > I just can't find what I'm missing. And I wonder how I could begin from > scratch again (so how can I uninstall everything about apache-mysql-php ?) > Any help would be greatly appreciated. Many thanks in advance ! > > Xa > -- > [EMAIL PROTECTED] > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
> > "Xa" <[EMAIL PROTECTED]> wrote in message > 9a4vi2$2gh$[EMAIL PROTECTED]">news:9a4vi2$2gh$[EMAIL PROTECTED]... > > - Mozilla displays <?php phpinfo() ?> instead of the result of the command This sounds like you did not configure the httpd.conf file for the correct MIME type with something like: -17. Edit your httpd.conf or srm.conf file and add: - - -For PHP 3: AddType application/x-httpd-php3 .php3 - -For PHP 4: AddType application/x-httpd-php .php - -You can choose any extension you wish here. .php is simply the one we -suggest. You can even include .html . Joe Laffey LAFFEY Computer Imaging St. Louis, MO ---------------------- Need to do multi-file string replacement in Un*x, but don't want to mess with sed? Try rpl. It's a free text replacement utility with source. http://www.laffeycomputer.com/rpl.html -- Check it out! ------------------------------------------------------------------------
When I check phpinfo(INFO_ENVIRONMENT), I get all kinds of stuff about my root user's environment. I installed the apache php4 module, and my apache server is configured to run under user and group "nobody". My buddie's machine only puts out 2 rows on the "Environment" table, nothing about root. If you want to take a look, go to http://rocketbox.dhs.org/~kidlinux/info.php, and select INFO_ENVIRONMENT. I'd like php to not be running as root! Thanks, -- Duke.
So don't start it as the root user. On Mon, 2 Apr 2001, Duke wrote: > When I check phpinfo(INFO_ENVIRONMENT), I get all kinds of stuff about my > root user's environment. I installed the apache php4 module, and my apache > server is configured to run under user and group "nobody". My buddie's > machine only puts out 2 rows on the "Environment" table, nothing about root. > If you want to take a look, go to > http://rocketbox.dhs.org/~kidlinux/info.php, and select INFO_ENVIRONMENT. > I'd like php to not be running as root! > > Thanks, > -- Duke. > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
thankx phil.... now, the installation works fine !! but i have the next problem.... running a php-file gives me the following error-message: *********************************** Security Alert! PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set. This variable is set, for example, by Apache's Action directive redirect. You may disable this restriction by recompiling the PHP binary with the --disable-force-cgi-redirect switch. If you do this and you have your PHP CGI binary accessible somewhere in your web tree, people will be able to circumvent .htaccess security by loading files through the PHP parser. A good way around this is to define doc_root in your php.ini file to something other than your top-level DOCUMENT_ROOT. This way you can separate the part of your web space which uses PHP from the normal part using .htaccess security. If you do not have any .htaccess restrictions anywhere on your site you can leave doc_root undefined. ************************************ can you help again? i'm running IIS 5.0