PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

0
votes
0answers
46 views

unable to compile php on ubuntu

I'm trying to compile an older version of PHP (5.2) on Ubuntu 13.04 and am having some difficulty. Here's what I tried (from my home directory): sudo apt-get install php-pear wget ...
0
votes
0answers
60 views

Connecting to remote database via phpMyAdmin - Validation error

I've been trying to connect to a remote MySQL database via local phpMyAdmin, as per explanation by this tutorial. However, I'm not authenticating properly with the database due to the IP address ...
0
votes
2answers
1k views

Configuring PHPMyAdmin to connect to remote database

After Googling the possibility of using PHPMyAdmin to connect to remote databases, I found this article, which confirms that this is supported after a simple config edit. In the article, the author ...
0
votes
1answer
180 views

PHP max_input_vars delaying server response time

Hi im using a CentOS vps with 6gigs of dedicated ram im hosting WordPress on that a little while ago i got an error saying that max_input_vars have exceeded so i have edited my php.ini and made it to ...
0
votes
0answers
31 views

Run java in php apache2 in browser [duplicate]

I wrote a simple PHP file which calls a java application. It runs on cli without problems but I can't run it on browser. Output: "Java HotSpot(TM) 64-Bit Server VM warning: ...
0
votes
1answer
2k views

Upgrade to PHP 5.3.23 on Ubuntu 12.04

I want to use Zend Framework 2. I have installed the ZendSkeleton Application. When I try to install Framework, I get the following error: #> php composer.phar install Warning: This development build ...
0
votes
1answer
2k views

how to enable event MPM Apache 2.4 Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu server 14.04 expecting the default apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
1answer
25 views

How to know from which domain I am getting mails from myself?

I am getting mail from myself, I know it is getting sent through php or through any other server side script. But I want to know from which domain I am getting those mails from myself. I am a php ...
0
votes
0answers
57 views

FFMPEG - merge videos on different time intervals

