Questions tagged [php]

PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

1,970 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
-2 votes
1 answer
107 views

a site use Linux Server take long time to load

i get this problem first time since 5 years i use same site same script without any change . i have a site xxxxxxx.com (php script) use a ip http://1.1.1.1 (example) , i use centos as OS for the ...
stephane nelson's user avatar
-2 votes
1 answer
759 views

After OS update PHP function file_get_contents() cause SSL error

After my regular updates and a reboot of my server I accessed a web page on it and got the following errors: Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: ...
sevynos's user avatar
  • 61
-2 votes
1 answer
360 views

How to install Multiple PHP versions on i686?

Below is my Server installation info: Operating system CentOS Linux 6.9 Webmin version 1.831 Virtualmin version 5.07.gpl Kernel and CPU Linux 2.6.32-573.el6.i686 on i686 I was trying to install ...
Rizwan's user avatar
  • 21
-2 votes
1 answer
136 views

Why PHP is not installing in my Ubuntu server and how can I install it now?

Everytime when I try to install php using this command, it shows me "E: Package 'php5-mcrypt' has no installation candidate". Here is the command below what I used for installing php- sudo apt-get ...
Bangladesh 71's user avatar
-2 votes
1 answer
941 views

Error: Package: php-mysql-5.4.45-12.el6.remi.x86_64 (remi) Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit)

I am trying to install php-mysql on my cent-os server and getting this error : [root@Cloud-POC ~]# yum install mysql-libs-5.1 Loaded plugins: fastestmirror Setting up Install Process Loading mirror ...
Mohan's user avatar
  • 97
-2 votes
1 answer
8k views

Apache - change php version

I have installed a new vesion of php on ubuntu. But apache uses old version. How to change version from 5.3 to 5.6 ? http://joxi.net/1A5zRK5hKexKyr I googled the question but nothing has helped ...
holden321's user avatar
  • 117
-2 votes
1 answer
217 views

Removing 1 line of code from all php files

I can see same code under all php files. Starting from <?php $rfghoh = '*f%)sfxpmpusut)tpqssu6 And end $rfghoh=$yuoopi-1; ?> I am just looking for script using which only first line of ...
user1763672's user avatar
-2 votes
1 answer
3k views

php-fastcgi.socket does not exist

I am following this tutorial, and have gotten thus far: I have installed the following packages using apt-get install nginx php5-cli php5-cgi spawn-fcgi psmisc. Despite installing PHP FastCGI, I do ...
Daniel's user avatar
  • 111
-2 votes
2 answers
2k views

How do i install another version of PhP?

I would like to have installed WHMCS on my dedicated server. (I already have installed apache2) How do I install PhP 5.4 as WHMCS not support PhP 5.5? WHMCS System requirements: http://docs.whmcs.com/...
Andreas1803's user avatar
-2 votes
1 answer
903 views

High load of RAM but low CPU

I've a dedicated problem.. When I make a load test with ~500 connections, CPU stay low (about 30%) but memory grow up fast ! And I have a 100% used RAM and 50% used SWAP.. An other dedicated with 2x ...
user238258's user avatar
-2 votes
1 answer
928 views

Starting/Stopping Custom PHP Chat Server Linux Service (CentOS)

I have been trying all night to get this service working properly. I created this script from a template and am very new to bash coding. I wrote a fully functioning chat server in php which runs ...
chad's user avatar
  • 1
-2 votes
2 answers
2k views

Generating unique ID based on hardware/server

Is it possible to generate a unique ID based on server hardware/OS? I want to generate license keys for my PHP web app based on customer server, just like Atlassian JIRA does. Thanks for your help.
Cem's user avatar
  • 543
-3 votes
2 answers
44 views

One site non https

Hello I want to make sure that one file of my site is non https. I have this in my VirtualHost80 file Redirect permanent /README.php http://<ip>/README.php And I have this in my ...
John Wick's user avatar
  • 105
-3 votes
1 answer
1k views

Run Python and Php under same server

I am trying to run python on main domain and a wordpress blog in sub-directory. Is it possible to do so? Currently the they are running good in sub-domains i.e http://main-domain.com and blog.main-...
Tarun's user avatar
  • 101
-3 votes
2 answers
16k views

Apache2 : Xampp is not running

I have apache2 and Xampp both installed in my server now my problem is When i stop apache2 from /etc/init.d/apache2 stop and tried restart xampp like /opt/lampp/lampp restart i am getting the ...
Ritvik's user avatar
  • 1
-3 votes
1 answer
343 views

Magento Using https:// for all links in source

So today I was trying to install a fresh instance of Magento v1.7.0 on my vps which is running nginx. Once I uploaded the clean install to public_html I unzipped it and entered my ip to run the ...
user1356029's user avatar
-3 votes
2 answers
5k views

how do you install php-devel

I keep getting dependency issues when I try to run yum install php-devel yum install --skip-broken php-devel .... --> Finished Dependency Resolution php-5.1.6-32.el5.i386 from base has depsolving ...
user962449's user avatar
  • 1,477
-3 votes
1 answer
2k views

PHP extensions not loading on IIS

Calling a function that loads an extension (curl, mysqli, etc.) throws a PHP fatal error. I've looked all over the internets but all the things found did not resolve. Here is a list of findings and ...
Alexey's user avatar
  • 101
-4 votes
1 answer
229 views

Create a server to host a website using old pc

Good Afternoon, sorry if its not the right place to ask this question. I have to make a project, a website, for university, and the client wants to see the progress until the project is finished. ...
Adriano Maia's user avatar
-5 votes
1 answer
231 views

How do I fix my PHP/MariaDB installations?

I ran the clear_iredmail script found here: http://www.iredmail.org/forum/topic333-iredmail-support-faq-how-to-uninstall-iredmail.html and accidentally deleted some important config files (and more) ...
m3hr's user avatar
  • 1

1
36 37 38 39
40