Search the Community
Showing results for tags 'centos'.
-
Hello, There is one php file, the logic is when this code is executing it is getting some data and place in DB, The problem is that when this file I executing from browser, it is working, but when I execute this file from linux shell (as apache user, or root user) like "/usr/bin/php script.php", It is not working, but without any errors. Please advise what I am missing. P.S. Centos8, apache, php 7.4.9
-
i'm currently studying DNS and have run in to the following errors in my centos6 VM. this is the tut i'm following [tutorial][1] [root@server1 named]# sudo service named start Starting named: Error in named configuration: zone example.tv/IN: has no NS records zone example.tv/IN: not loaded due to errors. _default/example.tv/IN: bad zone rev.example.tv:1: unknown RR type '1.168.192.in-addr.arpa.' zone 1.168.192.in-addr.arpa/IN: loading from master file rev.example.tv failed: unknown class/type zone 1.168.192.in-addr.arpa/IN: not loaded due to errors. _default/1.168.192.in-addr.arpa/IN: unknown class/type zone localhost.localdomain/IN: loaded serial 0 zone localhost/IN: loaded serial 0 zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0 zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0 zone 0.in-addr.arpa/IN: loaded serial 0 [FAILED] [root@server1 named]# here is my fwd.example.tv file: $ORIGIN example.tv. $TTL 86400 @ IN SOA server1.example.tv. root.example.tv. ( 2018021011;serial 3600; refresh 1800;retry 604800; expire 86400;min TTL ) @IN NS server1.example.tv. @IN NS server2.example.tv. server1 IN A 192.168.1.17 server2 IN A 192.168.1.20 ~ ~ here is my rev.example.tv file: @ORIGIN 1.168.192.in-addr.arpa. $TTL 86400 @ IN SOA server1.example.tv. root.example.tv.( 2018021011; serial 3600; refresh 1800;retry 604800; expire 86400; minimum TTL ) @IN NS server1.example.tv. @IN NS server2.example.tv. server1 A 192.168.1.17 server2 A 192.168.1.20 17 IN PTR server1.example.tv. 20 IN PTR server2.example.tv. ~ ~ here is my /etc/named.conf file: options { listen-on port 53 { 127.0.0.1; 192.168.1.17; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { localhost; 192.168.1.0/24; }; allow-transfer {localhost; 192.168.1.20; }; recursion yes; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto; /* Path to ISC DLV key */ bindkeys-file "/etc/named.iscdlv.key"; managed-keys-directory "/var/named/dynamic"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; zone "example.tv" IN{ type master; file "fwd.example.tv"; allow-update {none;}; }; zone "1.168.192.in-addr.arpa" IN{ type master; file "rev.example.tv"; allow-update{none;}; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key";
-
Hi, I am running Windows 7 on my Lenovo S400. I am also a fan of Linux. I want to install install side by side with Win 7. Purpose ? Nothing special, as simple as most of us, like surfing, watching movies, listening songs and off-course for LAMP. I am confused which distro to choose. Following are my needs : Stability : I want super cool stability. Means it should not create any problems after installation. It should run smoothly. Performance : Its all about Speed. Ubuntu 13.10 gives less performance than earlier versions of Ubuntu 9.10 Ubuntu 13.10 comes which graphic effects and new right side scrolling menu which is totally waste for me. I still prefer traditional top menu of Linux which give very good performance. I dont want flashy things, just simple desktop Support : Like Ubuntu LTS gives long time support. Somewhere I read Fedora just give repo support till 12 months, after we need to upgrade to next version. Following distros comes in my mind : Ubuntu 12.04 LTS Fedora 19 CentOS Linux Mint Puppy Linux From them I have not yet used Linux Mint and Puppy Linux. I have used nearly all versions of Ubuntu. I dont like their latest releases (Ubuntu 10.04 and further). Most of them are freaking buggy. It just makes me angry because instead of ENJOYING linux, I have to google for bug sulutions. I give a big thumb down of my both hands. Just downloaded Fedora 19 and tested livecd. Desktop is really nice very clean. No shiny and sparkling things which I like. (Because I think Linux is best for its performance and if it is lacking for that, it is a waste for ME.) CentOS suits for server environment such as cpanel hosting. But it is very stable. Give very good performance. On lot of forums, people were writing Linux Mint is best but I dont know why. So if you have used Mint, please give your opinion. (I never used it) Puppy Linux - Never used. Among them, I like Fedora 19 but before making any decision, I would like to know more about Mint and Puppy. Thanks
-
Dear All I have Centos 6.4 Final running on a (Linux certified) HP PC. I'm writing a small EPOS app in PHP and need to access various Magento SOAP methods. When I installed php (via yum) I did not know I needed SOAP. So i used yum install php-soap at a later date. After which I did yum update. Looking at the phpinfo() output Link http://www.prendas.co.uk/images/download/phpinfo.pdf SOAP appears to be working. However I get "SOAP extension is not loaded." in my PHP code when I try and load it. Can anybody pls help? Thanks Andy
-
Hello, I am trying to install a website/script on my VPS. My vps is running CentOS 5 running php 5.3 but the script I am installing requires 5.2