Problema al instalar php4
| From: | Mark | Date: | Tue, 24 Oct 2000 15:13:02 +0000 |
| Subject: | Problema al instalar php4 | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-2644@lists.php.net to get a copy of this message | ||
Hola a todos:
He instalado php4 en linux 6.2, he seguido los siguientes pasos y NO tuve
ningun resultado de error, pero simplemente no puedo abrir archivos php,
esto es lo que hice:
el ./configure lo corri con --with-mysql ya que precisamente para eso quite
mi php3 y quiero poner php4
$ gunzip -c php-4.0.x.tar.gz | tar xf -
$ cd php-4.0.x
$ ./configure --with-mysql --with-apxs
$ make
$ make install
If you get an error telling you that the apxs script could not be found,
look for it on your system and if you find it, provide the full path to it
as: --with-apxs=/path/to/apxs
Next you must copy php.ini-dist to the appropriate place (normally
/usr/local/lib/php.ini) and edit it as necessary to set PHP options.
The only thing left to do is to edit your httpd.conf file and make sure the
PHP 4 mime type is there and uncommented. You need a line that looks like
this:
AddType application/x-httpd-php .php
Then restart your server (apachectl restart) and you should be able to
Alguien me podria decir porque no se ejecutan mis archivos .php ?
Gracias
Saludos desde Mexico