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

-3
votes
1answer
25 views

Show display error for specific ip address in wamp server [on hold]

I'm working at gaint project which is share between 3 developers, the project is place at developer's 1 computer I'm developer 2 when I ask to dev 1 open(on) the error reporting function he open it ...
0
votes
1answer
15 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
0answers
8 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 ...
-4
votes
0answers
15 views

is it possible to create a php program to get the txt data from a webpage and save it into my own csv file? [on hold]

< ?php $file1 = fopen("myCompanyURL", "r"); $file2 = fopen("LPCVD.csv","w"); fputcsv($file2, $file1 ); fclose($file2); fclose($file1); ?> HiHi, i got a project to ...
0
votes
1answer
17 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
25 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
0answers
23 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 ...
-2
votes
0answers
16 views

Can't open hostname/phpmyadmin

Issue:When I try to browse to my server's hostname/phpmyadmin I get a local ISP error that "This URL was invalid." I can connect to my server's static IP and get the Apache web splash page to verify ...
0
votes
0answers
11 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
13 views

404 error on a previously installed Wordpress Site in IIS 8

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
30 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
8 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
0answers
11 views

Prevent email spam from vhosts [migrated]

We have a server with several vhosts (with php) running. Recently one vhost was overtaken from a "hacker" which manipulated the php scripts to send email spam. Because the other email servers blocked ...
0
votes
2answers
21 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
0answers
24 views

How to install PHP5.3 instead of PHP5.5 in Linux

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
28 views

php shell_exec not working in centos

i would like to convert .docx file to .html using php shell_exec my php code: $command = "libreoffice --headless -convert-to html resume.docx 2>&1"; $result = shell_exec($command); echo ...
0
votes
0answers
21 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
14 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
24 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
55 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
23 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
0answers
13 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
4 views

Date input in PHP is not saving the DATE selected in SQL Server 2008 R2 using CodeIgniter [migrated]

Greeting folks! Why does the date I selected is not saving in my SQL Server 2008 R2? However, the date saved in my DB is 1970-01-01. Can somebody tell me why or what's the problem? or is it on my ...
-1
votes
0answers
20 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 ...
0
votes
1answer
13 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
34 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
25 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
8 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
22 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
17 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
14 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
57 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
95 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
29 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
16 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
75 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
74 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
23 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
34 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
14 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
33 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
27 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
26 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 ...
0
votes
0answers
29 views

Updating old stock ticker symbols

I did a study in 2003 that produced a list of about 300 publicly-traded US stocks. Ticker symbols can change (ticker symbols can even take over an older company's previous ticker). My situation boils ...
0
votes
0answers
15 views

Has Wordpress any performarce advantage over Joomla on Google App Engine?

I wonder what are the benefits of having Wordpress over Joomla on Google's PaaS. Since Wordpress is officially supported there should be some benefits, right? I have googled for a while and haven't ...
1
vote
0answers
70 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 ...
0
votes
0answers
14 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
3answers
51 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
50 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
8 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.