I have 3 videos (video1/video2/video3). I would like to play them on different time intervals: video1 plays from 0-15s (video1 with sound, video2/video3 mute) video2 plays from 15-21s (video2 with ...
0
votes
1answer
363 views

Why none of the rainbow parentheses plugins work with filetype=php?

I've tried a dozen rainbow plugins. They all work, until i open a php file or set filetype=php. Then I get parentheses with the same color in that buffer. what is the reason for this? I tried ...
0
votes
0answers
13 views

PHP issue when upgrading

I installed new PHP version with HomeBrew, but Apache2 does not run that version but the old one. Even though when I do php -v, it returns PHP 5.5.1, when I do in a PHP script <?php phpinfo(); ...
-1
votes
1answer
117 views

404 error on a previously installed Wordpress Site in IIS 8 [closed]

I am hosting a Wordpress site on IIS 8 with php and fastcgi installed. The problem is that i had to reinstall the IIS completely to install the exchange server (because it needs the Default website ...
1
vote
1answer
51 views

why would running apache as a service produce different results when simply starting it from the command line

I have a .php script that produces different results when apache is launched as a service, as compared to when apache is simply started from the command line with httpd.exe. I have checked things ...
0
votes
0answers
114 views

Centos 6 - Lighttpd/ 403 error on PHP files, and issues adding website

So, I do have PHP/MySQL and PHP-FPM installed, but when I try to access PHP files, I get a 403 forbidden error. I have been looking around Google quite a lot, and not finding anything that is solving ...
0
votes
2answers
201 views

Numbers are not displaying properly in excel report

n excel report generation, numbers are displaying 7.70225E+11 but it should display like 770225145579 . Any one please help to solve this issue. My code is, <?php include("connection.php"); ...
0
votes
1answer
274 views

How to fix PHP installation when xml2-config is missing?

I am fairly new to Linux (just getting set up using the Mint 16 distro), and I got everything working correctly with my Apache 2.4.9 with MySQL and PHP5.5, but I am using this for local Web ...
0
votes
0answers
648 views

Windows server 2012 r2 IIS PHP

I have php installed on a windows server 2012 r2 box that is running IIS When running a script with a mail function it will hang and eventually bring this error: C:\Program Files ...
0
votes
0answers
94 views

Is mod_fastcgi-2.4.6 compatible with apache2.4.9 CentOS?

I need to install multiple php handlers in apache2.4.9 one php version as apache handler and other one I need to run as mod_fastcgi but while compiling and installing with apache 2.4.9 I'm getting a ...
0
votes
0answers
203 views

How can I compile and install Apache2.4.9 with multiple PHP versions (5.5, PHP5.4)

I have compiled apache2.4.9 and php 5.5 with php5.4 versions php 5.5 version is installed succssfully as apache handler and I tried php5.4 with cgi and enabled LoadModule cgi_module modules/mod_cgi.so ...
-1
votes
1answer
965 views

Why doesn't Google Chrome show PHP in page source?

Why doesn't Google Chrome show the PHP in the source? For example, here's a page I did (mostly with JQuery). I decided to have a small bit of PHP to fetch the IP address and display it (in a ...
0
votes
1answer
2k views

Failed to open stream: No such file or directory

I have made a backup of all archives from ftp, deleted them all them copied all folders to the same place. Now I got this error: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed ...
0
votes
1answer
362 views

phpMyAdmin No activity within 1440 seconds; please log in again. Issue

I have installed latest phpMyAdmin on Apache+php+mysql on CentOs. But after sometime of inactivity i am getting No activity within 1440 seconds; please log in again. And redirected to the ...
0
votes
0answers
126 views

How to debug Http 406 ERROR?

We have a "web widget" written in VB or Delphi or something that sends a request (by calling a PHP script) to our webserver (apache) to update the database. It's been working for years until yesterday ...
1
vote
1answer
46 views

Is it possible to create subwikis with MediaWiki?

I wan't to create a Wiki for our company which has several product requiring their own Wiki. Is it possible to create subwikis with MediaWiki? If so, how?
-1
votes
2answers
50 views

Converting Perl Regex to PHP [closed]

I have the following Regex in PERL which I need to convert to PHP if($line =~ m/[<]div class="row.* id="(vm_[0-9]{8,9})"[>]/i){ } I currently have the following in PHP to match it, but I'm ...
0
votes
0answers
56 views

How can I use FSContact Form to send email to database as a newsletter signup?

From the FSCF website, it appears to have the capability. As you see here, you can create a newsletter signup like this (basically it is a simple contact form that says "newsletter signup" but it's ...
0
votes
0answers
76 views

How To Read multiple Remote Text File and echo out a certain value

I have 50 readable txt files on my office website. I don't have access on my websites Cpanel. Each text file has the following format: client $user = 'lighthou_joom194'; client $id = 'P2K4k@SZ)2'; ...
2
votes
1answer
109 views

Extract text out of two lines in a file and output them in a table

I am trying to make a PHP script for my school. School's web directory has about 100 text files, one text file for each student. Every text file has a two lines like: stu $id = '12701'; stu $name = ...
0
votes
1answer
19 views

Do cronjobs run in CLI?

I am running PHP 5.5 with ZendOPcache integrated. There are two options for this extension - is cache enabled (which I've set to true), and the second one - is CLI cache enabled, which I've set to ...
0
votes
0answers
24 views

store mysql database details in linux

I have a test server and live server which has all the files the same (a cio) except I want to connect to a test copy of my msql database on the test server. How secure would it be to have a ...
0
votes
0answers
172 views

Raspberry Pi as server - stuck with users and groups

I just installed an apache2 server with php5 and mysql on my RPi (Raspbian Wheezy). I followed this tutorial: tutorial link Everything went well, even the file transfer via FTP (FileZilla). I ...
1
vote
2answers
3k views

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
0
votes
1answer
267 views

Stop execution of a function after a given time in PHP

I have five exec() functions in my script. I want to set it up so that if a function fails to respond in a given time, the function will be killed and the next function will start its execution. ...
0
votes
0answers
33 views

Bizarre lag in HTTP connection

Running on a LAMP stack, CentOS 6, Apache 2.2.3, PHP 5.4.25, MySQL 5.5.31 Have a very complex web application. It's been running pretty smoothly for about 5 years, now. Of a sudden we've run into ...
1
vote
0answers
321 views

php PDO sqlsrv “could not find driver”

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
0
votes
4answers
782 views

Internal server error on user_directory

Today I am trying to install httpd and mysql on my fedora 14 PC. That works fine. After this I try to create a public_html folder on the user directory and allow php to access that folder. For that I ...
0
votes
0answers
232 views

Short URLs not working with MediaWiki on nginx

I've been trying to configure Mediawiki Short URL's with nginx, but I keep getting 404 errors when trying to access the pages of my wiki. I followed this guide but changed location / to location ...
1
vote
2answers
94 views

Executing PHP from crontab

I am utilizing crontab to execute a PHP file as follows: 0 4 * * * /opt/lampstack/php/bin/php /opt/lampstack/apache2/htdocs/tests/test.php I am pretty sure that the file itself is working properly ...
0
votes
1answer
152 views

How can I install a specific version of laravel?

I've been handed over an application that is based off laravel.. however it's made in a previous version of laravel (3).. and the current laravel version is 4.. is there a way to install a specific ...
0
votes
2answers
119 views

Wamp 5.3.21 on windows 7 64 bit

I want to install PHP version 5.3.21 on my windows 7 64 bit machine. I am able to locate the binaries for 32bit version but not the 64 bit versions Does WAMP 32 bit work on a 64 bit machine like ...
0
votes
1answer
985 views

Upgrade my xampp for linux (UBUNTU) using command line

I have xampp version 1.7 but I want to upgrade it in newest version from command line. Is there any command to upgrade xampp for ubuntu using command line?
0
votes
3answers
71 views

Setting up a local webserver using CentOS on VM

im new here, and basically new at setting up a webserver... now im already googling, and searching here in stackexchange on how to setup a webserver, they tend to direct me to a working server.. i ...
1
vote
0answers
590 views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
1
vote
0answers
63 views

Socksify php script

I am trying to socksify php script network connections, however I am unable to do that, script ignores the socksifyer, just connects directly. I tried using tsocks and torsocks. tsocks php ...
0
votes
4answers
223 views

Mirroring a wordpress website with wget

I'm trying to download a wordpress web-site, my blog actually, and to get the php files as well. So far I've tried - wget -rkp -l3 -np -nH --cut-dirs=1 http://www.sharons.org.uk/ wget -r ...
0
votes
2answers
144 views

PHP / Extension API mismatch

I recently upgraded to Apache 2.4.7 (x86) and PHP 5.5.9 (x86 as Apache module) on Windows 7 x64. I downloaded the Apache binary from apachelounge.com and the PHP binary from windows.php.net. Now the ...
0
votes
0answers
26 views

Metronic image tag issue on safari

Metronic theme image tag issue on safari. image tag doesn't show image when it will selected on add or selected time but in edit time it was show image.
0
votes
0answers
123 views

Somehow PHP mail() is not working but webmail is working on VPS

I'm using a vps with zpanelcp installed. Everything was working fine. But somehow all mailing capabilities using PHP mail() is not working. But Roundcube is still able to send mail perfectly. I ...
1
vote
0answers
32 views

Why Windows XP machine is not accessible from Ubuntu machine?

I am using Windows machine and using it as a sever which is properly accessible from my browser through url, but when I try to access windows directory from Ubuntu, I am not getting access to ...
1
vote
1answer
795 views

Owncloud WebDAV authentication possible via web interface but not desktop client

I just set up Owncloud on my shared webspace and got everything working except authentication from desktop clients. If I go to the WebDAV Url via my webbrowser it just presents me an empty form again, ...