Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    apache_module: mod_rewrite - as a basic requirement


    hello dear linux-community

    if a server needs to meed some requirements - eg for installation wordpress and if the server needs to run

    eg see here: https://wordpress.org/about/requirements/

    PHP 5.2.4 or greater
    MySQL 5.0 or greater
    The mod_rewrite Apache module
    then i need to have a closer look at the apache2handler in the php-ini


    Apache Version Apache
    Loaded Modules core mod_so http_core mod_authn_file mod_authn_core mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_core mod_access_compat mod_auth_basic mod_auth_digest mod_socache_shmcb mod_watchdog mod_ratelimit mod_reqtimeout mod_filter mod_deflate mod_mime mod_log_config mod_env mod_mime_magic mod_expires mod_headers mod_usertrack mod_setenvif mod_version mod_session mod_session_cookie mod_ssl prefork mod_unixd mod_status mod_autoindex mod_dir mod_alias mod_php5

    all the mentioned are listed in the php-info.file

    note: here are no mod_rewrite Apache module
    so what
    Akoya P 6512 15" OpenSuse 13.2: AMD Athlon X2 P320
    HP Notebook hp 14 r 103ng - running OpenSuse Leap 42.1
    Samsunng q 210, 12,1" OpenSuse 13.1: Intel® Core™ 2 Duo Proz. P8400 2,26 GHz 1066 MHz FSB 3 MB

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    -->
    It's not a PHP thing, it's an apache thing. For Red Hat / Fedora I think it's already enabled and for Debian / Ubuntu etc. Run sudo a2enmod rewrite and restart apache.
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •