PHP is a widely-used, general-purpose scripting language that is especially suited for web development. Use this tag when you are dealing with a PHP script, installing PHP, or configuring a PHP installation.

learn more… | top users | synonyms

1
vote
0answers
26 views

nginx proxy - 502 bad gateway

First of all let me tell you that I am not an expert on web-servers and things like that. I'm trying to set-up a cloud system on raspi following this link: RasPi Owncloud However, when I try to ...
1
vote
1answer
1k views

phpmyadmin doesn't work after installing php5-mysqlnd

I am currently running into some problems with phpMyAdmin. I set everything up correctly and made sure everything worked. Then later after some developing on some pages I noticed I couldn't execute ...
0
votes
0answers
49 views

What is the matter with my apache?

Today my apache2 suddenly didn't run. cat /var/www/html/info.php <?php echo phpinfo(); ?> No output, no error info at all, no result when to input http://127.0.0.1/info.php in Firefox. cat ...
1
vote
0answers
22 views

download file/backup from remote server to desktop without SSH or SCP?

Issue Background I was trying to install uTorrent on my PHP site and mid-process I was kicked out of SSH and the website went down. libssl.so.1.0.0 and libcrypto.so.1.0.0 were required for uTorrent ...
0
votes
1answer
64 views

My websites are not visible from Apache on localhost

I have installed Ubuntu-based Mint Mate 17.2 distro. I have configured to my taste. Everything is working fine. I have also installed Apache, PHP and MySQL individually using sudo apt-get install. It ...
4
votes
1answer
1k views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
1
vote
2answers
215 views

How can I reach an open & listening port on Linux?

After forwarding the port I wish to open, I cannot seem to connect or get any data to this port. The PHP CLI software I have written is listening to the port actively on Ubuntu 14.04. Part of the code ...
4
votes
2answers
10k views

PHP Upgrade Error (PHP 5.3.3 to PHP 5.4.19 on CentOS 6.4)

I'm using CentOS 6.4 and I was following this tutorial in order to upgrade PHP from v 5.3.3 to v 5.4.19 but I got the following error: Error: php54w-common conflicts with php-common-5.3.3-23.el6_4....
1
vote
0answers
71 views

Apache, can't link to Home directory, Alias does not work

