PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

0
votes
0answers
69 views

PHP refusing to work in Debian

Currently, I can't seem to get PHP working on my VPS: Linux Titan 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u3 x86_64 GNU/Linux As far as I can tell, I have all the necessitties: root@Titan:~# dpkg ...
0
votes
0answers
99 views

Windows PHP 7.0.3 x64 (Apache handle) crash after a lot of request with zend_mm_heap corrupted

I'm testing PHP 7 x64 on my Windows 7 workstation with a basic Apache benchmark F:\apache\bin\ab -c 200 -n 2000 localhost/index.php index.php is simple <?php phpinfo(); the benchmark ...
0
votes
0answers
34 views

php end tag in strings breaks vim syntax highlighting

I have the following line a long PHP file: preg_match_all("/<.*?>/", $rows[2],$tmp); and after the ?> in this line the syntax highlighting in vim is gone for the rest of the file. How can I ...
0
votes
0answers
68 views

How to find bottleneck in mysqlcluster and apache/php server?

I have setup a mysql cluster 7.3.x with 2 Datanodes,2 SQL nodes and 1 Management Node in a LXD/LXC centos 6.7 containers and a separate Apache 2.2.x/PHP-5.5 web server. The website currently serves a ...
0
votes
0answers
37 views

Ganglia/Gmetric/Graph.php: how do I prevent the AGGREGATE option from mucking the data up?

I am using the "aggregate" query parameter to Ganglia's graph.php to display stacked graphs. The downside is that it ALSO appears to seriously muddle the data. WITH it, the graph looks "about" okay in ...
0
votes
0answers
662 views

phpmyadmin Fatal error: Uncaught Error: Class 'SqlParser\Lexer' not found

I'm a new XAMPP and phpmyadmin user and I don't know many things about networks etc but I am trying to install XAMPP to use phpmyadmin and learn to use it. The issue is that it was working fine at ...
0
votes
0answers
55 views

Request default in Laravel 5.1 when none given not working

1 and I need to have a default request when none is given so the view looks like: <form name="search" method="POST" action="/s"> Country<input name="country" type="text"> Field<...
0
votes
0answers
23 views

Why does GNOME have to be removed for PHP 7 on Debian 8 (Jessie)?

Just upgraded my VirtualBox VM's OS from Debian 7 (Wheezy) to Debian 8 (Jessie) and want to PHP from 5.5.x to 7.0.2. The simpliest solution seems to do this via the Synaptic Package Manager. So I ...
0
votes
0answers
25 views

How can I set xdebug.max_nesting_level to inlimited

I have sold a VPS server. I want to set xdebug.max_nesting_level to inlimited. I contact the support and they told me they can't find it. I can set it to inlimited in my local server. Please help.
0
votes
0answers
35 views

How can I minimize memory usage in WHM in order for PHP FileInfo to compile?

I have a VPS running CentOS 6.7 with WHM 11.52.2. I'm trying to run EasyApache 3 to add FileInfo for PHP 5.6.16 but I keep running out of memory (it uses about 440MB out of 1024MB when idle). What ...
0
votes
0answers
45 views

trying to connect ami with another ami postgresql

i have php 5.6.14, apache2, moodle 3.0 (server 1) | postgreSql 9.3 (server 2) but I have already set this error moodle. Error: database driver problem detected The site administrator ...
0
votes
0answers
24 views

How to configure Nginx to support PHP on Mac OS X

I am building a web site using Angular JS, hosted on my local system using nginx. I want to add a contact form to my web site, but I don't know how to configure my nginx.conf file to support php. My ...
0
votes
0answers
81 views

php-fpm downgrading php version

Current Software Version:- OS : CentOS 7 PHP : 5.6.14 After installation of php-fpm on nginx 1.8, it downgrades php to 5.4. Even though new and latest version(5.6.14) is already installed. I don't ...
0
votes
0answers
17 views

WHM: Grant different PHP version for each user

I have a VPS with WHM installed. It is running Centos 6. I want to upgrade only one account's PHP version. How can I do this? I'd prefer if I only used the WHM GUI but if I have to mess with config ...
0
votes
0answers
636 views

Notice: Use of undefined constant CURLOPT_CAINFO

I try to use TwitterOAuth which requires cURL. First of all, I think it is important to point that I use Win 8 64 bits with WampServer 3.0 and PHP 5.6.15 When I run the scripts (given by TwitterOAuth) ...
0
votes
0answers
137 views

