Hello, I have a clean install running:
- LEAP
- PHP
- MariaDB
- Apache2.
Unzipped all TastyIgniter files in /user/www/htcdocs
CHMOD 777 on htcdocs
CHOWN wwwrun on htcdocs
When I run the setup, I am able to config database etc. At completion I get the notification all is done, and have to remove the setup folder and setup.php. Did do so (currently setup files are restored again). But than I am not able to open the admin console and when opening the frontend I only get a basic site.
Have tried many different things, CHMOD 777 all files again, etc. But nothing works. If I install a test.php file in the folder php (and also HTML) perfectly works.
What is the issue?
Steps I followed on the clean LEAP OS:
sudo zypper update
sudo zypper install apache2
sudo systemctl start apache2
sudo systemctl enable apache2
systemctl status apache2
sudo httpd -v
vi /srv/www/htdocs/index.html
<html>
<body>
<h1> It works!</h1>
</body>
</html>
sudo zypper install SuSEfirewall2
vi /etc/sysconfig/SuSEfirewall2
FW_SERVICES_EXT_TCP="22 80 443"
sudo systemctl restart SuSEfirewall2
sudo chown wwwrun /srv/www/htdocs/ -R
sudo zypper install mariadb mariadb-client mariadb-tools
sudo systemctl start mysql
sudo systemctl enable mysql
systemctl status mysql
mysql --version
mysql -u root
sudo mysql_secure_installation
sudo zypper install php7 php7-mysql apache2-mod_php7
sudo a2enmod php7
sudo systemctl restart apache2
vi /srv/www/htdocs/test.php
<?php phpinfo(); ?>
ESX LAMP Restore Point
zypper install php7-tidy php7-zip php7-soap php7-devel php7-phar php7-pear php7-pdo php7-mbstring php7-ldap php7-iconv php7-intl php7-json php7-imap php7-openssl php7-bcmath php7-curl php7-gd php7-fpm php7-sqlite php7-snmp php7-zlib php7-xsl php7-xmlwriter php7-xmlreader php7-readline php7-sockets php7-tokenizer php7-pgsql php7-opcache php7-gettext php7-fileinfo php7-ftp php7-fastcgi php7-exif php7-dba php7-odbc php7-xmlrpc php7-bz2 php7-enchant php7-dom php7-pspell php7-gmp re2c libssl43 pkg-config libopenssl-devel php7-openssl ImageMagick ImageMagick-devel
zypper addrepo https://download.opensuse.org/repositories/security:privacy/openSUSE_Tumbleweed/security:privacy.repo
zypper refresh
zypper install mcrypt
systemctl restart apache2 mariadb.service ; systemctl enable apache2 mariadb.service ; a2enmod php7 ; a2enmod rewrite
ESX LAMP + PreReq Restore Point
CHMOD 777 /srv/www/htdocs
Copy installation files to /srv/www/htdocs
mysql -u root -p
CREATE DATABASE rms;
CREATE USER XXX@localhost IDENTIFIED BY 'XXX!';
GRANT ALL PRIVILEGES ON rms.* TO 'XXX'@localhost;
FLUSH PRIVILEGES;
\q
chown wwwrun /srv/www/htdocs/ -R
chmod 777 /srv/www/htdocs/ -R