|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
php programming in openbsd.
What should I install in order to start php programming in oopenbsd?
What compiler to use? |
|
|||
I see.
|
|
||||
Basically you would want to install php5-core and any extensions you want or need beyond that (e.g. php5-mysql). The PHP interpreter (php) can be used stand alone for testing simple scripts but for most interesting stuff related to the web: you will need to do as Oko has said - and set it up for use with Apache via module or CGI. Using PHP with Apache on OpenBSD is trivial if the chroot is disabled, if apache/httpd is run under chroot, well then it gets a little more interesting
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Where should I put my php code in the /var/www/ ...etc?
|
|
|||
php code goes where your .html files go. in /var/www/htdocs
also create /var/www/tmp writable by user "www" if you want to use the default session cookie behavior while retaining chroot. If none of that makes sense, you may want to do more reading, as there may be too much to teach in the format of this forum. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java and AI-programming | idefix | Programming | 4 | 7th February 2009 01:41 PM |
c programming - Modules | corey_james | Programming | 3 | 6th November 2008 08:49 PM |
Learning Programming | Crypt | Programming | 35 | 27th October 2008 04:54 PM |
GUI Programming | bsdnewbie999 | Programming | 6 | 17th August 2008 12:19 AM |
C programming - Lint | corey_james | Programming | 14 | 16th May 2008 11:05 PM |