Deactivate Other PHP Modules
If you have previously enabled Apple’s PHP module included in Mac OS X by un-commenting the respective lines in the httpd.conf file, you need to undo that change before you install this package, otherwise bad things will happen... The installer should catch this and refuse to install.
On OS X Server, you have to disable Apple’s PHP module in the Server Admin application, but the trick is that it only lets you do this if you have chosen the “Advanced” configuration style. In the “Standard” configuration, Server Admin will not let you disable the original Apple PHP. It might look like it does, but it will re-enable it behind your back.
About OS Versions
Note that I only support the current version of both OS X and PHP because I have no time or interest to support older OS releases or PHP versions. This means that you should only use these packages for production systems if you are prepared to update those systems to new Mac OS X versions fairly quickly. Once a new version of OS X is out, I usually have to adapt my build system with major, non-backwards compatible changes. After that’s done, I can’t build and release any more packages for the previous OS version.
Installation
With all of that out of the way, here’s the download link:
Entropy PHP 5.3.0-3.pkg
An older PHP 5.2 package:
Entropy PHP 5.2.9-7.pkg
Here’s an older, unsupported and probably insecure version for 10.4:
PHP 5.2.4 for Apache 1.3
To install the package:
1. Download the appropriate installation package from the list above.
2. Double-click the installer package and follow the directions of the installer application.
PHP should now be up and running. You can test it by dropping a file named test.php into your Sites folder in your home directory. Into that file, write this line:
.
Hiç yorum yok:
Yorum Gönder