Re: Re2: [PHP-INST] PHP installation problem

From: Date: Fri, 16 May 2003 12:52:44 +0000
Subject: Re: Re2: [PHP-INST] PHP installation problem
Groups: php.install 
Request: Send a blank email to php-install+get-10906@lists.php.net to get a copy of this message
The problem has also been solved after I downloaded php-4.3.2RC2.tar.gz from http://www.php.net instead of previous php-4.2.3.tar.gz and repeated the exact same installation. That is, the test page generated by <?php phpinfo(); ?> in /usr/local/apache/htdocs/test.php can be viewed in Mozilla browser at http://localhost/test.php, which indicated that the php installation was successful. In a message dated 5/15/2003 7:47:22 PM Eastern Daylight Time, volker@multiartstudio.de writes: > Subj:Re2: [PHP-INST] PHP installation problem > Date:5/15/2003 7:47:22 PM Eastern Daylight Time > From:<A > HREF="mailto:volker@multiartstudio.de">volker@multiartstudio.de</A> > To:<A > HREF="mailto:php-install@lists.php.net">php-install@lists.php.net</A> > Sent from the Internet > > > > i have overseen , the few lines from my last posting already exist in your > config, but > it seems that you have enabled dynamic modules in php and apache, i dont > see > any --enable-static=all here ,) > > did you tell apache to load the php module? > i think its not loaded. activate the module and everything will be fine > ....i guess > > volker > > > ----- Original Message ----- > From: <LiliZZhang@aol.com> > To: <php-install@lists.php.net> > Sent: Friday, May 16, 2003 1:33 AM > Subject: [PHP-INST] PHP installation problem > > > > I have installed the PHP from source as the followings but can not test > if > it > > > > is correct: > > > > In Linux, after installing apache web server from source > > apache_1.3.27.tar.gz, I > > > have installed PHP from source: > > > > > > #cd /usr/src > > > #gzip -d php-4.2.3.tar.gz > > > #tar xvf php-4.2.3.tar > > > #cd php-4.2.3 > > > > > > #./configure --with-mysql=/usr \ > > > --with-xml --with-apache=../apache_1.3.27 \ > > > --with-curl=../curl \ > > > --enable-shared-pdflib > > > > > > #make > > > #make install > > > > > > #cp php.ini-recommented /usr/local/lib/php.ini > > > > > > ...... > > > > > > then I added the following lines into > /usr/local/apache/conf/httpd.conf: > > > #And for php 4.x use: > > > # > > > AddType application/x-httpd-php .php > > > AddType application/x-httpd-php-source .phpd > > > > > > > > > then I created a new file of test.php in /usr/local/apache/htdocs/ with > one > > > > > line: > > > > > > <?php phpinfo(); ?> > > > > > > to test, that is, in Mozilla browser I typed: > > > > > > http://localhost/test.php > > > > > > but there was no default test page with phpinfo() displayed; instead, > only > > > "<?php phpinfo(); ?>" displayed., indicating that PHP has not worked > > > right. > > > > > > So what is the problem with the situation? > > > > > > > > > > > Thanks > > > > > > > > Lili Zhang > > > > > > > > > > > > > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.install (#10906) next »