How-to: Make a info.php file
How to get system information from PHP:Create a file named info.php.
Write the following code:
Access the information via e.g:
your-webserver-url/info.php
Subsititue your-webserver-url, with your url.
03.03.2012. 18:00
OpenBSD with PHP
Howto: (setting the path for fetching packages - use a local mirror!)export PKG_PATH=http://ftp.openbsd.dk/pub/OpenBSD/5.0/packages/i386/
Then :
# pkg_add -v php5-core
It will now download, e.g:
php5-core-5.2.12p1:libiconv-1.13p0: ok (3 to go)
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 test with a info.php page
25.10.2010. 09:38
ping: sendto: No route to host
Task: OpenBSD network errorDescription:
ping: sendto: No route to host
Howto:
route delete default
route add default 192.168.1.1
Above example shows 192.168.1.1 as gateway.
Modified this IP if your gateway IP are different.
Source: own trouble shooting
25.10.2010. 08:34
Categories
- Vingaard.dk(2)
- Articles and Presentation(8)
- Research & Resources(2)
- In the news(4)
- OpenBSD(5)
- Modsecurity help(1)
RSS Feeds
New Posts
- No articles at the moment
New Comments
- No comments at the moment