I have dedicated virtual server CentOS 6.3 and Parallels Plesk Panel 11.0.9 on it. And I need PHP accelerator installed on that VM. So my question is is that possible to install any PHP accelerator within Plesk? Or should I have SSH access to the VM?
Related
I installed php-7.2.1 on CentOS 6.9 and both # php -v and directadmin say it's 7.2.1. The System Information window in directadmin says:
Apache 2.4.29 Running
DirectAdmin 1.52.1 Running
Exim 4.87 Running
MySQL 5.5.31 Running
Named 9.8.2rc1 Running
sshd Running
dovecot 2.2.25 (7be1766) Running
pure-ftpd 1.0.42 Running
Php 7.2.1 Installed
However apache is using still the previously installed php version php-fpm56.
How do I make apache use the newer php version? Should I delete previously installed php-fpm56 package before attempting to install the newer one?
Update your php-fpm
yum install php72w-fpm
Then Restart your Apache
sevice httpd restart
I am currently working in PHP in my localhost. I have php version 5.5.9-1, apache2 version 2.4.7, and Mysql Ver 14.14 in my Ubuntu 14.04.
But how to check whether I am using LAMP or XAMPP?
I tried typing "lamp" and "xampp" in terminal. But it shows "command not found". Should I come to the conclusion that these things(apache, mysql and php) were installed seperately?
In my case I have installed XAMPP for Linux (LAMPP) in Ubuntu 18.10
How can you know it?
Try to go to /opt/lampp
If you can, it means Xampp for Linux it's installed, but if you want to know the version, in the same path of step 1, put in your command line ./xampp status
You will know XAMPP for Linux version and Apache, MySQL and ProFTPD status (running or not).
Know PHP version
cd /opt/lampp/bin
./php -v
Know MySQL (MariaDB) version
cd /opt/lampp/bin
./mysql --version
Know Apache version
cd /opt/lampp/bin
./apachectl -v
I hope helps somebody
./xampp status image
You have to understand this :
1) LAMP
For LAMP setup, you have to install PHP, Apache and Mysql packages separately. In LAMP you don't get anything to manage your server in GUI way.
For Ex: To start apache server you have to type command in terminal.
To start apache : sudo service apache2 start
For installing LAMP refer :
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
2) XAMPP
It is a complete package which comes bundled with PHP,Apache, Mysql etc in a single installation. It gives you a control panel from which you can manage your server and configuration files.It is something of this sort.
For XAMPP : https://www.apachefriends.org/download.html
If you don't find xampp control panel in your system, this means you have a LAMP setup. i.e : first option.
The lamp package installs apache, mysql and php separately.
In ubuntu you should have the apache installed on /etc/apache2
the mysql installed on /etc/mysql
and the php installed on /usr/share/php
If you are developing you can use PHP's built-in server.
Try:
xampp -v
If xampp is installed it will display the version else its not installed.
I am trying to install nodejs and mongodb on nginx webserver in ubuntu operating system but i am not getting it. I installed nginx server but couldnt getting how to install nodejs and mongodb on nginx web server. I also installed php mysql and phpmyadmin with nginx server in the ubuntu and all those are running fine. Now i want to install nodejs and mongodb over there but i am not getting it. Is it possible to host php websites and nodejs application using the same nginx web server.?????
Yes it's possible to install MEAN stack and LEMP stack in Ubuntu.
I am assuming that your are using Ubuntu 14.0 LTS.
Kindly follow the below tutorial links to setup nodejs with nginx as a reverse proxy method.
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-14-04
Installing Mongodb.
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Other task, adding users and config ip in mongodb Google it.
I have configured Ubuntu Server 13.10 with apache2, php, mysql and phpmyadmin.
I want to install zPanelcp for managing server for hosting purpose but my question is this should i need to install zpanelcp on fresh ubuntu without apache2, php, mysql and phpmyadmin or after installation of apache2, php, mysql and phpmyadmin?
Fresh install of the OS with minimal options. The following modules MUST NOT be installed on your server:
MySql
Apache
Bind
Dovecot (Ubuntu, CentOS)
Postfix (Ubuntu, CentOS)
proFTPd (Ubuntu, CentOS)
hMail Server (Windows)
FileZilla Server (Windows)
IIS (Windows)
See: http://docs.zpanelcp.com/?node=22
It doesn't support Ubuntu 13.10 yet.
ZPanel won't work on any Ubuntu version that isn't 12.04LTS unfortunately.
12.10 Uses PHP 5.4. (Suhosin support was dropped (integrated) in that version). ZPanel relies heavily on suhosin so just that one package makes it usable on any other version of Ubuntu.
I'm pretty sure that there wouldn't be any conflicting dependencies on a desktop version.
Might I suggest that if you're dead set on using 13.10 then run a virtual environment of 12.04 and SSH into it for website access.
It's mentioned on there official forum:
http://forums.zpanelcp.com/thread-9501.html
I have ZpanelCP version 10.1.0 working in an ubuntu 13 box and don't have any problem.
According to their documentation, you should not install those modules as stated before by Hilmi Erdem KEREN
I have installed MongoDB service in my Centos 6 cloud server. Now i need to install in my server php-pecl-mongo-1.2.10-1.el6.remi.x86_64.rpm... but it gives "packages not found". Can anyone fix this problem? My php version is PHP 5.3.3.
I am using putty for configuring Centos 6 server. I have admin privilege to configure php.ini.
You could:
try RPM installing php-pecl-mongo without a specific version
point to a specific RPM url for installation, eg. using rpmfind.net => php-pecl-mongo
install using sudo pecl install mongo per the Unix installation instructions