I am trying to make a folder in which I can build websites (using php). I have switched from a Windows system where I was using Uniserver (http://www.uniformserver.com/) which is a setup with MySQL, ...
3
votes
1answer
147 views

Access a file in PHP through a symbolic link from a user that normally doesn't have permission

I have this website, where if the user submits a form, a python script is executed through a php page, and the python script creates a zip file and should offer it to the user for download through a ...
4
votes
1answer
66 views

accessing path from outside the root with symlink

I need to add an outside path to my apache configuration. (httpd) so, I made a symlink to this path in my httpd root folder, the path is: /var/log/httpd/ (I want to display logs directly in my ...
1
vote
1answer
132 views

How to update apache, mysql, phpmyadmin and php on Raspbian?

I have my own web server running on my raspberry pi, and all my programs are outdated. I would like to update my PHP, Apache, MySQL, and phpMyAdmin. Can anyone tell me how to update all of these? I'm ...
1
vote
1answer
64 views

php links against system libxml instead of version specified by ./configure --with-libxml-dir

I'm trying to build php-5.5.33 from source on a Debian 8 system; configure and make both run successfully, but when I run make install I get the following error: Installing PEAR environment: /...
4
votes
1answer
3k views

Howto fix my PHP install on FreeBSD using pkg

I've been messing around with pkg install, installing / removing both php5-5.4.29 and php55-5.5.13. But when I run php from the command line, it will give me an error like this: PHP Warning: PHP ...
0
votes
1answer
324 views

Fedora 23 Apache and PHP not working

I am struggling to get an answer to this. I have Fedora 23 install, in place upgrade from Fedora 22. When I go to http://localhost I get a list of files and folder and not the Fedora Test Page as it ...
0
votes
0answers
16 views

ffmpeg-php is showing in phpinfo but not working

Php info result ffmpeg-php version 0.7.0 ffmpeg-php built on Jul 13 2016 22:27:57 ffmpeg-php gd support enabled ffmpeg libavcodec version Lavc57.50.100 ffmpeg libavcodec license nonfree and ...
1
vote
1answer
1k views

PECL memcached installation gets error

I installed Zend Server 6 (debian). Also installed several packages: apt-get install gcc apt-get install g++ apt-get install libncurses5-dev apt-get install zlib1g apt-get install zlib1g-dev apt-...
1
vote
1answer
227 views

Need to grab IP of visitors from the Apache logs

I want to store the IP of the visitors to my website, and I want to use PHP. Should I use cron for it or how will be the visitors' IP will be automatically stored?
0
votes
0answers
16 views

not able to install ffmpeg php

I have installed this ffmpeg in CentOS server using ffmpeg auto installer version N-80962-g70d418c. After that I downloaded ffmpeg-php-0.6.2 and tried to configure and I got this error: configure:...
2
votes
0answers
697 views

proper permissions under HTTP root with Apache2 + FastCGI + Suexec [closed]

I currently have a setup which runs Apache2 + FastCGI PHP + Suexec. As an example, I'm using /mnt/data/www/vhosts/inflex.co.uk/htdocs as a DocRoot for one of my virtual hosts. I have a script /mnt/...
0
votes
2answers
48 views

Remove injected code from all php files in directory on Ubuntu [duplicate]

I have a site where some code was injected into a very large number of php files and removing them manually is not feasible due to the number of files. I can search for a variable name from the ...
1
vote
1answer
39 views

Printing to ubuntu client via network, using php that reside in windows 7 webserver [closed]

I plan to change my windows 7 client to ubuntu 14.04 LTS. The client has a local printer (Epson LX-310) that is used to print an invoice in web app environment built using apache with php (the web ...
0
votes
1answer
102 views

Running SSH command from PHP gives sudo: no tty present and no askpass program specified error even though NOPASSWD settings are done

I am using LAMPP to run apache server. From a php file I am executing a python script which executes ssh, scp commands. But I am getting error: sudo: no tty present and no askpass program specified ...
0
votes
1answer
4k views

How to install Owncloud on CentOS 6.5

I wanted to install Owncloud on my VPS running CentOS 6.5. I followed the instructions on the official owncloud website but when I run the command yum install owncloud it says Error: Package: ...
11
votes
6answers
14k views

Is there any command to enable/disable a php extension from command line?

Is there any command to enable/disable a php extension easily from command line? (php.ini)
0
votes
0answers
319 views

How to install laravel on xampp?

I'm using the latest version of manjaro 64 bit and latest version of xampp. I want to install composer and laravel; I tried many solutions on stackoverflow and askubuntu. Every time I see a different ...
0
votes
0answers
13 views

Unable to Authenticate PhPVirtualBox Remote host - Firewall off - Auth Off

I am trying to get the most very basic setup running that I can build upon for controlling a remote Virtualbox installation. The setup : Server A : 192.168.1.10 Oracle VM VirtualBox web service ...
3
votes
2answers
871 views

PHP app crashes: child pid exits with Illegal instruction (4)

I have a CentOS 6 server with Apache and PHP. I run some application and can constantly reproduce this crash. After some sequential action the app dies and the only trace I found is the following ...
0
votes
1answer
43 views

Build a sitemap from local PHP forum pages

I've been reading stackexchange for years now, and always managed to find an answer to the problems I had to deal with. This time however, I'm going to ask a question as I could not find a solution to ...
1
vote
2answers
59 views

Why my web browser always downloads the .php page rather than show it?

I installed a CentOS7 system in VMware Workstation. The host machine's OS is Win7; I compiled and installed apache2 (httpd) and MySQL in CentOS, and they both work well, I mean I can visit the index....
0
votes
1answer
1k views

Installing oci8 php extension

On a CentOS 7 server, I have installed PHP from remi repository. I need to connect to Oracle 9.2 on a remote machine. Installing oci8 via yum install oci8 results OCI8 Version 2.1.0 which is not ...
0
votes
1answer
258 views

Installing older PHP versions on Debian Jessie

I need to conduct some testing on older version of PHP, and I want to use my laptop running Debian Jessie. At the moment, I've got PHP5.6 installed on it, which I tried to delete with apt-get remove ...
1
vote
1answer
23 views

phpVirtualBox - Control Remote Servers - Central Management

Not sure if this is possible, all my google results come up with RDP stuff, or just basic, how to install phpVirtualBox. I was wondering If I can set up a Central phpVirtualBox and connect it to ...
1
vote
2answers
483 views

How to install lampp (php7) on Manjaro?

I Tried following this guide, didn't work and it's the only guide I can find. I have php7-apache, apache, php7, mariadb, php7-mcrypt, all installed, either through pacman or yaourt, all have their ...
1
vote
1answer
2k views

Why don't I see the XAMPP page on Linux Mint?

I am trying to install PHP MySQL on Mint 12. I downloaded and installed XAMPP. According to the tutorial, when I go to localhost in a browser I should see this: Instead, I see: It works! This is ...
2
votes
3answers
4k views

Troubles installing php with MySQL support

So I wasn't sure if this question would go best here or on Overflow or Server Fault, but decided to try here first. I'm installing LAMP on a VPS, and am running into issues configuring and building ...
2
votes
1answer
718 views

How can I monitor the load of a php script on a server?

We've got a website on our dedicated server which seems to be causing problems. Recently it has been crashing our dedicated server - it's very annoying. It will crash at random times. The tech ...
2
votes
1answer
1k views

Getting PHP fatal errors in vTiger while logging from a normal users [closed]

I am getting the error below and notices in Apache logs when I am trying to login with any normal user on vTiger although admin user is working fine and able to see everything as expected. Below are ...
0
votes
1answer
2k views

Install apache,php and mysql on CentOS VPS

I try to install apache,php and mysql server by these commands. yum install httpd yum install php install mysql-server mysql service httpd start service mysqld start to start your mysql server ...
3
votes
1answer
1k views

Running MPlayer through a PHP script

I'm trying to open an MPlayer instance on my server from a PHP script (using PHP's system() function). I've looked into making mplayer a slave ( http://www.mplayerhq.hu/DOCS/tech/slave.txt ) but when ...
0
votes
2answers
1k views

How find and install PHP 5.3.10 or later on CentOS 6.5?

When I check yum list php it only shows 5.3.3 which is older than 5.3.10. How do I get and install the newer PHP? (Using CentOS 6.5)
1
vote
1answer
52 views

Disk I/O and load average peaks once every hour

We have updated our server from Debian Wheezy to Jessie and from php5.6 to php7.0, but now we have a disk I/O and load average peak exactly every hour. The exact time depends on the system start time. ...
1
vote
2answers
9k views

Apache 2 and PHP 5 not working

I have a test.php file in the web server directory with php phpinfo(); content. When I try to execute php test.php at a shell then it executes correctly. But when I try to open the web page in a ...
2
votes
2answers
9k views

What is the best place to put php files above server root directory?

I am running a web application and I want to move a directory containing my php files above the server root directory. Where would be the best place to put them? On my web server I rent from ...
-1
votes
0answers
24 views

unable to insert a row in mysql [migrated]

I am using LAMP server and a PHP script to connect to an existing Mysql server (local server i.e. host=localhost:3036). I have created a table called depositor using $sql2="create table depositor(...
1
vote
2answers
456 views

httpd (apache2) server doesn't parse *.php files but displays them as text with installed php-module on arch-linux

I'm trying to set up my httpd (apache2) server on archlinux. Everything works now except for the parsing of my php files. I followed this article: https://wiki.archlinux.org/index.php/...
2
votes
2answers
3k views

How to set up file permissions/ownership for FTP/Apache/PHP on CentOS

I have basic understanding of chmod and CentOS file permissions. 777 stands for 111111111 and rwx for each root, group, user, etc. What I can't get my head around is setting up Apache, FTP and PHP to ...
0
votes
1answer
2k views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
0
votes
1answer
3k views

mcrypt, EPEL and CentOS 6.4

I am having issues installing php-mcrypt. I am not an administrator of any level. I have performed the following. Installed EPEL Installed REMI Configured EPEL Updated YUM Cleaned YUM Installed ...
0
votes
0answers
63 views

How to set user creation limit on vtiger CRM?

I have installed vtiger latest version. In the admin panel how to set the user creation limit? I need to set maximum users = 10.