vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I am quite new in OpenBSD. I have an OpenBSD box with apache on board. I would like to add to apache support for php pages. I have installed php4 form ports. Could some one help mi and tell how configure apache to support php. My goal is to install on OpenBSD box cacti: http://www.raxnet.net/products/cacti/. Some one is using cacti on OpenBSD box? Thanks in advance. Tomek |
| ||||
| it is much easier to install php from the packages and to follow the instructions accompanying this process (which applies to any other package as well), fyi. this method is also recommended everywhere in the openbsd faq. first, stop httpd: apachectl stop then (fetched literally from the package instructions), To finish the install, enable the php4 module with: /usr/local/sbin/phpxs -s To enable parsing of PHP scripts, add the following to /var/www/conf/httpd.conf: AddType application/x-httpd-php .php Copy the config file below into /var/www/conf/php.ini /usr/local/share/doc/php4/php.ini-recommended Don't forget that the default OpenBSD httpd is chrooted into /var/www by default, so you may need to create support directories such as /var/www/tmp for PHP to work correctly. if you've finished these steps, start your httpd again: apachectl start good luck, steven. On Mon, 22 Dec 2003, tominf wrote: > Hello, > > I am quite new in OpenBSD. I have an OpenBSD box with apache on board. I > would like to add to apache support for php pages. I have installed php4 > form ports. > > Could some one help mi and tell how configure apache to support php. My goal > is to install on OpenBSD box cacti: http://www.raxnet.net/products/cacti/. > Some one is using cacti on OpenBSD box? > > Thanks in advance. > > Tomek > > > |