phpMyAdmin

#1
I have been able to solve the php version issue (see previous thread). Now I am running openlitespeed 1.6.8 with php version 7.4.2.
I run a couple of small websites on this server, and all are doing ok. All are also using mysql (mariadb)
However, i can't get phpMyAdmin to work. I installed it from the command line using the instructions given here: https://openlitespeed.org/kb/phpmyadmin-on-openlitespeed/ I would like to use it with the ip adress,
When adresseing the page using the url http://<myserverip>phpmyadmin/index.php, i get a white screen.
When i dropped info.php in the same directory as phpmyadmin, i do get the info page to see.
I created an static context with the uri /phpMyAdmin/.
I hope there is someone who can pont me towards the solution.

Erik
 

Attachments

Pong

Administrator
#4
Can you provide your phpinfo URL? http://<myserverip>/phpmyadmin/phpinfo.php, does your virtual host use domain or just IP?
 
#7
Hi
I have changed the path, still the same. Reinstalled phpmyadmin. Still the same. However, there was no README file in the phpmyadmin directory, so i put one in. And i put the info.php in it.
Both can be accessed, at least from my side.
http://5.2.72.156:8088/phpmyadmin/info.php

I will post a ticket with the support desk.

Thanks so far

Erik
 
#10
Got really lost. Now i have lsphp70 back, and all is working including wordpress. Changing to lsphp74 gives a critical error with wordpress and no phpmayadmin. I am trying to locate error files, but can't even find those.
 
#12
The error is the so callled critictal error - however, i only have the dutch screenshot. I just changed back to lsphp74. You can now see the info.php from the same url. http://5.2.72.156:8088/phpmyadmin/info.php

If I click on the wordpress link, it gets me here.
https://wordpress.org/support/topic...your-website-please-check-your-site-admin-em/
if you got to www.pa0esh.com, you should get the same.
Thanks for helping me out. I even installed a fresh wordpress, but still the same error.
Erik


Schermafdruk 2020-02-21 15.54.11.png


And here are the php modules enabled:
[root@pa0esh ~]# php --modules

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
icons
intl
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]

Zend OPcache
 
Last edited:
#15
I finally solved the issue. The error log showed fata errors for the wordpress and phpmyadmin pages. From there i could conclude that the json extension had nt been installed. Then i search on google showed the way how to execute <code> yum install lsphp74-json.x86_64 </code>.
First i performed
yum --enablerepo=remi-php74 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt

Then i checked which json module was available.

[root@pa0esh html]# yum --enablerepo=remi-php73 search php | grep php74 |grep json
lsphp74-[B]json[/B].x86_64 : JavaScript Object Notation extension for PHP
php74-php-[B]json[/B].x86_64 : JavaScript Object Notation extension for PHP
php74-php-pecl-[B]json[/B]-post.x86_64 : JSON POST handler


So i performed
yum install lsphp74-json.x86_64

Now all is working fine.
Thanks again for the help, i learned a lot.
Erik
 
Top