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

learn more… | top users | synonyms

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
2answers
52 views

Cron job string settings to fire 4 times a day in between 5-10

* 5-10 * * * will fire the script between the said timings but how will I control the count? BTW the count and the timings can be anything, means it will be dynamic and not static. Just put up a ...
0
votes
0answers
137 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
1answer
25 views

Remove php without breaking Lampp

While trying to run a Symfony app, I'm getting an Exception that states I don't have the PDO drivers installed properly. When running the corresponding actions, I've noticed I've two php packages ...
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
1answer
121 views

Anyway to replace default /usr/bin/php with the homebrew one?

The thing is that when using external tools in PHPStorm and launching command starting with php ... it automatically refers to /usr/bin/php and there's no way I can change it. I would have to run ...
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
182 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
1answer
85 views

How to execute shell script from PHP with non-standard extension?

I've Windows with shell integration installed from Git (as well as Cygwin) and the following PHP code fails to run external shell script which has .launcher extension: <?php passthru("foo.sh"); ...
0
votes
1answer
726 views

ISPConfig showing default apache page

I am trying to install ISPConfig on Debian Jessie. I was following this tut https://www.howtoforge.com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3/3/ I can install ...
0
votes
1answer
54 views

Strange behaviour in installation of PHPUnit

I was trying to install PHPUnit following the step-by-step guide in the Getting Started page. However, when I try phpunit --version in terminal, I receive /usr/local/bin/phpunit: Permission denied. ...
0
votes
1answer
25 views

php-cgi causes permission denied on output file despite appropriate permissions

I am trying to run a php script using the php-cgi. The command is: sudo -Hu apache /usr/bin/php-cgi -f /var/www/html/load.php >> /var/www/html/load.log The output is: -bash: ...
0
votes
1answer
454 views

#126 - Incorrect key file for table '.\mysql\db.MYI'; try to repair it

I posted my question on serverfault but they hold my question by advising to post it in SuperUser I installed Xampp and can see localhost page as well as both apache and mySQL is starting fine but ...
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 ...
4
votes
0answers
3k views

Proxy radar found in apache logs file

I was reading the logs of the apache server and I was shocked by seeing these logs! [Sun Oct 25 06:44:48.922248 2015] [mpm_prefork:notice] [pid 17635] AH00163: Apache/2.4.7 (Ubuntu) ...
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
1answer
576 views

Run two wamp servers installed in different drives simultaneously

There is a Wamp Server 2.4 installed in my C: drive. I want to have a Wamp Server 2.5 in my D: drive. Because of some reason I cannot stop Wamp Server in C:. But at the same time I want to use 2.5 ...
1
vote
0answers
62 views

Lots of odd errors in Apache log on Ubuntu server with Drupal

I´m getting hundreds of these errors in the Apache log in a website with around 4000 visits per hour. I have never seen any evidence of these errors affecting user experience in the website, but i ...
0
votes
1answer
157 views

Restrict access in apache except for one URL when using “master file” and mod_rewrite

I successfully applied basic authentication to my entire website but now I want to make an exception for a specific URL pattern. From what I understand, I can use the directive but so far, it isn't ...
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
1answer
206 views

Understanding the use of gearman with memcached as persistent storage

I have configured Gearman on my Centos environment with both client and workers running on the same machine. It runs fine. I am trying to use gearman with memcached persistent storage. I have ...
0
votes
0answers
183 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/'); ...
-1
votes
1answer
33 views

My PHP form is not accepting data after I added a code to not allow empty data through. What is a better way to code this?

So my form was not accepting empty data and that of course was good, but when I just added a username and email it would accept it without the password. I thought by adding this piece of code ...
0
votes
1answer
23 views

PHP & AUTH_DIGEST variable not present when using DigestAuth

I want to setup Http Digest Authentication on my apache server. So I enabled apache module auth_digest and restarted my apache server. I also added the folowing to my VirtualHost: <Directory ...
0
votes
0answers
75 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 ...
1
vote
0answers
101 views

PHP documentation plugin for Xcode

Does anyone know if there are any plugins that allow Xcode to use code completion and documentation for PHP? I realise there’s a similar Xcode/PHP question on Super User but that was from five years ...
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 ...
1
vote
1answer
25 views

Directing incoming requests based on port number

I am not sure how to describe my issue, but I will try to explain. I have been hosting a personal Minecraft server from my PC. I then changed the DNS on one of my site's sub domains to my IP. It ...
4
votes
1answer
5k views

How can I remove Apache2 that I have installed in Mac OS X?

A while ago I thought that it would be handy to install Apache2 on my MacBook and not go the easy route by just installing MAMP. However now I’ve changed my mind but I can’t simply delete Apache2. ...
0
votes
1answer
219 views

How can I install PHP 5.4 in Debian 7.5 (Wheezy)?

I wonder if you have any way to install PHP 5.4 on Debian 7.5 via apt-get, adding some URL in sources.list. I added the following lines however it asks a lot of dependencies: deb ...
1
vote
1answer
178 views

Submit data to db and load next page PHP and SQL

This is just a test page I am working on. Trying to get my submit button to load the next page "order.php" It just keeps loading the same page. Should I be writing this in PHP or HTML? If you look ...
1
vote
3answers
2k views

How can I install PHP 5.6.14 on Mac OS X 10.11 (El Capitan)?

I recently upgraded from OS X Yosemite to El Capitan, and I needed to re-install PHP. So, I downloaded php (version 5.6.14), ran the ./configure file, and then ran sudo make. However, when doing so, ...
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
1answer
58 views

what will happen when two users submit same form and the php code having more than one queries will be executed on the server?

I want to ask that what will happen when two user will submit the same form and then the php code having more than one queries in more than one for loops and if statements which alter the table data ...
1
vote
0answers
39 views

How to know what application is injecting a script on html

I'm trying to figure out what application is injecting a javascript called http://queryjs.me/services/script.js into my pages on localhost and on my server. It only injects this script when the ...
0
votes
1answer
112 views

PHP 744 | Create or write permission by script security issue? [closed]

Given security permission of 744 in linux for PHP. To enable create and write files by PHP script. Also given create/write permission to folder where files going to be create/write. Does this ...
1
vote
0answers
288 views

redis Error: Server closed the connection

I have 6 nodes in a redis cluster - 3 master and 3 slaves. All the nodes are running just fine except for one master and it's slave. On this troublesome master, when i run the command (on either ...
1
vote
1answer
16 views

Does PHP server-side processing count towards 'mobile data usage'

This might seem like a stupid question, but I am wondering whether PHP processing counts toward 'mobile data usage/data usage' or if it is only the send data, i.e. the output that does (the HTML). ...
0
votes
1answer
80 views

Installing Eclipse for PHP and Selenium

I have used Selenium Standalone server and have written tests in PHP and Node.js; Did not use an IDE (used SublimeText). I have a requirement to start writing tests in Java using Eclipse and ...
0
votes
0answers
70 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' ]); ...
1
vote
0answers
123 views

Medusa returns Segmentation fault or gives up on 1st try

For my thesis, which is about the use of software for computer forensics, I want to use Medusa to attack a server of my own, just to sniff the packets to see the data for port 80 (and therefore prove ...
1
vote
0answers
108 views

Homebrew php opcache issue

I followed a tutorial to get a local dev environment running on my Yosemite machine using Homebrew. All seems ok, except for the fact that php -v shows a problem with opcache. Failed loading ...