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

learn more… | top users | synonyms

1
vote
1answer
49 views

How to setup APACHE, MYSQL SERVER, PHP on Windows 8.1?

Trying to setup a website server at home. Been trying this for weeks, but to no avail. If someone can help I will indeed be grateful, and I will wire over some beers if necessary. So, I have ...
0
votes
0answers
16 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 ...
1
vote
2answers
68 views

charset=iso-8859-2 webpage displays with UTF-8 header - question marks (�) instead of accented letters

I have a webserver administration question. In this website: http://www.mirkaphoto.hu/ All PHP generated pages contain the following line: <meta http-equiv="Content-Type" content="text/html; ...
0
votes
0answers
16 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
30 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
188 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, ...
1
vote
1answer
41 views

How do I upgrade PHP progressively over several websites on a single server?

I have a set of PHP-based websites hosted on a single Linux server that I need to upgrade PHP for. However, as some of the sites are QA / staging and others are production, I need to do this ...
0
votes
0answers
20 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
1answer
118 views

Nginx 500 Internal Server Error [FastCGI sent in stderr: "PHP message: PHP Parse error:]

I am unsure why this is occurring. My wordpress site loads fine. Is it something with my PHP code? <?php $urls = array( "http://www.mb103.com/#" "http://www.mb103.com/#" ...
1
vote
0answers
44 views

FTP Delete folder which can't be selected

[SOLVED BY CONTACTING HOSTER AND THEY DELETED THE FOLDER FOR ME] BUT STILL, IS THERE AN ANSWER TO THIS QUESTION? So, I use FTP, and was recently experimenting with escaping things, and making ...
0
votes
2answers
35 views

How to develop with php and MySQL on a mac

I have recently started using a Mac, moving over from Windows. On Windows I use XAMPP for php and MySQL. What should I use on a mac? I know Macs have built in php and the apache server but I am not ...
0
votes
0answers
18 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
106 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
38 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
56 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
14 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
18 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
45 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
35 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
21 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
97 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
55 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
6 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
40 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
48 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
221 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
32 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
19 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
382 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
15 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 ...
3
votes
0answers
1k 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
16 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
96 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
182 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
39 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
76 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
14 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
95 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
94 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
23 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
15 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
32 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
48 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
28 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
16 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
21 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
2k 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
157 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
97 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
988 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, ...