Le lun 06/01/2003 à 06:35, Paul Gregg a écrit :
> > perl -pi -e "s|^;extension=mysql.so|extension=mysql.so|" /etc/php.ini
> > Is there a quick and easy way to do this kind of thing in PHP? Or would
> I was about to say "Ask the RPM makers" until I saw who was asking :-)
Everyone's doing that.. Red
In mail.php.internals, Jean-Michel Dault <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Currently, both Mandrake and RedHat use the following trick:
> perl -pi -e "s|^;extension=mysql.so|extension=mysql.so|" /etc/php.ini
>
> This sucks, because you then need perl to install a PHP extension.
> We sur
Hello all,
Currently, both Mandrake and RedHat use the following trick:
perl -pi -e "s|^;extension=mysql.so|extension=mysql.so|" /etc/php.ini
This sucks, because you then need perl to install a PHP extension.
We sure could use sed, but this requires a temporary file, and this
creates some securit