Re: I don't know what happen

From: Date: Sun, 17 Dec 2000 03:12:42 +0000
Subject: Re: I don't know what happen
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30702@lists.php.net to get a copy of this message
Hello Javier, (JB == "Javier Bregant") qiu@fullzero.com.ar writes: JB> Hi i'm new on the list and i'm trying to set up php 4.0.2 on a JB> Debian Potato 2.2 I followed all the instruccion on the manual but JB> when i try to load a .php or .html with php code in netscape i JB> don't see nothing JB> I followed this but nothing happen when i load a test page Did you restart apache? % su % updatedb % locate apachectl Then when you find apachectl, use it to restart apache: % /path/to/apachectl stop (wait a few seconds) % /path/to/apachectl start Then create a file with: <?php phpinfo(); ?> and load it in your browser. if that doesn't work, try: % httpd -l And make sure you indeed have php4 compiled in since you didn't build a DSO. JB> cd apache_1.3.x JB> 6. ./configure --prefix=/www JB> 7. cd ../php-x.x.x JB> 8. ./configure --with-mysql --with-apache=../apache_1.3.x JB> --enable-track-vars JB> 9. make JB> 10. make install JB> 11. cd ../apache_1.3.x JB> for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a JB> 13. make JB> 14. make install JB> 15. cd ../php-x.x.x JB> for PHP 4: cp php.ini-dist /usr/local/lib/php.ini JB> 17. Edit your httpd.conf or srm.conf file and add: JB> For PHP 4: AddType application/x-httpd-php .php -Brian -- Most people find the concept of programming obvious, but the doing impossible.

« previous php.general (#30702) next »