| How to just: | Categories: Technical | Food | design | Other | All |
|
How to get PHP4 working on OpenBSD Description:How to get PHP4 working on OpenBSD. I'm using PHP for nagios and my browser kept trying to download the PHP files instead of running them. No good. This is how to make it work. (I'm doing this as root, probably a bad practice) First, install PHP using ports:
Install the apache modules:
Copy the php.ini file into the config directory:
Reboot Apache:
I put a test script into my root directory called "something.php", it contains the following:
I navigate here:
And see something like this:![]() If you see something like that, it means things are working. Congrats! (This is largely being put here to remind myself how to do it. This is probably pretty incomplete.) Link to this Be sure to check out our other project, Thingist - Things you love Looking for other Technical articles? Here is another random article from this category: How to submit a job to an AS/400 system How to submit a job to an AS400 system. Read More |