View Single Post
  #3   (View Single Post)  
Old 18th April 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

N2:

For your convenience, and, for the very last time, I will assist you by telling you what you have already seen, and either did not understand or chose to ignore. This is at least the fifth time, and, that is more than enough, for me. Those who are unable to read and understand messages from the OS should not try to use the OS. I recommend you pick an OS, any OS, that has native language support for administration and operation. OpenBSD is probably not the OS for you.

----------

When you installed php5-core, you received the following output on your console. I have reproduced that information, and highlighted the critical section in red. Please, pay close attention to the red content.
Code:
$ pkg_info -M php5-core
Information for ftp://rt.fm//pub/OpenBSD/snapshots/packages/i386/php5-core-5.2.9p0.tgz

Install notice:
To enable the php5 module please create a symbolic
link from /var/www/conf/modules.sample/php5.conf
to /var/www/conf/modules/php5.conf.

ln -s /var/www/conf/modules.sample/php5.conf \
    /var/www/conf/modules

The recommended php configuration has been installed
to /var/www/conf/php.ini.

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 are using the apache-httpd package, rather than the built-in apache, you will need to adjust your ln(1) command appropriately.

Last edited by jggimi; 18th April 2009 at 02:38 AM.
Reply With Quote