|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
When I access a test php file from a browser, it responds with unknown file type dialog box.
I've used Yast on my OpenSUSE 10.2 system to install php5. I've edited configuration files such as httpd.conf per discussion threads here. One thing that doesn't work is the directive 'LoadModule php5_module modules/libphp5.so' because the file libphp5.so isn't in the modules directory. I'm ready to throw in the towel. I don't want to download and try to install php5 from scratch at this point, right? |
|
|||
|
php5 was already added to /etc/sysconfig/apache2:
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5" Restarting the apache server had no effect. |
|
||||
|
cummingsmike wrote:
> > php5 was already added to /etc/sysconfig/apache2: > > APACHE_MODULES="actions alias auth_basic authn_file authz_host > authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env > expires include log_config mime negotiation setenvif ssl suexec userdir > php5" > > Restarting the apache server had no effect. > > Check with "apache2ctl -M". Kind regards, Andreas Stieger |
|
|||
|
The php5 module appears to be loaded. Result of apache2ctl -M
Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) actions_module (shared) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_default_module (shared) authz_user_module (shared) authn_dbm_module (shared) autoindex_module (shared) cgi_module (shared) dir_module (shared) env_module (shared) expires_module (shared) include_module (shared) log_config_module (shared) mime_module (shared) negotiation_module (shared) setenvif_module (shared) ssl_module (shared) suexec_module (shared) userdir_module (shared) php5_module (shared) Syntax OK |
|
|||
|
What does your test PHP file look like? I hope you are using <?php ... >? and not <? ... ?>. Short tags are not supported by default, you should use the <?php form as it's more portable.
|
![]() |
| Bookmarks |
| Tags |
| php5 install |
| Thread Tools | |
| Display Modes | |
|
|