php-install Digest 1 Oct 2002 11:31:14 -0000 Issue 1048
Topics (messages 8614 through 8620): vulnerabilities?? 8614 by: Anil Garg 8615 by: Rasmus Lerdorf nothing happen when installing php-4.2.3-win32 8616 by: Randall Kindley 8617 by: Pierre-Alain Joye PHP, APache and Mysql on Redhat linux 7.3 8618 by: Peter Goggin 8619 by: Chris Hewitt 8620 by: Peter Goggin 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 ---hi, Is there any version of php and apache for which there are no known vulnerabilities?? regards anil :)--- End Message ---
--- Begin Message ---Sure, grab the latest Apache 1.3.x and the latest PHP. On Mon, 30 Sep 2002, Anil Garg wrote: > hi, > > Is there any version of php and apache for which there are no known > vulnerabilities?? > > regards > anil :) > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >--- End Message ---
--- Begin Message ---I unzipped the php-4.2.3-win32 to my MS Windows XP box, but all I get is a blank dos command screen when I execute the php.exe file to install. What am I doing wrong?
Randall Kindley, Ph.D.
President
The Performance Group5215 45th Ave. S.
Minneapolis, MN 55417Local: 612-721-6752
Toll-Free: 866-800-9326
Mobile: 612-578-9518building high performance organizations
by developing people and processes[EMAIL PROTECTED] www.the-performance-group.com
--- End Message ---
--- Begin Message ---On Mon, 30 Sep 2002 18:00:10 -0500 "Randall Kindley" <[EMAIL PROTECTED]> wrote: > I unzipped the php-4.2.3-win32 to my MS Windows XP box, but all I get > is a blank dos command screen when I execute the php.exe file to > install. What am I doing wrong? Nothing :). php.exe is the php command line tool : php -Cq myscript.php To install it for a specific server, see the online documentation. hth pa--- End Message ---
--- Begin Message ---I am trying to move a web application from a win98 machine to a linux (redhat 7.3). This application works as designed on the win98 box. I cannot get it to work properly on the linux box. It appears that despite php, apache and mysql being installed on linux they are not correctly integrated. I have made the php.ini file look the same as the one on the win 98 box. I do not know how do do this for the apache config file. The default file which is on the linux system has a number of </IfDefine HAVE_PHP> </IfDefine> and similar sections. It would appear that somewhere these variables have to be defined . Can anyone advise on on what I need to do to get the php working with Apache etc? Currently the web site is partially working with a lot of php code being displayed as source. How do I check php is working independently of Apache? I installed the rpms for mysql : MySQL-MAX -3.23.52-1 MySQL--3.23.52-1 MySQL-Client-3.23.52-1 MySQL-Shared--3.23.52-1 For Apache the rpms are: apache-1.3.23-1 apacheconf-0.2.2-2 For PHP the rpms are php-msql-4.1.2-7 Are there any more rpms I should install? What configurations steps are required to make sure they work together? Any help gratefully accepted. Regards Peter Goggin--- End Message ---
--- Begin Message ---Peter Goggin wrote: >I am trying to move a web application from a win98 machine to a linux >(redhat 7.3). This application works as designed on the win98 box. I cannot >get it to work properly on the linux box. > RH 7.3 has mysql, apache and php already (slightly earlier versions though). >I do not know how do do this for the apache config file. The default file >which is on the linux system has a number of </IfDefine HAVE_PHP> ></IfDefine> and similar sections. > Its done by the Apache start up script in /etc/init.d/httpd. One way to test is to comment out the <IfDefine> around the HAVE_PHP4, and restart apache ("service httpd restart"). If apache complains then something is wrong. >Currently the web site is partially working with a lot of php code being >displayed as source. > How do you mean "as source"? This sounds like you have not got an AddType application/x-httpd-php .php .php4 .php3 .phtml line in /etc/httpd/conf/httpd.conf >How do I check php is working independently of Apache? > From the command line, "php -v" will print its version number. (Assumes your upgrade also installs a CLI version). > >Are there any more rpms I should install? > >What configurations steps are required to make sure they work together? > I have only used the default RH 7.3 installation versions rather than upgrading, so there may be configuration settings I don't know about. HTH Chris--- End Message ---
--- Begin Message ---The main problem with the default redhat versions is that the mysql does not seem to include the max version allowing the use of innodb (at leasst I could not find the rpm on the distribution disks) , hence the reson for installing the later version of everything. I tried commenting out the if statemsnt and apache complaind tha t mod_php.so did not exist. php -v gives the version 4.1.2 I have the line: AddType application/x-httpd-hp .php .php4 .php3 .phtml However I had ommitted to add .htm ( some of my scripts are htm containing php) The system now works correctly. Many thanks for your patience and help. Regards Peter Goggin ----- Original Message ----- From: "Chris Hewitt" <[EMAIL PROTECTED]> To: "Peter Goggin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 6:32 PM Subject: Re: [PHP-INST] PHP, APache and Mysql on Redhat linux 7.3 > Peter Goggin wrote: > > >I am trying to move a web application from a win98 machine to a linux > >(redhat 7.3). This application works as designed on the win98 box. I cannot > >get it to work properly on the linux box. > > > RH 7.3 has mysql, apache and php already (slightly earlier versions though). > > >I do not know how do do this for the apache config file. The default file > >which is on the linux system has a number of </IfDefine HAVE_PHP> > ></IfDefine> and similar sections. > > > Its done by the Apache start up script in /etc/init.d/httpd. One way to > test is to comment out the <IfDefine> around the HAVE_PHP4, and restart > apache ("service httpd restart"). If apache complains then something is > wrong. > > >Currently the web site is partially working with a lot of php code being > >displayed as source. > > > How do you mean "as source"? This sounds like you have not got an > AddType application/x-httpd-php .php .php4 .php3 .phtml > line in /etc/httpd/conf/httpd.conf > > >How do I check php is working independently of Apache? > > > From the command line, "php -v" will print its version number. (Assumes > your upgrade also installs a CLI version). > > > > >Are there any more rpms I should install? > > > >What configurations steps are required to make sure they work together? > > > I have only used the default RH 7.3 installation versions rather than > upgrading, so there may be configuration settings I don't know about. > > HTH > Chris > >--- End Message ---