Zpanel error File does not exist: /etc/zpanel/panel/cgi-bin

I have a loaded a PHP (5.3.3) website on zpanel 10.0 with the below Vhost configuration: DOMAIN: mydomain.com ServerName mydomain.com ServerAlias mydomain.com www.mydomain.com ServerAdmin ...
0
votes
0answers
124 views

Apache 2.4 tuning - idle workers during load

I have setup: CentOS 7, Apache 2.4 + mod_disk_cache, PHP 5.4 + opcache (haven't yet added memcached for sessions). Apache is running in event MPM, and PHP is accessed through mod_proxy_fcgi to PHP-FPM....
0
votes
0answers
37 views

How do I create a custom action in CakePHP3 with CRUD?

I'm trying to create a custom action in CRUD called createOrUpdate, that will check whether the object exists or not before deciding whether to add or edit the object (using the existing CRUD actions)....
0
votes
0answers
60 views

codification makes video longer and consequently doesn't sync with video

I have an audio and video input that I have to transcode into libx264 and libfdk_aac. To do that, I've prepared this ffmpeg sentence: ffmpeg -i temp/filename.wav -i temp/filename.webm -vf "scale=...
0
votes
0answers
39 views

PHP error logging in Plesk 12

Where can I set the error_log filepath for PHP under Plesk 12.5? Plesk displays a default php.ini right within Plesk, but I'd like to set the pathname of the error log file for a specific domain ...
0
votes
0answers
23 views

LAMP server with remote MySQL on CentOS 6.4

I am pretty new to linux and LAMP setup. I want to setup a LAMP environment with AP on one linux server and M on a different linux server. I have a hard time finding a relevant document with such a ...
0
votes
0answers
81 views

PHP connect to mongodb

I have installed MongoDB on Server A on internet. I installed PHP/Mysql with Mongo PHP Driver on Server B on internet. When I want to run my code in local it works successfully but as soon as I ...
0
votes
0answers
566 views

Running NginX and PHP (CGI) on Windows 10 - No input file specified

I want to setup a web dev environment on my Windows 10 PC. On my 2nd hard drive (D:\WebDev) I have the following: This is how my NginX is configured: http://pastebin.com/raw.php?i=JFSX6hfU So, ...
0
votes
0answers
33 views

Self extracting Zip file using php

I want to create a Zip file using PHP and once after double click on that zip folder it needs to extract and execute the .exe file in it . how i can do this please suggest me.
0
votes
0answers
53 views

I need to WakeOnLAN my NAS and then do somekind of Proxy

I have the following Problem: I have a synology NAS in my Home-Network and a Raspberry PI. What I want to do is to access my NAS from outlisde of my LAN but it needs to be woken before it can be ...
0
votes
0answers
156 views

PHP page that shows connection status by pinging

I want to create static php page that shows: Tables (cells) with names of our company branches. Each table (cell) should ping our branches, if there is no ping, it becomes red. I'll make this page ...
0
votes
0answers
193 views

CSS is not updated in magento

My site is working well.But suddenly my css can not be updated by me. I have cleared cache from backend like flush css and all.I have cleared cache from var/cache folder. Still all the css can not be ...
0
votes
0answers
44 views

codeigniter form validation error message shows while logout

In codeigniter, when I log out,It logs out perfectly and shows the form to login. But it directly shows the form validation error messages while logout-like "The name field is required" ,"The ...
0
votes
0answers
87 views

localhost apache server always returns default index.html

I have this Apache2.2 running on 8080 port and as I know, file directory where it used to run all file containing php and html code will be in C:\Program Files\Apache Software Foundation\Apache2.2\...
0
votes
0answers
41 views

Making a simple web app to boolean search a text file?

I have a text file which contains around 10K lines of text. Pretty much basic sentences. I want to find a very simple way to have a web app that can to perform a simple boolean search (just the ...
0
votes
0answers
198 views

Synchronizing local DB to web-based DB mysql/php

Here's the situation: I'm writing an app for people to use laptops to perform interviews/questionnaires in rural areas without internet access. If a laptop is online, we use the remote hosted ...
0
votes
0answers
126 views

Suexec failure with Apache and PHP-FPM configuration

I'm using Apache2.2 and FastCgi to run PHP code (with php-fpm). My FCGI config is the following and works fine: User apache Group apache LoadModule fastcgi_module modules/mod_fastcgi.so ...
0
votes
0answers
10 views

Is it possible to mirror services between servers with Docker in a load balanced environment?

I have a load balancer on top of 3 servers. These servers have to have the same code base and services that are needed to run the PHP application. How to achieve this? I thought Docker is the way to ...
0
votes
0answers
81 views

How to interact with submit input type with no name in php using curl

<select name="_limit"> <option value='50' >50</option> <option value='200' >200</option> <option value='300' >300</option> <option value='500' >500&...
0
votes
0answers
20 views

Issues related installing Apache server, PHP, LDAPAdmin

I'm getting an error to open Web Server. HTTP uses 80/TCP. This error is repeatedly showing me from browser: Server not found Firefox can't find the server at www.parkst.local: Check the address ...
0
votes
0answers
24 views

Installing C4G blis into an online server running on Ubuntu

Hi I have downloaded this application called c4g bliss from http://blis.cc.gatech.edu/download.php However it only works as an executable local application. the way it does this is by running ...
0
votes
0answers
179 views

How to uninstall a manual configuration of PHP 5.2.17 on CentOS 6.7 (Final)

Centos 6.7 (Final) comes with PHP 5.3.3, but the site running on the server needed PHP 5.2.17. Because it is not supported much anymore I manually configured PHP 5.2.17 using this guide: PHP ...
0
votes
0answers
43 views

Running httrack from php with shell_exec

I want to create a local webserver that could download a webpage the user wants by inputting the address to a html form and submitting it to a shell_exec php command, this is what i tried : ...
0
votes
0answers
211 views

Make a curl POST request from scraped data

I scraped a website using the simple DOM php parser : <?php include 'domparse.php'; $html = file_get_html('http://oceanofgames.com/rebel-galaxy-free-download/'); foreach($html->find('form[...
0
votes
0answers
103 views

Coda 2 PHP plugin for cross-file auto completion

I’m currently using Coda PHP & Web toolkit version 4.2(beta) for PHP autocomplete. But it only seems to autocomplete if the function/var/definition etc is defined in the same file. Is there a ...
0
votes
0answers
57 views

How to tell which version of mod_php5 did apache2 load?

I installed an Ubuntu 12.04 server with ISPConfig. Since it ships with rather old PHP5.3 I installed 5.5 in /opt following this guide. Everything works except for PHPMyAdmin, installed via Ubuntu ...
0
votes
0answers
26 views

Invalid response to 'wp.getCategories' from XmlRpc server

I use Windows live write to post blogs for wordpress. It works fine to publish a blog or update tags. However, I encounter the following error while updating categories. The response to the wp....
0
votes
0answers
49 views

What is the purpose of XAML files in a PHP site?

A client's website is primarily .php based, but I noticed the site contains .xaml files. What is the purpose of a .xaml files in a .php based site structure? Do they have a purpose or would it be ...
0
votes
0answers
84 views

CakePHP - Connection reset when trying to save long data or post with much special chars

i have a problem with my new cakephp application, the browser show me this error: "the connection was reset" with no technical informations ! note: a part of data (the post) saved but not all data ! ...
0
votes
0answers
12 views

netbeans IDE wont prompt php code

When I have for example function in php. class smth{ function lol(){ $temp=3; $te<carrier here> } } netbeans when i prompt for hints wont give me anything about $temp. Any idea why it cant ...
0
votes
0answers
86 views

Amazon S3 upload error: An exception occurred while uploading parts to a multipart upload

I am trying to upload a 30 GB file to Amazon S3 using the AWS PHP SDK. require('../vendor/autoload.php'); $client = new Aws\S3\S3Client([ 'version' => 'latest', 'region' => 'us-east-1' ]); $...
0
votes
0answers
146 views

Set ticket to open when an email is received in osTicket

We are using osTicket for our support desk, but we would like to have it change the status of a ticket to open if we receive an email for that ticket from the customer. I've not seen any options in ...
0
votes
0answers
206 views

HTTP/1.1 401 Unauthorized when using XML-RPC PHP client and server

HTTP/1.1 401 Unauthorized This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser ...
0
votes
0answers
124 views

getting permission denied when uploading gfiles using php on ec2

I am trying to upload files using PHP on a Amazon t1.small instance but getting the following error: [ Tue Aug 25 22:04:25.163568 2015] [:error] [pid 6467] [client 120.56.186.247:2440] PHP Warning: ...
0
votes
0answers
42 views

How can I setup multiple php version in Linux?

I am working on a project and I just want to ask on how can I setup multiple PHP version in Linux. The scenario looks something like this since the server already has a PHP but with a version of 5.2 ...