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

learn more… | top users | synonyms

0
votes
1answer
777 views

PHP CURL SSL CA cert (path? access rights?)

Curl through php is constantly complaining about Problem with the SSL CA cert (path? access rights?). This all happend after trying to fix another problem with curl ssl with pem cert chain not ...
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
2answers
582 views

Is it possible to add Java support to Netbeans+PHP installed package?

under Ubuntu I have installed Netbeans with PHP and HTML Js support. What's the best way to add also Java support? Should I download from https://netbeans.org/downloads/ the package under Java SE ...
-1
votes
1answer
628 views

How to setup a website server on local lan on Windows 8 - Apache.PHP.MySQL

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

How to confirm which PHP file is running in Apache?

I have a situation that my VPS has run out of CPU because of my website. How to confirm which PHP file is running by Apache? So I can solve this problem. I tried the commands of lsof -p, ps -f, ...
0
votes
1answer
124 views

Wordpress can't upload images due to permissions [closed]

I'm having problems trying to get Media uploads working on my VPS w/ Wordpress. My Apache service is running as user:group apache:apache. My user folder is owned by my user eugene and grouped apache. ...
0
votes
1answer
30 views

Network resource as local developement

I am using Windows 8.1 as host operating system. I have installed Ubuntu on Virtual box as guest and PHP7 installed in it. I want to use PHP7 as local development on Windows. Is it possible to use ...
6
votes
1answer
2k views

Compiling PHP 7 with mssql support

So I'm trying to switch to PHP 7. Unfortunately I'm in need to connect to an MSSQL Server so I'll need the dblib driver for pdo. With PHP5 you could ust the php5-sybase Package. So I tried to do it ...
2
votes
1answer
905 views

`output is not a tty` error

I've tried to write output of the command php -i to the file php -i > info and received the following error: output is not a tty. What does it mean? I'm using git bash on Windows.
0
votes
2answers
2k views

The openssl extension is missing on windows while installing composer

"The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl" i get this msg while installing ...
0
votes
1answer
4k views

How should I disable the enabled xdebug, not able to download Laravel and use with wampserver?

Command prompt shows it while trying to download and install Laravel.
1
vote
1answer
94 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
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 ...
1
vote
2answers
302 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
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
1answer
58 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
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
1answer
272 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
88 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
39 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
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
2answers
57 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
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
1answer
29 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
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
1answer
161 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 /usr/...
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
1answer
103 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
1k 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
69 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: /var/www/html/...
0
votes
2answers
477 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
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 ...
6
votes
0answers
4k 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) PHP/5.5.9-...
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
1answer
877 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
78 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
192 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
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
1answer
246 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 ...