On Sun, Nov 20, 2005 at 06:22:15PM +0100, noob lenoobie wrote: > Hello. > > I installed a Fresh OpenBSD 3.8 in order to make a > firewall/webserver.But I can't make apache interpret php. > > I did run phpxs -s, I checked my httpd.conf (with Loadmodule and > AddType), I restarted apache with apacheclt stop && sleep 1 && > apachectl start (apachectl restart fails). > > I've read many maillinglists and newsgroups, but the answer is always > "run phpxs -s" ou "add the required lines to httpd.conf". So I really > don't know what to do next. > > You may want to see some commands : > > #phpxs -s seems ok to me > phpxs -s > [activating module php5 in /var/www/conf/httpd.conf] > cp /usr/local/lib/php/libphp5.so /usr/lib/apache/modules/libphp5.so > chmod 755 /usr/lib/apache/modules/libphp5.so > cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak > cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf > rm /var/www/conf/httpd.conf.new > > You should copy the sample configuration files from > /usr/local/share/examples/php5 to /var/www/conf/php.ini
you did perform this last step, right? the next thing to look at is your httpd log file e.g. /var/www/logs/error_log p.s. this question belongs on @ports Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm