- 论坛徽章:
- 0
|
在arm开发板上安装了一个apache+php,不能使用,现象如下:
1.不加载libphp5.so的时候可以正常使用,
2.加载libphp5.so的时候,可以显示主目录下的内容,但是显示不了文件,
如图:
点击a.html的时候就
有人知道这是怎么回事吗?????
httpd.conf:- ServerRoot "/usr/apache"
- PidFile "/var/log/apache/apache.pid"
- LockFile "/var/log/apache/apache.lock"
- Listen 80
- <IfModule !mpm_netware_module>
- <IfModule !mpm_winnt_module>
- User daemon
- Group daemon
- </IfModule>
- </IfModule>
- ServerAdmin you@example.com
- ServerName kic10009:80
- DocumentRoot "/mnt/disk/www"
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <Directory "/mnt/disk/www">
- Options Indexes FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule dir_module>
- DirectoryIndex index.html index.php
- </IfModule>
- <FilesMatch "^\.ht">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- ErrorLog "/var/log/apache/error_log"
- LogLevel warn
- <IfModule log_config_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
- <IfModule logio_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
- </IfModule>
- CustomLog "/var/log/apache/access_log" common
- </IfModule>
- <IfModule alias_module>
- ScriptAlias /cgi-bin/ "/usr/apache/cgi-bin/"
- </IfModule>
- <IfModule cgid_module>
- </IfModule>
- <Directory "/usr/apache/cgi-bin">
- AllowOverride None
- Options None
- Order allow,deny
- Allow from all
- </Directory>
- DefaultType text/plain
- <IfModule mime_module>
- TypesConfig conf/mime.types
- AddType application/x-compress .Z
- AddType application/x-gzip .gz .tgz
- </IfModule>
- <IfModule ssl_module>
- SSLRandomSeed startup builtin
- SSLRandomSeed connect builtin
- </IfModule>
复制代码 |
|