Benches macOS

9

uninstall PHP

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi,

How can I remove the current PHP from Snow Leopard?

Thank you for your help.

9 replies

Sign in or join Beachball Help to reply.

  1. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    berlos wrote:

    How can I remove the current PHP from Snow Leopard?

    Is this the PHP that comes with Sniw Leopard? Don't remove it. If you need something more, build a new PHP and install it into /use/local or use something like XAMPP.

  2. 0

    berlos

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi, Thanks for the reply m8.

    Yes it is the PHP that came with Snow Leopard.

    I have installed Entropy PHP but the problem is that i can't "activate" that one, when i check PHP version it appears the PHP that came with Snow Leopard and not Entropy PHP.

    Do you know how can i make Entropy PHP on after install it?

    Best Regards

  3. 0

    berlos

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    by the way my previously system was leopard and then upgraded to Snow Leopard.

  4. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    berlos wrote:

    Do you know how can i make Entropy PHP on after install it?

    I think the installer is supposed to do that. Perhaps it hasn't been updated lately. The Snow Leopard PHP has more modules included so the Entropy PHP isn't that attractive anymore.

    All you have to do is edit your /etc/apache2/httpd.conf file and specify the paths to the Entropy PHP modules, which are probably in /usr/local.

  5. 0

    berlos

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    "The Snow Leopard PHP has more modules included so the Entropy PHP isn't that attractive anymore."

    Humm i'm new in this field so i will believe in you 🙂.

    I have tried entropy (i know that it has mcrypt) because Mysql return this error:

    "Cannot load mcrypt extension. Please check your PHP configuration."

    Correct me if i'm wrong but i think that PHP that came with Snow Leopard doesn't have or is not active the mcrypt.

    What do you think ?

    Thanks for your help

    Best Regards

  6. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Is this for phpMyAdmin? Just turn on the "McryptDisableWarning" configuration value.

  7. 0

    berlos

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes, it's for phpMyAdmin. But i will only disable the warning, the "problem" still there.

    Mcrypt is a component that we don't need?

    Thanks

    Best Regards

  8. 0

    Stephen Cox

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Mcrypt is a PHP extension. If you are writing encryption (at the script level - remember the databases will do this too) you can compile/install it yourself.

    But what i would do, is use Macports (a package manager @
    http://www.macports.org/) and install a new php, apache system with whatever extensions you want. Then turn off the Snow leopard php/apache.

    Mcrypt is only needed if you are handling encryption with PHP scripts (by the way there are other encryption mods for PHP too).

    Message was edited by: Stephen Cox

  9. 0

    etresoft

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    berlos wrote:

    Yes, it's for phpMyAdmin. But i will only disable the warning, the "problem" still there.

    Mcrypt is a component that we don't need?

    No you, don't need it. If you were running a phpMyAdmin on a public web site, it might be a different story. But for your own use, don't worry about it. phpMyAdmin will work fine with that warning.