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

learn more… | top users | synonyms

0
votes
0answers
113 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
97 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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
35 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
67 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
486 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
30 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
52 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
154 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
136 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
34 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
76 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 ...
0
votes
0answers
36 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
181 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
106 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
8 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
70 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' ...
0
votes
0answers
17 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 ...
0
votes
0answers
21 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
161 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
36 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
180 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/'); ...
0
votes
0answers
73 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
47 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 ...
0
votes
0answers
45 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
69 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
11 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
61 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
135 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
185 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
100 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
41 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 ...
0
votes
0answers
58 views

Debian machine not sending mails (PHP)

I have a local vagrant debian machine hosting a Symfony php application which should sends mails with Swiftmailer. When I move this app to a pre-production or production server mails are sent, so the ...
0
votes
0answers
63 views

How can I protect specific web pages from URL sharing? Temporary URLs?

This is a technical question which is based on implementing a special feature on an website. I know HTML and CSS, I know crude JavaScript (very basic) but I have no clue about PHP or other web-based ...
0
votes
0answers
28 views

no internet with some programs, it's not the firewall

the last few days some programs cannot get info from internet, that is:i wrote the programs with livecode and created a simple connectiontest program that post to a php file on a website and tells me ...
0
votes
0answers
141 views

Find missing sequence numbers in table mysql

I have a list like this 1 3 9 10 I want it to be like this 1 2 3 4 5 6 7 8 9 10 all the missing numbers will display I try the following query select l.IDBANK + 1 as start from _bank as l ...
0
votes
0answers
40 views

How to upgrade PHP in SLES 10 sp2?

I need an updated version (at least 5.3) of PHP in my server running SUSE Linux Enterprise Server 10 sp2 (PHP 5.2.5). I've look for instructions but I haven't found. Can you explain me how to do it, ...
0
votes
0answers
56 views

php-fpm -y /etc/php-fpm.conf -R Only works during current run?

So I am trying to solve the FTP Credentials problem in Wordpress from ever occuring again it seems my problem lies in php-fpm. This here is my www.conf for php-fpm: [www] listen = ...
0
votes
0answers
107 views

How to upgrade php-fpm on OSX Yosemite 10.10.04?

Currently I have this on my machine Milans-MacBook-Pro:local vaske$ brew install php56 Warning: homebrew/php/php56-5.6.11_2 already installed Milans-MacBook-Pro:local vaske$ php -v PHP 5.6.11 ...
0
votes
0answers
61 views

EC2 WP No errors in mysqld.log yet Error w/database connection?

System information: Linux - latest from AWS | Apache - 2.4.12 | MySQL - 5.5.42 | PHP - 5.4.42 memory_limit: php 128M | wp 64M Running new m3.medium instance and having the database connection issue ...
0
votes
0answers
306 views

How to make nginx connect php-fpm with 127.0.0.1, not server's public ip?

I found error 'WARNING: [pool www] child 3715 said into stderr: "ERROR: Connection disallowed: IP address 'x.x.x.x' has been dropped." ' in php-fpm's log, where 'x.x.x.x' is my server's public ip. ...
0
votes
0answers
20 views

OSX HID control from PHP

Here's a real challenge: I have created a command that types from the CLI in OS X 10.11. osxtype "hello" will send the actually keyboard keypresses for h, e, l, l and o. it will type into what ever ...
0
votes
0answers
224 views

PHP site with JavaScripts is not working on Raspberry Pi (server) but works on other PC

I have a problem with a site that shows calendar, time, weather and RSS I found on the internet. I made an Apache server on my Raspberry Pi, then copied necessary files to /var/www and at first, the ...
0
votes
0answers
30 views

Unable to send email using PHP

I have postfix installed, but can't get it to send any email. I'm not sure what the problem is, it could be postfix it could be something else. I just can't get php to send mail Here is my setting's ...
0
votes
0answers
273 views

How to use tor with PHP CURL

I want to be anonymous and I want to be able to have my IP changed frequently, so my questions is How can I make the script use Tor proxy as using a php CURL? I'm currently running Windows. I believe ...
0
votes
0answers
12 views

Php mail not recieving

My issue is php mails aren't being received. so I have WHMCS on a server here and I am using WHMCS for service & client management but is only allowed on our company network so it won't be ...
0
votes
0answers
152 views

Can PHP sockets and HTTP requests be logged?

I would like to be able to log outgoing HTTP requests from PHP scripts with the time and PHP script location and line. It occurs to me that since you apparently can open sockets in PHP, you would also ...