All Questions
33
questions
1
vote
0
answers
682
views
Couldn't add PHP 7.4 to Webmin/Virtualmin
I followed this tutorial which actually referred to this but after I did the installation for my CentOS 7 and went to System Settings -> Re-Check Config at VirtualMin, I see the same PHP versions I ...
3
votes
2
answers
26k
views
Apache not executing PHP on CentOS 7 in browser
I've installed the following:
[root@localhost conf.d]# yum list installed | grep 'http'
httpd.x86_64 2.4.6-80.el7.centos.1 @updates
httpd-tools.x86_64 2.4.6-...
0
votes
2
answers
3k
views
nginx php can't write files on CentOS machine
I have this PHP code:
<?php
$myfile = fopen("testfile.txt", "w")
?>
And the following permissions in my /usr/share/nginx/html directory
drwxrwxrwx. 3 root root 4096 Nov 20 08:51 .
drwxr-xr-x....
0
votes
1
answer
418
views
interpretation of yum error messages
I tried to upgrade php 5 to php 7 on CentOS6 but failed with errors like this:
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel)
Requires: php(api) ...
0
votes
1
answer
360
views
Trying to install phpBB (3.2.7) on my CentOS 7 VPS with Nginx and getting 403, 502 errors or the default page
I'm trying to install phpBB (3.2.7) on my CentOS 7 VPS with Nginx, and I keep getting alternately these errors:
403 - Forbidden
The Nginx default page saying the web server is functioning, but 404 ...
0
votes
1
answer
670
views
How do I prevent YUM installing a dependency?
I am trying to setup a CentOS server with multiple php versions.
I've managed to do this so far by installing the REMI software collections of php56 and php70 and I got Apache running with different ...
2
votes
0
answers
109
views
Wordpress Home page only works. The rest of the pages and post returns Nginx 404. CentOS Linux 7.6.1810
I had successfully installed a wordpress site using the webmin but the problem is after i changed the permalinks settings of wordpress to '%postname%' the rest of the pages except the home page ...
0
votes
1
answer
1k
views
Nothing happens after yum install php72 php72-php-cli
I ran the following commands twice to ensure it's installed:
yum install php72 php72-cli returns
Package php72-1.0-1.el7.remi.x86_64 already installed and latest version
now running php -v ...
106
votes
4
answers
479k
views
Checking what PHP version I'm running on Linux?
I'm running Centos 5 and I need to know what version of PHP I'm running, is there a command for this which I can run?
3
votes
0
answers
3k
views
OCI8 extension not loading in PHP 5.4, CentOS 7
I have a CentOS environment running as a VM guest. It runs and Oracle 12.1 Database, along with PHP 5.4.16, on Apache 2.0.
I've gone through the installation steps to ensure that the correct OCI ...
1
vote
1
answer
2k
views
Too many redirects on Magento Installation - Nginx/centos
I have a Magento Installation version 1.9.3.1. Until yesterday It was working fine, but now the frontpage is not working with the error - Too many redirects.
On further checking in the console(...
1
vote
0
answers
613
views
Trouble installing php-devel on CentOS
Working with a PHP install and trying to install APC on a server to help with speed issues with an application we're developing.
We are having trouble getting phpize installed. phpize is not on the ...
0
votes
1
answer
1k
views
curl is executed twice from crontab
I have installed centos 7 and PHP 5.6.29 on my server, and I set up crontab to run this command every 15 minutes:
*/15 * * * * curl http://example.com/check.php
but the command is run twice. Is ...
1
vote
2
answers
500
views
Security regarding nginx + php on CentOS 7 with OwnCloud 9
I'm trying to setup a OwnCloud Server v9 for my freelancing purpose.
SPECS:
- CentOS 7
- nginx
- php
I'm a little bit confused. I can find only the info about the PHP Version 5.5 in the ownCloud 9....
0
votes
1
answer
16k
views
Installing PHP extension mbstring in PHP 5.6 CentOS 6.8
I am using PHP 5.6 on my centos-release-6-8.el6.centos.12.3.x86_64 server.
I got following error from one of my PHP function.
Fatal error: Call to undefined function mb_detect_encoding()
So, I ...