DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th September 2016
MatthiasKoch MatthiasKoch is offline
Real Name: Matthias Koch
Port Guard
 
Join Date: Mar 2016
Location: Germany
Posts: 37
Default enable php in apache2

It's probably that I'm just too confused atm...

Setting up my first OpenBSD (6.0) apache server. Obviously I somehow miss enabling php. I've setup a file named "info.php" with just "<? phpinfo(); ?>" in it, and it's being called but returns an empty page. Some module apparently needs to be activated, probably in httpd2.conf, but right now I can't see the wood for the trees.

# /etc/rc.d/php70_fpm check
php70_fpm(ok)


Could anybody help?
TIA
Matthias
Reply With Quote
  #2   (View Single Post)  
Old 29th September 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Have you reviewed the guidance in /usr/local/share/doc/pkg-readmes/ ??

The php README file has guidance for various webservers, including Apache.

Last edited by jggimi; 29th September 2016 at 02:39 PM. Reason: typo
Reply With Quote
  #3   (View Single Post)  
Old 30th September 2016
MatthiasKoch MatthiasKoch is offline
Real Name: Matthias Koch
Port Guard
 
Join Date: Mar 2016
Location: Germany
Posts: 37
Default

Thanks a lot - found the docu and got it running
Reply With Quote
Reply

Tags
apache2, php


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 on startup OpenBsd 5.6 morophla OpenBSD Packages and Ports 2 21st April 2015 03:39 AM
Apache2 and PHP5 installation? joancatala OpenBSD General 0 2nd June 2011 09:44 PM
I'm sorry ... (apache2, php5, pstgresql, openbsd 4.8) Nothing2Do OpenBSD Packages and Ports 14 7th February 2011 10:09 PM
apache2.2+PHP5 edvinus OpenBSD Packages and Ports 1 29th June 2009 08:13 PM
Apache2 and Iconv disi NetBSD Installation and Upgrading 1 13th May 2008 09:07 PM


All times are GMT. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick