![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hello,
I install apache, myqsl, php5, when I type my site url is index.php I see the page code. In my httpd.conf file I added the extension php Code:
DirectoryIndex index.html index.htm index.html.var index.php index.php3 index.php4 Code:
AddType application/x-httpd-php .php |
|
|||
![]()
Do you have the php module loaded in httpd.conf?
|
|
||||
![]()
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. $ Last edited by jggimi; 18th April 2009 at 02:38 AM. |
|
|||
![]()
Hello,
Before posting my question I am going to see the documentation for installation and configuration of php, the complete list of commands you have already passed I typed the command list .I managed to solve my problem, the problem is not the configuration of php |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Are these USB wireless adapters supported in OpenBSD? | guitarscn | OpenBSD General | 4 | 7th April 2009 01:29 AM |
mount_nullfs: Operation not supported by device | carpman | FreeBSD General | 1 | 19th February 2009 05:31 PM |
FreeBSD supported branches update | corey_james | FreeBSD Security | 0 | 3rd June 2008 03:55 AM |